Bonjour
Tout d’abord, un grand bravo pour ce plugin qui m’a permis d’intégrer ma gateway LIDL à jeedom. Je l’ai acheté il y a quelques semaines, mais impossible de la gérer avec jeedom. C’est maintenant chose faite Et pour info, j’ai remis les lumières et prises controlées par cette gateway dans Maison avec Homebridge et tout fonctionne à merveille.
Je viens d’acheter la nouvelle passerelle de chez IKEA, la DIRIGERA. Après le boot, elle est bien apparue dans la liste des ponts. J’ai ajouté dessus une prise et un capteur de mouvement avec l’appli Ikea, et ils sont bien apparus aussi dans le plugin. Je précise que je ne l’avais pas intégré à Maison avant.
Mais je ne parviens pas à controler la prise. Quand j’essaye, j’ai ce message dans les logs:
0000|[01-03-2023 18:53:31]ERROR : TypeError: Cannot read properties of undefined (reading 'typeLabel')
Du coup, pour que ce soit un peu plus parlant, j’ai mis le plugin en debug et:
- j’ai redémarré le deamon
- j’ai fait un on sur la prise
- j’ai fait un off sur la prise
Je mets les logs attachés en PJ.
Si besoin de faire des tests, aucun problème, la gateway n’est pas en prod donc je peux faire ce que je veux. Fallait-il notamment l’appairer à maison avant de l’appairer à Jeedom?
Merci d’avance
hkControl_deamon-logs.txt (38,9 Ko)
Concernant le capteur, j’ai l’impression qu’il fonctionne, mais je suis obligé de rafraichir la tuile de l’équipement à la main. Quand je le soumets à un mouvement, j’ai ceci dans les logs:
0050|[01-03-2023 19:10:59]INFO : Reçu une demande de refresh d'accessoire...
0051|[01-03-2023 19:10:59]DEBUG : Récupération en cours de la description de l'accessoire...
0052|addTypeLabels: 0.543ms
0053|[01-03-2023 19:10:59]INFO : Description de l'accessoire reçue : {"accessories":[{"aid":1,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","primary":true,"hidden":false,"characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","format":"bool","perms":["pw"],"typeLabel":"identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","format":"string","value":"IKEA of Sweden","perms":["pr"],"ev":false,"enc":false,"typeLabel":"manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","format":"string","value":"DIRIGERA Hub for smart products","perms":["pr"],"ev":false,"enc":false,"typeLabel":"model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"DIRIGERA","perms":["pr"],"ev":false,"enc":false,"typeLabel":"name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","format":"string","value":"382abd4c-a47d-45d8-933c-5cbc95c85b35","perms":["pr"],"ev":false,"enc":false,"typeLabel":"serial-number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","format":"string","value":"2.197.0","perms":["pr"],"ev":false,"enc":false,"typeLabel":"firmware.revision"},{"iid":8,"type":"00000053-0000-1000-8000-0026BB765291","format":"string","value":"2.5","perms":["pr"],"ev":false,"enc":false,"typeLabel":"hardware.revision"},{"iid":9,"type":"34AB8811-AC7F-4340-BAC3-FD6A85F9943B","format":"string","value":"6.1;72ca72be","perms":["pr","hd"],"ev":false,"enc":false,"typeLabel":"34AB8811-AC7F-4340-BAC3-FD6A85F9943B"},{"iid":10,"type":"00000220-0000-1000-8000-0026BB765291","format":"data","value":"p80Yzz//MRk=","perms":["pr"],"ev":false,"enc":false,"maxDataLen":8,"typeLabel":"product-data"}],"typeLabel":"accessory-information"},{"iid":16,"type":"000000A2-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":18,"type":"00000037-0000-1000-8000-0026BB765291","format":"string","value":"1.1.0","perms":["pr"],"ev":false,"enc":false,"typeLabel":"version"}],"typeLabel":"protocol.information.service"},{"iid":64,"type":"0000022A-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":66,"type":"0000022B-0000-1000-8000-0026BB765291","format":"bool","value":0,"perms":["pr"],"ev":false,"enc":false,"typeLabel":"current-transport"},{"iid":67,"type":"0000022C-0000-1000-8000-0026BB765291","format":"uint32","value":11,"perms":["pr"],"ev":false,"enc":false,"minValue":0,"maxValue":15,"minStep":1,"typeLabel":"wifi-capabilities"},{"iid":68,"type":"0000022D-0000-1000-8000-0026BB765291","format":"tlv8","value":"","perms":["pr","pw","ev","tw","wr"],"ev":false,"enc":false,"typeLabel":"wifi-configuration-control"}],"typeLabel":"wifi-transport"}]},{"aid":12170150404128197000,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","format":"bool","perms":["pw"],"typeLabel":"identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","format":"string","value":"IKEA of Sweden","perms":["pr"],"ev":false,"enc":false,"typeLabel":"manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","format":"string","value":"TRADFRI control outlet","perms":["pr"],"ev":false,"enc":false,"typeLabel":"model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"PC1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","format":"string","value":"000D6FFFFE9C6501","perms":["pr"],"ev":false,"enc":false,"typeLabel":"serial-number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","format":"string","value":"2.3.089","perms":["pr"],"ev":false,"enc":false,"typeLabel":"firmware.revision"},{"iid":8,"type":"00000053-0000-1000-8000-0026BB765291","format":"string","value":"1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"hardware.revision"}],"typeLabel":"accessory-information"},{"iid":80,"type":"00000047-0000-1000-8000-0026BB765291","primary":true,"hidden":false,"characteristics":[{"iid":82,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"PC1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"name"},{"iid":83,"type":"00000025-0000-1000-8000-0026BB765291","format":"bool","value":0,"perms":["pr","pw","ev"],"ev":false,"enc":false,"typeLabel":"on"}],"typeLabel":"outlet"}]},{"aid":13670415134641965000,"services":[{"iid":1,"type":"0000003E-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":2,"type":"00000014-0000-1000-8000-0026BB765291","format":"bool","perms":["pw"],"typeLabel":"identify"},{"iid":3,"type":"00000020-0000-1000-8000-0026BB765291","format":"string","value":"IKEA of Sweden","perms":["pr"],"ev":false,"enc":false,"typeLabel":"manufacturer"},{"iid":4,"type":"00000021-0000-1000-8000-0026BB765291","format":"string","value":"TRADFRI motion sensor","perms":["pr"],"ev":false,"enc":false,"typeLabel":"model"},{"iid":5,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Capteur 1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"name"},{"iid":6,"type":"00000030-0000-1000-8000-0026BB765291","format":"string","value":"588E81FFFE1E9647","perms":["pr"],"ev":false,"enc":false,"typeLabel":"serial-number"},{"iid":7,"type":"00000052-0000-1000-8000-0026BB765291","format":"string","value":"2.0.022","perms":["pr"],"ev":false,"enc":false,"typeLabel":"firmware.revision"},{"iid":8,"type":"00000053-0000-1000-8000-0026BB765291","format":"string","value":"1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"hardware.revision"}],"typeLabel":"accessory-information"},{"iid":3072,"type":"00000085-0000-1000-8000-0026BB765291","primary":true,"hidden":false,"characteristics":[{"iid":3075,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Capteur 1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"name"},{"iid":3074,"type":"00000022-0000-1000-8000-0026BB765291","format":"bool","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"typeLabel":"motion-detected"}],"typeLabel":"sensor.motion"},{"iid":224,"type":"00000096-0000-1000-8000-0026BB765291","primary":false,"hidden":false,"characteristics":[{"iid":228,"type":"00000023-0000-1000-8000-0026BB765291","format":"string","value":"Capteur 1","perms":["pr"],"ev":false,"enc":false,"typeLabel":"name"},{"iid":225,"type":"00000068-0000-1000-8000-0026BB765291","format":"uint8","value":100,"perms":["pr","ev"],"ev":false,"enc":false,"unit":"percentage","minValue":0,"maxValue":100,"minStep":1,"typeLabel":"battery-level"},{"iid":227,"type":"00000079-0000-1000-8000-0026BB765291","format":"uint8","value":0,"perms":["pr","ev"],"ev":false,"enc":false,"minValue":0,"maxValue":1,"minStep":1,"typeLabel":"status-lo-batt"}],"typeLabel":"battery"}]}]}
0054|[01-03-2023 19:10:59]DEBUG : Envoi de l'Accessory brut : {"eventType":"getAccessories","id":"BF:3C:E8:85:C1:F8","refresh":true}
0055|[01-03-2023 19:10:59]DEBUG : Rafraîchissement pour DIRIGERA
0056|[01-03-2023 19:10:59]DEBUG : Pas de changement de souscription
Si je rafraichis la tuile, l’encoche verte apparait sous motion-detected, mais je dois faire un refresh manuel: