Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Officiel][Sujet Principal] Ikea Light

Pour échanger sur les plugins classés en catégorie "Objets connectés"
EIen
Timide
Messages : 30
Inscription : 10 mai 2019, 17:00

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par EIen » 18 août 2019, 21:06

J'ai aussi plusieurs plugins en Beta. Du coup comment tu as fais pour récupérer les groupes ? Je me dis qu'en attendant on peut se débrouiller avec le plugin script :)

Edit : Note à moi-même, lit la doc sur le github boulet :D

EIen
Timide
Messages : 30
Inscription : 10 mai 2019, 17:00

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par EIen » 18 août 2019, 22:15

Tester avec le plugin script et ça fonctionne nickel. A voir maintenant un virtuel pour pouvoir modifier l'intensité en ajoutant une variable dans la commande script.

Par contre le get ne permet pas d'avoir un retour d'état. Exemple mon salon est allumé pourtant c'est stipulé OFF (5851 à 0) :

pi@raspberrypi:~ $ coap-client -m get -u "************" -k "***********" "coaps://192.168.1.16:5684/15004/131097"
v:1 t:CON c:GET i:a1cb {} [ ]
{"9001":"Salon","9002":1556688087,"9003":131097,"5850":0,"5851":0,"9039":196681,"9108":0,"9018":{"15002":{"9003":[65593,65594,65595,65596,65598]}}}

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Nebz » 18 août 2019, 22:37

Ça ne serait pas un AND de toutes les lampes du groupe pour l'état ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

EIen
Timide
Messages : 30
Inscription : 10 mai 2019, 17:00

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par EIen » 19 août 2019, 20:38

Possible. Sachant que j'ai 4 ampoules dans le salon mais il m'en trouve 5. Idem dans la SDB ou j'ai 3 ampoules mais il me trouve 4 références.

Je me dis que dans le groupe il inclut peut être l'interrupteur en fait !

En tout cas en passant par les scripts et les commandes coap plus aucun soucis d'ampoule qui ne s'allume ou ne s'éteint pas. Et aussi agréable le matin le fading de 0 à 254 en 30 secondes. Quand on se lève à 5h du mat' ça fait moins Bambi dans les phares

corleone187
Timide
Messages : 17
Inscription : 29 août 2019, 23:06

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par corleone187 » 30 août 2019, 19:26

bonjour, je reviens vers vous car j'ai un gros soucis avec le plugin Ikea light officiel.

je n'ai jamais réussi à avoir accès à la page du plugin, j'ai toujours une page blanche.
et dans le log ikealight j'ai le message "coap-client : no process found"
J'ai essayé toute solution que j'ai pu trouver sur ce topic mais rien n'y fait. Toujours coap-client no process found.
si quelqu'un peux m'aider ça serai sympas :)

j'ai déjà :
supprimer le plugin 5-6 fois
lancer la commande coap-client dans le terminal mais aucun message d'erreur d'afficher juste la phrase "complété"

je vous confirme que le demon et les dépendances sont OK

merci d'avance
log ikealight :

Code : Tout sélectionner

