Bonjour à tous,
En décembre 2022, il y a bientôt 1 an, je me suis équipé avec le dispositif ZLinky_TIC Zigbee qui m’a permis de récupérer sans problème, pendant plus de 6 mois, des données de mon compteur Linky via le Plugin Zigbee.
En juillet dernie,r j’ai commencé à constater des courtes, mais parfois fréquentes, coupures de liaison entre Jeedom et le ZLinky_TIC
Mais depuis septembre, c’est une catastrophe. Sur les conseils du fabricant, j’ai changé de N° de Canal Zigbee, je suis passé du Canal 15 au Canal 26. Cette modification de Canal n’a pas solutionné le problème.
Souvent, mais ce n’est pas une règle…, je constate que les perturbations de communication démarrent (ou s’intensifient…) au passage des HP vers HC. Et la communication redevient normale (ou presque normale…) lorsque je repasse de HC vers HP.
Quand la communication est bonne j’ai cette séquence :
[2023-10-15 04:25:04][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:25:04][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[0,1,256,258,260,262,264],"allowCache":0}
[2023-10-15 04:25:04][DEBUG] : [Derrière][ZLinky] refresh
[2023-10-15 04:25:04][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:25:04][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[266],"allowCache":0}
[2023-10-15 04:25:05][DEBUG] : [Derrière][ZLinky] refresh
[2023-10-15 04:25:05][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:25:05][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":2820,"cluster_type":"in","attributes":[1295,1288,1285,1293],"allowCache":0}
[2023-10-15 04:25:05][DEBUG] : [Derrière][ZLinky] refresh
[2023-10-15 04:25:05][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:25:05][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":65382,"cluster_type":"in","attributes":[519,0,512,513],"allowCache":0}
[2023-10-15 04:25:05][DEBUG] : {"devices":{"00:15:8d:00:09:52:02:fd":{"1":{"1794":{"0":{"value":"28825926","cluster_name":"Metering"},"1":{"value":"1776715","cluster_name":"Metering"},"256":{"value":"22727202","cluster_name":"Metering"},"258":{"value":"1879989","cluster_name":"Metering"},"260":{"value":"2161665","cluster_name":"Metering"},"262":{"value":"2057070","cluster_name":"Metering"},"264":{"value":"0","cluster_name":"Metering"},"266":{"value":"0","cluster_name":"Metering"}}}}}}
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::0 => 28825926 convert to 28825926
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::1 => 1776715 convert to 1776715
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::256 => 22727202 convert to 22727202
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::258 => 1879989 convert to 1879989
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::260 => 2161665 convert to 2161665
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::262 => 2057070 convert to 2057070
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::264 => 0 convert to 0
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::266 => 0 convert to 0
[2023-10-15 04:25:05][DEBUG] : [Derrière][ZLinky] refresh
[2023-10-15 04:25:05][DEBUG] : {"devices":{"00:15:8d:00:09:52:02:fd":{"1":{"2820":{"1295":{"value":"377","cluster_name":"Electrical Measurement"},"1288":{"value":"2","cluster_name":"Electrical Measurement"},"1285":{"value":"241","cluster_name":"Electrical Measurement"},"1293":{"value":"2411","cluster_name":"Electrical Measurement"}},"65382":{"519":{"value":"0","cluster_name":"Manufacturer Specific"},"0":{"value":" TEMPO","cluster_name":"Manufacturer Specific"},"512":{"value":" HC BLEU","cluster_name":"Manufacturer Specific"},"513":{"value":"1","cluster_name":"Manufacturer Specific"}}}}}}
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1295 => 377 convert to 377
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1288 => 2 convert to 2
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1285 => 241 convert to 241
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1293 => 2411 convert to 2411
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::65382::519 => 0 convert to 0
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::65382::0 => TEMPO convert to TEMPO
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::65382::512 => HC BLEU convert to HC BLEU
[2023-10-15 04:25:05][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::65382::513 => 1 convert to 1
Et quand la communication est coupée j’ai cette séquence :
[2023-10-15 22:05:04][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 22:05:04][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[0,1,256,258,260,262,264],"allowCache":0}
[2023-10-15 22:05:09][INFO] : [Derrière][ZLinky] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[0,1,256,258,260,262,264],"allowCache":0} erreur : {"state":"error","result":"[0x08c8:1:0x0702]: Message send failure","code":0}
[2023-10-15 22:05:09][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 22:05:09][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[266],"allowCache":0}
[2023-10-15 22:05:14][INFO] : [Derrière][ZLinky] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[266],"allowCache":0} erreur : {"state":"error","result":"[0x08c8:1:0x0702]: Message send failure","code":0}
[2023-10-15 22:05:14][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 22:05:14][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":2820,"cluster_type":"in","attributes":[1295,1288,1285,1293],"allowCache":0}
[2023-10-15 22:05:19][INFO] : [Derrière][ZLinky] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":2820,"cluster_type":"in","attributes":[1295,1288,1285,1293],"allowCache":0} erreur : {"state":"error","result":"[0x08c8:1:0x0b04]: Message send failure","code":0}
[2023-10-15 22:05:19][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 22:05:19][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":65382,"cluster_type":"in","attributes":[519,0,512,513],"allowCache":0}
[2023-10-15 22:05:24][INFO] : [Derrière][ZLinky] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":65382,"cluster_type":"in","attributes":[519,0,512,513],"allowCache":0} erreur : {"state":"error","result":"[0x08c8:1:0xff66]: Message send failure","code":0}
[2023-10-15 22:05:32][DEBUG] : {"devices":{"00:15:bc:00:2f:01:37:cb":{"2":{"1794":{"0":{"value":"133765","cluster_name":"Metering"},"1024":{"value":"3","cluster_name":"Metering"}},"2820":{"1291":{"value":"3","cluster_name":"Electrical Measurement"}}}}}}
[2023-10-15 22:05:32][DEBUG] : Search attribut for 00:15:bc:00:2f:01:37:cb logicalId : 2::1794::0 => 133765 convert to 133765
[2023-10-15 22:05:32][DEBUG] : Search attribut for 00:15:bc:00:2f:01:37:cb logicalId : 2::1794::1024 => 3 convert to 3
[2023-10-15 22:05:32][DEBUG] : Search attribut for 00:15:bc:00:2f:01:37:cb logicalId : 2::2820::1291 => 3 convert to 3
Dans le cas précédent, je n’obtiens rien.
Mais parfois, j’ai d’autres séquences avec l’heure de dernière communication avec l’équipement qui est mise à jour, comme si la communication avait bien aboutie.
[2023-10-15 04:50:04][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:50:04][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[0,1,256,258,260,262,264],"allowCache":0}
[2023-10-15 04:50:09][INFO] : [Derrière][ZLinky] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[0,1,256,258,260,262,264],"allowCache":0} erreur : {"state":"error","result":"[0x08c8:1:0x0702]: Message send failure","code":0}
[2023-10-15 04:50:09][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:50:09][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":1794,"cluster_type":"in","attributes":[266],"allowCache":0}
[2023-10-15 04:50:11][DEBUG] : [Derrière][ZLinky] refresh
[2023-10-15 04:50:11][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:50:11][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":2820,"cluster_type":"in","attributes":[1295,1288,1285,1293],"allowCache":0}
[2023-10-15 04:50:11][DEBUG] : {"devices":{"00:15:8d:00:09:52:02:fd":{"1":{"1794":{"266":{"value":"0","cluster_name":"Metering"}}}}}}
[2023-10-15 04:50:11][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::1794::266 => 0 convert to 0
[2023-10-15 04:50:14][DEBUG] : [Derrière][ZLinky] refresh
[2023-10-15 04:50:14][DEBUG] : http://127.0.0.1:8089/device/attributes type : POST
[2023-10-15 04:50:14][DEBUG] : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":65382,"cluster_type":"in","attributes":[519,0,512,513],"allowCache":0}
[2023-10-15 04:50:14][DEBUG] : {"devices":{"00:15:8d:00:09:52:02:fd":{"1":{"2820":{"1295":{"value":"304","cluster_name":"Electrical Measurement"},"1288":{"value":"1","cluster_name":"Electrical Measurement"},"1285":{"value":"241","cluster_name":"Electrical Measurement"},"1293":{"value":"2411","cluster_name":"Electrical Measurement"}}}}}}
[2023-10-15 04:50:14][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1295 => 304 convert to 304
[2023-10-15 04:50:14][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1288 => 1 convert to 1
[2023-10-15 04:50:14][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1285 => 241 convert to 241
[2023-10-15 04:50:14][DEBUG] : Search attribut for 00:15:8d:00:09:52:02:fd logicalId : 1::2820::1293 => 2411 convert to 2411
[2023-10-15 04:50:19][INFO] : [Derrière][ZLinky] Erreur lors de la requete : http://127.0.0.1:8089/device/attributes(POST), data : {"ieee":"00:15:8d:00:09:52:02:fd","endpoint":1,"cluster":65382,"cluster_type":"in","attributes":[519,0,512,513],"allowCache":0} erreur : {"state":"error","result":"[0x08c8:1:0xff66]: Message send failure","code":0}
Je précise que j’ai d’autres équipements Zigbee, des prises intelligentes Frient, dont une se trouve à 3 ou 4 mètres du ZLinky_TIC. Ces équipements ne me posent apparemment aucun problème.
J’ai développé un Scénario Bloc Code pour détecter les pannes de communication en me basant sur le délai entre 2 communications. Si le délai entre 2 communications est compris entre 45 s et 60 s, c’est que la communication devrait être OK. Sinon, si le délai est trop long (généralement ~360 s) ou trop court (~42 s) c’est que la communication est perturbée et j’essaye alors de récupérer les accroissements d’index sur un autre compteur connecté dans mon tableau électrique (un Shely 3EM).
Mais cette solution n’est pas parfaite. Par exemple, comme ce fut le cas hier soir, la liaison Zigbee était HS à 22h au passage HP vers HC. Elle est restée absente pendant 3/4 d’heure, ce qui fait que mon Scénario a continué à fonctionner comme si on était encore en HP car le Mode tarifaire ne s’était pas mis à jour…
Est-ce qu’un spécialiste de la communication Zigbee aurait une idée pour diagnostiquer plus précisément mon problème de liaison Zigbee ?
Merci pour votre aide.
Bonne journée.
Marc