[2019-08-30 18:27:11][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=ikealight function=remove callInstallFunction=1
[2019-08-30 18:28:24][INFO] : Début d'activation du plugin
[2019-08-30 18:28:25][INFO] : Info sur le démon : Array (     [launchable_message] =>      [launchable] => nok     [state] => nok     [log] => nok     [auto] => 0 ) 
[2019-08-30 18:28:25][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=ikealight function=install callInstallFunction=1
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
[2019-08-30 18:35:39][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php --apikey VDBg5Xsfwi4BUTEXQy3ZODPSiQYa4nTU --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.6 --gatewaycode IUdmuqybWAbN6NIU
[2019-08-30 18:35:40][INFO] : Start ikeatradfrid
[2019-08-30 18:35:40][INFO] : Log level : debug
[2019-08-30 18:35:40][INFO] : Socket port : 55025
[2019-08-30 18:35:40][INFO] : Socket host : 127.0.0.1
[2019-08-30 18:35:40][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-08-30 18:35:40][INFO] : Apikey : VDBg5Xsfwi4BUTEXQy3ZODPSiQYa4nTU
[2019-08-30 18:35:40][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/core/php/jeeIkealight.php
[2019-08-30 18:35:40][INFO] : Cycle : 0.1
[2019-08-30 18:35:40][INFO] : Gateway Ip : 192.168.1.6
[2019-08-30 18:35:40][INFO] : Gateway Code : IUdmuqybWAbN6NIU
[2019-08-30 18:35:40][DEBUG] : Writing PID 24414 to /tmp/jeedom/ikealight/deamon.pid
[2019-08-30 18:35:40][DEBUG] : Init request module v2.21.0
[2019-08-30 18:35:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-08-30 18:35:40][DEBUG] : Format Invalide
[2019-08-30 18:35:40][DEBUG] : http://127.0.0.1:80 "GET /plugins/ikealight/core/php/jeeIkealight.php?apikey=VDBg5Xsfwi4BUTEXQy3ZODPSiQYa4nTU HTTP/1.1" 200 0
[2019-08-30 18:35:40][DEBUG] : Socket interface started
[2019-08-30 18:35:40][DEBUG] : LoopNetServer Thread started
[2019-08-30 18:35:40][DEBUG] : Listening on: [127.0.0.1:55025]
[2019-08-30 18:35:40][INFO] : Start listening...
[2019-08-30 18:35:40][DEBUG] : Read Socket Thread Launched
[2019-08-30 18:35:40][DEBUG] : Thread_follower Thread Launched
[2019-08-30 18:35:40][DEBUG] : Thread_killer Thread Launched
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
coap-client: no process found
Log ikealight_dep

Code : Tout sélectionner

[01m[K./include/coap/uthash.h:170:9:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_ADD_KEYPTR[m[K'
         [01;36m[KHASH_ADD_KEYPTR[m[K(hh,head,&((add)->fieldname),keylen_in,add)
         [01;36m[K^~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/resource.h:371:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_ADD[m[K'
   [01;36m[KHASH_ADD[m[K(hh, (r), key, sizeof(coap_key_t), (obj))
   [01;36m[K^~~~~~~~[m[K
[01m[Ksrc/resource.c:400:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_ADD[m[K'
   [01;36m[KRESOURCES_ADD[m[K(context->resources, resource);
   [01;36m[K^~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:461:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 2:  [01;35m[K_hj_i += ( (unsigned)_hj_key[1] << 8 )[m[K;                            \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:199:2:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
  [01;36m[KHASH_FCN[m[K(keyptr,keylen_in, (head)->hh.tbl->num_buckets,                         \
  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:170:9:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_ADD_KEYPTR[m[K'
         [01;36m[KHASH_ADD_KEYPTR[m[K(hh,head,&((add)->fieldname),keylen_in,add)
         [01;36m[K^~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/resource.h:371:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_ADD[m[K'
   [01;36m[KHASH_ADD[m[K(hh, (r), key, sizeof(coap_key_t), (obj))
   [01;36m[K^~~~~~~~[m[K
[01m[Ksrc/resource.c:400:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_ADD[m[K'
   [01;36m[KRESOURCES_ADD[m[K(context->resources, resource);
   [01;36m[K^~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:462:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 1:  _hj_i += _hj_key[0];                                               \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:199:2:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
  [01;36m[KHASH_FCN[m[K(keyptr,keylen_in, (head)->hh.tbl->num_buckets,                         \
  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:170:9:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_ADD_KEYPTR[m[K'
         [01;36m[KHASH_ADD_KEYPTR[m[K(hh,head,&((add)->fieldname),keylen_in,add)
         [01;36m[K^~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/resource.h:371:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_ADD[m[K'
   [01;36m[KHASH_ADD[m[K(hh, (r), key, sizeof(coap_key_t), (obj))
   [01;36m[K^~~~~~~~[m[K
[01m[Ksrc/resource.c:400:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_ADD[m[K'
   [01;36m[KRESOURCES_ADD[m[K(context->resources, resource);
   [01;36m[K^~~~~~~~~~~~~[m[K
[01m[Ksrc/resource.c:[m[K In function '[01m[Kcoap_get_resource_from_key[m[K':
[01m[K./include/coap/uthash.h:452:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 11: hashv [01;35m[K+[m[K= ( (unsigned)_hj_key[10] << 24 );                          \
                     [01;35m[K^[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:453:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 10: hashv += ( (unsigned)_hj_key[9] << 16 );                           \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:453:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 10: hashv [01;35m[K+[m[K= ( (unsigned)_hj_key[9] << 16 );                           \
                     [01;35m[K^[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:454:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 9:  hashv += ( (unsigned)_hj_key[8] << 8 );                            \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:454:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 9:  hashv [01;35m[K+[m[K= ( (unsigned)_hj_key[8] << 8 );                            \
                     [01;35m[K^[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:455:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 8:  _hj_j += ( (unsigned)_hj_key[7] << 24 );                           \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:455:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 8:  [01;35m[K_hj_j += ( (unsigned)_hj_key[7] << 24 )[m[K;                           \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:456:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 7:  _hj_j += ( (unsigned)_hj_key[6] << 16 );                           \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:456:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 7:  [01;35m[K_hj_j += ( (unsigned)_hj_key[6] << 16 )[m[K;                           \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:457:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 6:  _hj_j += ( (unsigned)_hj_key[5] << 8 );                            \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:457:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 6:  [01;35m[K_hj_j += ( (unsigned)_hj_key[5] << 8 )[m[K;                            \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:458:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 5:  _hj_j += _hj_key[4];                                               \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:458:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 5:  [01;35m[K_hj_j += _hj_key[4][m[K;                                               \
               [01;35m[K~~~~~~^~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:459:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 4:  _hj_i += ( (unsigned)_hj_key[3] << 24 );                           \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:459:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 4:  [01;35m[K_hj_i += ( (unsigned)_hj_key[3] << 24 )[m[K;                           \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:460:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 3:  _hj_i += ( (unsigned)_hj_key[2] << 16 );                           \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:460:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 3:  [01;35m[K_hj_i += ( (unsigned)_hj_key[2] << 16 )[m[K;                           \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:461:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 2:  _hj_i += ( (unsigned)_hj_key[1] << 8 );                            \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:461:21:[m[K [01;35m[Kwarning: [m[Kthis statement may fall through [[01;35m[K-Wimplicit-fallthrough=[m[K]
      case 2:  [01;35m[K_hj_i += ( (unsigned)_hj_key[1] << 8 )[m[K;                            \
               [01;35m[K~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
[01m[K./include/coap/uthash.h:462:6:[m[K [01;36m[Knote: [m[Khere
      [01;36m[Kcase[m[K 1:  _hj_i += _hj_key[0];                                               \
      [01;36m[K^~~~[m[K
[01m[K./include/coap/uthash.h:360:18:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_JEN[m[K'
 #define HASH_FCN [01;36m[KHASH_JEN[m[K
                  [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/uthash.h:108:6:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FCN[m[K'
      [01;36m[KHASH_FCN[m[K(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt);   \
      [01;36m[K^~~~~~~~[m[K
[01m[K./include/coap/resource.h:381:5:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KHASH_FIND[m[K'
     [01;36m[KHASH_FIND[m[K(hh, (r), (k), sizeof(coap_key_t), (res)); \
     [01;36m[K^~~~~~~~~[m[K
[01m[Ksrc/resource.c:472:3:[m[K [01;36m[Knote: [m[Kin expansion of macro '[01m[KRESOURCES_FIND[m[K'
   [01;36m[KRESOURCES_FIND[m[K(context->resources, key, result);
   [01;36m[K^~~~~~~~~~~~~~[m[K
mv -f src/.deps/libcoap_1_la-resource.Tpo src/.deps/libcoap_1_la-resource.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-str.lo -MD -MP -MF src/.deps/libcoap_1_la-str.Tpo -c -o src/libcoap_1_la-str.lo `test -f 'src/str.c' || echo './'`src/str.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-str.lo -MD -MP -MF src/.deps/libcoap_1_la-str.Tpo -c src/str.c -fPIE -o src/libcoap_1_la-str.o
mv -f src/.deps/libcoap_1_la-str.Tpo src/.deps/libcoap_1_la-str.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-subscribe.lo -MD -MP -MF src/.deps/libcoap_1_la-subscribe.Tpo -c -o src/libcoap_1_la-subscribe.lo `test -f 'src/subscribe.c' || echo './'`src/subscribe.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-subscribe.lo -MD -MP -MF src/.deps/libcoap_1_la-subscribe.Tpo -c src/subscribe.c -fPIE -o src/libcoap_1_la-subscribe.o
mv -f src/.deps/libcoap_1_la-subscribe.Tpo src/.deps/libcoap_1_la-subscribe.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-uri.lo -MD -MP -MF src/.deps/libcoap_1_la-uri.Tpo -c -o src/libcoap_1_la-uri.lo `test -f 'src/uri.c' || echo './'`src/uri.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/libcoap_1_la-uri.lo -MD -MP -MF src/.deps/libcoap_1_la-uri.Tpo -c src/uri.c -fPIE -o src/libcoap_1_la-uri.o
mv -f src/.deps/libcoap_1_la-uri.Tpo src/.deps/libcoap_1_la-uri.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-coap_io.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo -c -o src/platform/posix/libcoap_1_la-coap_io.lo `test -f 'src/platform/posix/coap_io.c' || echo './'`src/platform/posix/coap_io.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-coap_io.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo -c src/platform/posix/coap_io.c -fPIE -o src/platform/posix/libcoap_1_la-coap_io.o
mv -f src/platform/posix/.deps/libcoap_1_la-coap_io.Tpo src/platform/posix/.deps/libcoap_1_la-coap_io.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-prng.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-prng.Tpo -c -o src/platform/posix/libcoap_1_la-prng.lo `test -f 'src/platform/posix/prng.c' || echo './'`src/platform/posix/prng.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-prng.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-prng.Tpo -c src/platform/posix/prng.c -fPIE -o src/platform/posix/libcoap_1_la-prng.o
[01m[Ksrc/platform/posix/prng.c:16:1:[m[K [01;35m[Kwarning: [m[Kno previous prototype for '[01m[Kcoap_prng[m[K' [[01;35m[K-Wmissing-prototypes[m[K]
 [01;35m[Kcoap_prng[m[K(unsigned char *buf, size_t len) {
 [01;35m[K^~~~~~~~~[m[K
[01m[Ksrc/platform/posix/prng.c:23:1:[m[K [01;35m[Kwarning: [m[Kno previous prototype for '[01m[Kcoap_prng_init[m[K' [[01;35m[K-Wmissing-prototypes[m[K]
 [01;35m[Kcoap_prng_init[m[K(void *value) {
 [01;35m[K^~~~~~~~~~~~~~[m[K
mv -f src/platform/posix/.deps/libcoap_1_la-prng.Tpo src/platform/posix/.deps/libcoap_1_la-prng.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I ./ext/tinydtls -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-run.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-run.Tpo -c -o src/platform/posix/libcoap_1_la-run.lo `test -f 'src/platform/posix/run.c' || echo './'`src/platform/posix/run.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./ext/tinydtls -fPIC -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT src/platform/posix/libcoap_1_la-run.lo -MD -MP -MF src/platform/posix/.deps/libcoap_1_la-run.Tpo -c src/platform/posix/run.c -fPIE -o src/platform/posix/libcoap_1_la-run.o
mv -f src/platform/posix/.deps/libcoap_1_la-run.Tpo src/platform/posix/.deps/libcoap_1_la-run.Plo
/bin/bash ./libtool  --tag=CC   --mode=link gcc -fPIC -fPIE -I ./include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -version-info 0:0:0 -Wl,--version-script=./libcoap-1.map -pie -L./ext/tinydtls -ltinydtls -o libcoap-1.la -rpath /usr/local/lib src/libcoap_1_la-address.lo src/libcoap_1_la-async.lo src/libcoap_1_la-block.lo src/libcoap_1_la-coap_dtls.lo src/libcoap_1_la-coap_event.lo src/libcoap_1_la-coap_keystore.lo src/libcoap_1_la-coap_time.lo src/libcoap_1_la-debug.lo src/libcoap_1_la-encode.lo src/libcoap_1_la-hashkey.lo src/libcoap_1_la-mem.lo src/libcoap_1_la-net.lo src/libcoap_1_la-option.lo src/libcoap_1_la-pdu.lo src/libcoap_1_la-resource.lo src/libcoap_1_la-str.lo src/libcoap_1_la-subscribe.lo src/libcoap_1_la-uri.lo src/platform/posix/libcoap_1_la-coap_io.lo src/platform/posix/libcoap_1_la-prng.lo src/platform/posix/libcoap_1_la-run.lo  
libtool: link: ar cru .libs/libcoap-1.a  src/libcoap_1_la-address.o src/libcoap_1_la-async.o src/libcoap_1_la-block.o src/libcoap_1_la-coap_dtls.o src/libcoap_1_la-coap_event.o src/libcoap_1_la-coap_keystore.o src/libcoap_1_la-coap_time.o src/libcoap_1_la-debug.o src/libcoap_1_la-encode.o src/libcoap_1_la-hashkey.o src/libcoap_1_la-mem.o src/libcoap_1_la-net.o src/libcoap_1_la-option.o src/libcoap_1_la-pdu.o src/libcoap_1_la-resource.o src/libcoap_1_la-str.o src/libcoap_1_la-subscribe.o src/libcoap_1_la-uri.o src/platform/posix/libcoap_1_la-coap_io.o src/platform/posix/libcoap_1_la-prng.o src/platform/posix/libcoap_1_la-run.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libcoap-1.a
libtool: link: ( cd ".libs" && rm -f "libcoap-1.la" && ln -s "../libcoap-1.la" "libcoap-1.la" )
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap'
Making all in tests
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/tests'
Making all in examples
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/examples'
gcc -DHAVE_CONFIG_H -I. -I..   -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
mv -f .deps/client.Tpo .deps/client.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT coap_list.o -MD -MP -MF .deps/coap_list.Tpo -c -o coap_list.o coap_list.c
mv -f .deps/coap_list.Tpo .deps/coap_list.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX  -L../ext/tinydtls -ltinydtls -o coap-client client.o coap_list.o ../.libs/libcoap-1.la 
libtool: link: gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -o coap-client client.o coap_list.o  -L../ext/tinydtls ../.libs/libcoap-1.a -L./ext/tinydtls -ltinydtls
gcc -DHAVE_CONFIG_H -I. -I..   -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT coap-server.o -MD -MP -MF .deps/coap-server.Tpo -c -o coap-server.o coap-server.c
mv -f .deps/coap-server.Tpo .deps/coap-server.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX  -L../ext/tinydtls -ltinydtls -o coap-server coap-server.o ../.libs/libcoap-1.la 
libtool: link: gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -o coap-server coap-server.o  -L../ext/tinydtls ../.libs/libcoap-1.a -L./ext/tinydtls -ltinydtls
gcc -DHAVE_CONFIG_H -I. -I..   -I ../ext/tinydtls -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -MT coap-rd.o -MD -MP -MF .deps/coap-rd.Tpo -c -o coap-rd.o coap-rd.c
mv -f .deps/coap-rd.Tpo .deps/coap-rd.Po
/bin/bash ../libtool  --tag=CC   --mode=link gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result  -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX  -L../ext/tinydtls -ltinydtls -o coap-rd coap-rd.o ../.libs/libcoap-1.la 
libtool: link: gcc -isystem../include/coap/ -pedantic -Wall -Wextra -Wformat-security -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wunused -Wunused-result -Wlogical-op -std=c99 -D COAP_DEBUG_FD=stderr -fdiagnostics-color -D_GNU_SOURCE -DWITH_POSIX -o coap-rd coap-rd.o  -L../ext/tinydtls ../.libs/libcoap-1.a -L./ext/tinydtls -ltinydtls
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/examples'
make[1]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap'
Making install in ext/tinydtls
make[1]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls'
make -C aes rijndael.o
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/aes'
make[2]: 'rijndael.o' is up to date.
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/aes'
make -C ecc ecc.o
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/ecc'
make[2]: 'ecc.o' is up to date.
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/ecc'
make -C sha2 sha2.o
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/sha2'
make[2]: 'sha2.o' is up to date.
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/sha2'
make -C doc
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/doc'
: Doxyfile >./doxygen.out 2>&1 
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/doc'
test -d /usr/local/lib || mkdir -p /usr/local/lib
test -d /usr/local/include/tinydtls || mkdir -p /usr/local/include/tinydtls
cp libtinydtls.a /usr/local/lib/
cp dtls.h hmac.h dtls_debug.h dtls_config.h uthash.h numeric.h crypto.h global.h ccm.h netq.h alert.h utlist.h prng.h peer.h state.h dtls_time.h session.h tinydtls.h /usr/local/include/tinydtls/
for dir in tests doc platform-specific sha2 aes ecc; do \
	make -C $dir install="cp" includedir=/usr/local/include/tinydtls install; \
done
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/tests'
:
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/tests'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/doc'
make[2]: *** No rule to make target 'html', needed by 'install'.  Stop.
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/doc'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/platform-specific'
:
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/platform-specific'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/sha2'
test -d /usr/local/include/tinydtls/sha2 || mkdir -p /usr/local/include/tinydtls/sha2
cp sha2.h /usr/local/include/tinydtls/sha2
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/sha2'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/aes'
test -d /usr/local/include/tinydtls/aes || mkdir -p /usr/local/include/tinydtls/aes
cp rijndael.h /usr/local/include/tinydtls/aes
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/aes'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/ecc'
test -d /usr/local/include/tinydtls/ecc || mkdir -p /usr/local/include/tinydtls/ecc
cp ecc.h test_helper.h /usr/local/include/tinydtls/ecc
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls/ecc'
make[1]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/ext/tinydtls'
Making install in .
make[1]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libcoap-1.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libcoap-1.lai /usr/local/lib/libcoap-1.la
libtool: install: /usr/bin/install -c .libs/libcoap-1.a /usr/local/lib/libcoap-1.a
libtool: install: chmod 644 /usr/local/lib/libcoap-1.a
libtool: install: ranlib /usr/local/lib/libcoap-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/include/coap/'
 /usr/bin/install -c -m 644 include/coap/address.h include/coap/async.h include/coap/bits.h include/coap/block.h include/coap/coap.h include/coap/coap_dtls.h include/coap/coap_event.h include/coap/coap_keystore.h include/coap/coap_io.h include/coap/coap_time.h include/coap/debug.h include/coap/encode.h include/coap/hashkey.h include/coap/libcoap.h include/coap/mem.h include/coap/net.h include/coap/option.h include/coap/pdu.h include/coap/prng.h include/coap/resource.h include/coap/run.h include/coap/str.h include/coap/subscribe.h include/coap/uri.h include/coap/uthash.h include/coap/utlist.h '/usr/local/include/coap/'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libcoap-1.pc '/usr/local/lib/pkgconfig'
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap'
make[1]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap'
Making install in tests
make[1]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/tests'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/tests'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/tests'
make[1]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/tests'
Making install in examples
make[1]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/examples'
make[2]: Entering directory '/var/www/html/plugins/ikealight/resources/libcoap/examples'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c coap-client coap-server coap-rd '/usr/local/bin'
libtool: install: /usr/bin/install -c coap-client /usr/local/bin/coap-client
libtool: install: /usr/bin/install -c coap-server /usr/local/bin/coap-server
libtool: install: /usr/bin/install -c coap-rd /usr/local/bin/coap-rd
make[2]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/examples'
make[1]: Leaving directory '/var/www/html/plugins/ikealight/resources/libcoap/examples'
********************************************************
*             Installation terminée                    *
********************************************************

Avatar de l’utilisateur
kimagure
Helper
Messages : 109
Inscription : 21 août 2014, 14:53

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par kimagure » 30 août 2019, 20:53

Peux-tu regarder le contenu de ton fichier /var/www/html/plugins/ikealight/resources/ikealightd/tradfri_jeedom_psk.conf ?
Tu dois normalement y trouver 3 infos : adresse de la gateway, identity et key sous cette forme :

Code : Tout sélectionner

{
    "192.168.0.x": {
        "identity": "XXXXX",
        "key": "YYYY"
    }
}
Ces informations sont générées lors du premier accès à la gateway lors du démarrage du démon, et servent ensuite à monitorer et piloter les équipements avec coap-client.

Si tu as bien les 3 infos présentes dans le fichier, essaye de lancer la commande suivante depuis le shell sur ton serveur jeedom :

Code : Tout sélectionner

coap-client -u XXXXX -k YYYY -m get coaps://192.168.0.x:5684/15001
Si ça fonctionne, cette commande doit te renvoyer la liste des identifiants des équipements attachés à ta gateway, par exemple

Code : Tout sélectionner

[65543,65542,65538,65539,65540]
K.
Helper Officiel Jeedom
Jeedom 3.3.x sur VM Proxmox
Zwave, Xiaomi, Hue, Tradfri, RFXcom, Alexa, Surepetcare, Airsend, Squeezebox...

corleone187
Timide
Messages : 17
Inscription : 29 août 2019, 23:06

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par corleone187 » 30 août 2019, 21:23

effectivement j'ai bien 20 équipement qui s'affiche "65536, 65549, etc
mais toujours pareil dans jeedom :/

est ce normal que dans le log ikealight j'ai apikey "I4X9H1OPk77XcdDXPMNWbqgMnZQdivrW" et que dans le fichier tradfri_jeedom_psk.conf j'ai la key : "7EJ2MHKuAlMlbxky" ?

Avatar de l’utilisateur
kimagure
Helper
Messages : 109
Inscription : 21 août 2014, 14:53

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par kimagure » 30 août 2019, 22:00

Oui, la clé générale de la gateway (celle de l'étiquette, configurée dans le paramètre du plugin), ne peut pas être utilisée pour communiquer avec la gateway (c'est un changement dans l'un des derniers firmwares).

Lors du premier démarrage du plugin (ou si le fichier tradfri_jeedom_psk.conf est supprimé), le plugin s'authentifie avec cette clé auprès de la gateway, qui lui fournit les 2 infos (identity / key) pour pouvoir ensuite communiquer avec les devices.

Que vois-tu dans les logs lorsque tu lances une découverte via le plugin (premier gros bouton) ?
Normalement, ca devrait interroger la gateway pour découvrir l'ensemble des périphériques connectés, et créer les objets corresondants dans Jeedom...

K.
Helper Officiel Jeedom
Jeedom 3.3.x sur VM Proxmox
Zwave, Xiaomi, Hue, Tradfri, RFXcom, Alexa, Surepetcare, Airsend, Squeezebox...

corleone187
Timide
Messages : 17
Inscription : 29 août 2019, 23:06

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par corleone187 » 30 août 2019, 22:11

Le problème c'est que quand je vais dans "plugins" "communication" "objets connectés" "Ikea light" j'ai rien du tout qui apparait, juste une page vierge. je joint une photo.
plug_ikealight.jpg
plug_ikealight.jpg (237.69 Kio) Consulté 863 fois

Avatar de l’utilisateur
Poumi
Actif
Messages : 660
Inscription : 21 mars 2019, 22:41

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Poumi » 30 août 2019, 22:14

corleone187 a écrit :
30 août 2019, 22:11
Le problème c'est que quand je vais dans "plugins" "communication" "objets connectés" "Ikea light" j'ai rien du tout qui apparait, juste une page vierge. je joint une photo.plug_ikealight.jpg
Mon intuition me dit que tu es sous Buster non?

corleone187
Timide
Messages : 17
Inscription : 29 août 2019, 23:06

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par corleone187 » 30 août 2019, 22:23

Poumi a écrit :
30 août 2019, 22:14
corleone187 a écrit :
30 août 2019, 22:11
Le problème c'est que quand je vais dans "plugins" "communication" "objets connectés" "Ikea light" j'ai rien du tout qui apparait, juste une page vierge. je joint une photo.plug_ikealight.jpg
Mon intuition me dit que tu es sous Buster non?
je suis sous debian 10

debian 4.19.37-5 +deb10u2

et vu ton intuition je suppose que c'est mauvais signe je suppose? lol

Avatar de l’utilisateur
Poumi
Actif
Messages : 660
Inscription : 21 mars 2019, 22:41

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Poumi » 30 août 2019, 22:28

Et tu es sur que le plugin est compatible Buster?

Officiellement Buster n’est pas encore supporté.

Maintenant pour le core c’est ok, pour certain plugin c’est ok en stable, pour d’autre en bêta et pour d’autres pas encore...

La page vide est souvent liée à ça. Donc il y a de fortes chances que ce soit pas encore compatible.

C’est un plugin payant que je n’ai pas donc je ne peux pas vérifié dans le code pour être sûr à 100%, on va attendre la confirmation pour savoir si une des versions est compatible 🙂

corleone187
Timide
Messages : 17
Inscription : 29 août 2019, 23:06

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par corleone187 » 30 août 2019, 22:47

ça je ne sais pas si c'est compatible, j'ai lu que jeedom étais compatible debian donc j'ai installer la dernière version lol
il ne me reste plus qu'à désinstaller la distrib linux et en réinstaller une autre je suppose?
par contre la page vide c'est seulement sur le plugin Ikea light et pas de problème avec celui de IFTTT

quelle version me conseillez vous? Jessie ou stretch?

Avatar de l’utilisateur
Poumi
Actif
Messages : 660
Inscription : 21 mars 2019, 22:41

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Poumi » 30 août 2019, 23:28

La version supportée est stretch, tu as même le lien pour le télécharger dans la doc d’install de mémoire.

Pour IFTT, je sais pas, c’est au cas par cas suivant si le dev du plugin a modifié ou pas encore...

corleone187
Timide
Messages : 17
Inscription : 29 août 2019, 23:06

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par corleone187 » 31 août 2019, 00:06

ok merci je m'y met alors en espérant que c'était ça qui faisais beuguer le système lol

après avoir réinstaller debiant stretch, plus aucun soucis, tout tourne comme sur des roulettes.

un grand merci à vous :D

Loiccutry
Timide
Messages : 7
Inscription : 10 sept. 2019, 07:46

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Loiccutry » 11 sept. 2019, 22:46

Bonjour a tous; j"espere etre au bon endroit.
Voila je d'investir dans une passerelle tradfri et quelques ampoules. tout fonctionne sur mon smart phone avec l'appli ikea.
Mais dans Jeedom avec le plug in ikeal ight impossible de lancer le demon et du coup de retrouver mes ampoules.
J'ai regardé les log et je pense que l'erreur vient de: JSON file not found: tradfri_jeedom_psk.conf

Voici le log plus en detail.
File "/var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py", line 290, in <module>
psk = api_factory.generate_psk(args.gatewaycode)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 164, in generate_psk
self._psk = self.request(Gateway().generate_psk(existing_psk_id))
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 96, in request
return self._execute(api_commands, timeout=timeout)
File "/var/www/html/plugins/ikealight/resources/ikealightd/pytradfri/api/libcoap_api.py", line 85, in _execute
raise RequestTimeout() from None
pytradfri.error.RequestTimeout
[2019-09-10 21:31:28][ERROR] : Impossible de lancer le démon ikealightd, vérifiez le log
[2019-09-10 21:31:49][INFO] : Lancement démon ikealight : sudo /usr/bin/python3 /var/www/html/plugins/ikealight/resources/ikealightd/ikealightd.py --loglevel debug --socketport 55025 --callback http://127.0.0.1:80/plugins/ikealight/c ... alight.php --apikey jf3bGvaLV2dkwPdyRPKX7e1OqSdsXkrj --cycle 0.1 --pid /tmp/jeedom/ikealight/deamon.pid --gatewayip 192.168.1.24 --gatewaycode fUbPWPBC5tDEUIWU
[2019-09-10 21:31:51][INFO] : Start ikeatradfrid
[2019-09-10 21:31:51][INFO] : Log level : debug
[2019-09-10 21:31:51][INFO] : Socket port : 55025
[2019-09-10 21:31:51][INFO] : Socket host : 127.0.0.1
[2019-09-10 21:31:51][INFO] : PID file : /tmp/jeedom/ikealight/deamon.pid
[2019-09-10 21:31:51][INFO] : Apikey : jf3bGvaLV2dkwPdyRPKX7e1OqSdsXkrj
[2019-09-10 21:31:51][INFO] : Callback : http://127.0.0.1:80/plugins/ikealight/c ... alight.php
[2019-09-10 21:31:51][INFO] : Cycle : 0.1
[2019-09-10 21:31:51][INFO] : Gateway Ip : 192.168..x.xx
[2019-09-10 21:31:51][INFO] : Gateway Code : fUbxxxxxxxxxxxxxxx
[2019-09-10 21:31:51][DEBUG] : JSON file not found: tradfri_jeedom_psk.conf
[2019-09-10 21:31:51][DEBUG] : Executing 192.168.1.24 post ['15011', '9063']: {'9090': '29fa5cb2b1bf434f8bebca925dee743e'}
Traceback (most recent call last):


Pour info l'IP et le pass gateway sont juste.

Si vous pouvez me filer un coup de main, je vous remercie d'avance.
Loic

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Nebz » 11 sept. 2019, 23:09

Qu'est ce qui te fait dire que ton pass est juste ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

MrVince
Timide
Messages : 182
Inscription : 11 sept. 2017, 15:22

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par MrVince » 11 sept. 2019, 23:26

Bonsoir tout le monde.

Je n'ai plus aucun controle ni mis à jour de mes equipements depuis plusieurs jours. Impossible non plus d'en decouvrir de nouveau. J'ai cette erreur en boucle
[ERROR] : Exception on socket : Error executing request: Command '['coap-client', '-u', 'e2431b2e821d463bb3f1df79848e69d3', '-k', 'GqRRpRufvwmMUmTY', '-v', '0', '-m', 'get', 'coaps://192.168.0.15:5684/15001/65537']' returned non-zero exit status -15
[ERROR] : Exception on socket :
[ERROR] : Exception on socket :
[ERROR] : Exception on socket :
Sachant que ma box tradfri a crash un jour sans raison apparente, impossible de la connecter au reseau et que j'ai du la réinitialiser.

Est ce que ça dit quelque chose à quelqu'un ? Merci
NAS HP Proliant - OpenMediaVault - Jeedom Docker
Raspberry Pi 3 - MagicMirror
Prusa i3

Capteurs MySensors / Xiaomi / Éclairage Ikea Tradfri
SmarterCoffee / Chromecast & Google Home / Thermostat Netatmo

Loiccutry
Timide
Messages : 7
Inscription : 10 sept. 2019, 07:46

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Loiccutry » 12 sept. 2019, 04:07

Nebz a écrit :
11 sept. 2019, 23:09
Qu'est ce qui te fait dire que ton pass est juste ?


J'ai utilisé celui qui est collé au dos de la passerelle.

Loic

Avatar de l’utilisateur
Nebz
Modérateur
Messages : 6514
Inscription : 23 avr. 2017, 01:37
Localisation : Belgique

Re: [Plugin Officiel][Sujet Principal] Ikea Light

Message par Nebz » 12 sept. 2019, 06:43

Loiccutry a écrit :
Nebz a écrit :
11 sept. 2019, 23:09
Qu'est ce qui te fait dire que ton pass est juste ?


J'ai utilisé celui qui est collé au dos de la passerelle.

Loic
Pas de faute de frappe ?
Tu as pris le bon ?


Envoyé de mon iPhone en utilisant Tapatalk
Dev plugin Homebridge

- Fournissez les logs, la capture de vos commandes et vos types génériques svp
- Constructif et bonne humeur, on est pas là pour se lancer des périfs z-wave à la figure :-)

Un petit don ça fait toujours plaisir :)

Répondre

Revenir vers « [Catégorie] Objets connectés »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 3 invités