[Béta]Plugin Zigate USB + Wifi

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: [Béta]Plugin Zigate USB + Wifi

Message par pipiche »

sbhc68 a écrit :Bon, j'ai pu mettre à jour le firmware en utilisant le port usb-ttl
...
Super !
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
sbhc68
Messages : 56
Inscription : 01 juil. 2015, 13:32

Re: [Béta]Plugin Zigate USB + Wifi

Message par sbhc68 »

Bonjour,

Par contre, j'avais des erreurs ce matin :

...
2018-08-15 11:07:48.325 Error: (Zigate) ReadCluster - Error/unknow Cluster Message : 0481 for Device = d98d Ep = 01
2018-08-15 11:07:48.325 Error: (Zigate) 'onMessage' failed 'NameError':'name 'MsgAttrId' is not defined'.
2018-08-15 11:07:48.325 Error: (Zigate) ----> Line 353 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:07:48.325 Error: (Zigate) ----> Line 124 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:07:48.325 Error: (Zigate) ----> Line 434 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateDecode
2018-08-15 11:07:48.325 Error: (Zigate) ----> Line 695 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateRead
2018-08-15 11:07:48.325 Error: (Zigate) ----> Line 1029 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function Decode8102
2018-08-15 11:07:48.325 Error: (Zigate) ----> Line 1675 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ReadCluster
2018-08-15 11:07:59.061 Error: (Zigate) ReadCluster - Error/unknow Cluster Message : 0481 for Device = d98d Ep = 01
2018-08-15 11:07:59.061 Error: (Zigate) 'onMessage' failed 'NameError':'name 'MsgAttrId' is not defined'.
2018-08-15 11:07:59.062 Error: (Zigate) ----> Line 353 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:07:59.062 Error: (Zigate) ----> Line 124 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:07:59.062 Error: (Zigate) ----> Line 434 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateDecode
2018-08-15 11:07:59.062 Error: (Zigate) ----> Line 695 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateRead
2018-08-15 11:07:59.062 Error: (Zigate) ----> Line 1029 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function Decode8102
2018-08-15 11:07:59.062 Error: (Zigate) ----> Line 1675 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ReadCluster
2018-08-15 11:08:09.090 Error: (Zigate) ReadCluster - Error/unknow Cluster Message : 0481 for Device = d98d Ep = 01
2018-08-15 11:08:09.090 Error: (Zigate) 'onMessage' failed 'NameError':'name 'MsgAttrId' is not defined'.
2018-08-15 11:08:09.090 Error: (Zigate) ----> Line 353 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:08:09.090 Error: (Zigate) ----> Line 124 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:08:09.090 Error: (Zigate) ----> Line 434 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateDecode
2018-08-15 11:08:09.090 Error: (Zigate) ----> Line 695 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateRead
2018-08-15 11:08:09.090 Error: (Zigate) ----> Line 1029 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function Decode8102
2018-08-15 11:08:09.090 Error: (Zigate) ----> Line 1675 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ReadCluster
2018-08-15 11:08:09.291 Error: (Zigate) ReadCluster - Error/unknow Cluster Message : 0481 for Device = d98d Ep = 01
2018-08-15 11:08:09.291 Error: (Zigate) 'onMessage' failed 'NameError':'name 'MsgAttrId' is not defined'.
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 353 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 124 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 434 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateDecode
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 695 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateRead
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 1029 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function Decode8102
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 1675 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ReadCluster
...

J'ai vu que tu as mis à jour le plugin, donc je l'ai mis à jour et relancer domoticz.
Domoticz (Debian) + RFXtrx433E + Aeon ZW090-GEN5 + Zigate Wifi + 1 GreenWave PowerNode 1 port + 1 FGS212+ 2 Mini Keypad RFID + 2 FGMS001 + 1 DSD37 + 2 PowerNode 6 port + 1 Zipato PSE02 + 6 sonoffs
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: [Béta]Plugin Zigate USB + Wifi

Message par pipiche »

Super. Je regarde ça plus tard. Peux-tu me donner des infos sur le device d98d .
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
sbhc68
Messages : 56
Inscription : 01 juil. 2015, 13:32

Re: [Béta]Plugin Zigate USB + Wifi

Message par sbhc68 »

Oui, c'est un capteur de température, humidité et barométrique Xioami réf. : E-K57-A09-502. Voici le lien sur le site zigate :

https://zigate.fr/xiaomi-capteur-temper ... -clusters/
Domoticz (Debian) + RFXtrx433E + Aeon ZW090-GEN5 + Zigate Wifi + 1 GreenWave PowerNode 1 port + 1 FGS212+ 2 Mini Keypad RFID + 2 FGMS001 + 1 DSD37 + 2 PowerNode 6 port + 1 Zipato PSE02 + 6 sonoffs
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: [Béta]Plugin Zigate USB + Wifi

Message par pipiche »

sbhc68 a écrit :Bonjour,

Par contre, j'avais des erreurs ce matin :

...

2018-08-15 11:08:09.291 Error: (Zigate) ReadCluster - Error/unknow Cluster Message : 0481 for Device = d98d Ep = 01
2018-08-15 11:08:09.291 Error: (Zigate) 'onMessage' failed 'NameError':'name 'MsgAttrId' is not defined'.
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 353 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 124 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function onMessage
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 434 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateDecode
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 695 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ZigateRead
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 1029 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function Decode8102
2018-08-15 11:08:09.291 Error: (Zigate) ----> Line 1675 in /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, function ReadCluster
...

.
Erreur de ma part, j'ai mis à jour le plugin ce matin.

A priori il y a un cluster non identifié qui est le 0x0481 ! Je vais reflechir a voir si on peu recuperer l'info et ensuite voir comment l'interpreter ;-)
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
sbhc68
Messages : 56
Inscription : 01 juil. 2015, 13:32

Re: [Béta]Plugin Zigate USB + Wifi

Message par sbhc68 »

Bonjour,

OK, je viens de remettre le plugin à jour.
Domoticz (Debian) + RFXtrx433E + Aeon ZW090-GEN5 + Zigate Wifi + 1 GreenWave PowerNode 1 port + 1 FGS212+ 2 Mini Keypad RFID + 2 FGMS001 + 1 DSD37 + 2 PowerNode 6 port + 1 Zipato PSE02 + 6 sonoffs
sbhc68
Messages : 56
Inscription : 01 juil. 2015, 13:32

Re: [Béta]Plugin Zigate USB + Wifi

Message par sbhc68 »

Ah, il y a une erreur dans le plugin :

2018-08-16 09:15:48.004 Error: (Zigate) Module Import failed, exception: 'TabError'
2018-08-16 09:15:48.004 Error: (Zigate) Import detail: File: /opt/domoticz_prod/plugins/Domoticz-Zigate/plugin.py, Line: 122
2018-08-16 09:15:48.004 Error: (Zigate) Error Line ' Domoticz.Error(" MsgAttSize = " + MsgAttSize + " MsgClusterData = " + MsgClusterData )
2018-08-16 09:17:00.638 Error: Zigate hardware (14) thread seems to have ended unexpectedly
2018-08-16 09:17:30.647 Error: Zigate hardware (14) thread seems to have ended unexpectedly
Domoticz (Debian) + RFXtrx433E + Aeon ZW090-GEN5 + Zigate Wifi + 1 GreenWave PowerNode 1 port + 1 FGS212+ 2 Mini Keypad RFID + 2 FGMS001 + 1 DSD37 + 2 PowerNode 6 port + 1 Zipato PSE02 + 6 sonoffs
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: [Béta]Plugin Zigate USB + Wifi

Message par pipiche »

Désolé. Peux-tu refaire un git pull ;-)
Zigbee for Domoticz - Clef zzh-p (electrolama) 45 devices.

Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.
Wiki ici
chat sur Keybase.io
sbhc68
Messages : 56
Inscription : 01 juil. 2015, 13:32

Re: [Béta]Plugin Zigate USB + Wifi

Message par sbhc68 »

Pas de problème ;)

Ok, c'est fait et c'est bon.
Domoticz (Debian) + RFXtrx433E + Aeon ZW090-GEN5 + Zigate Wifi + 1 GreenWave PowerNode 1 port + 1 FGS212+ 2 Mini Keypad RFID + 2 FGMS001 + 1 DSD37 + 2 PowerNode 6 port + 1 Zipato PSE02 + 6 sonoffs
Thorgal
Messages : 913
Inscription : 16 août 2018, 20:02
Contact :

Re: [Béta]Plugin Zigate USB + Wifi

Message par Thorgal »

Bon dsl si j'ai oublie quelque chose mais je galere vraiment et apres avoir lu les 48 page de ce post j'ai toujours pas ma solution.
Est il possible d'appairer juste la telecommande ikea "tradfri switch" sur le pluggin ? J'ai aussi l'ampoule mais je suis sur avoir lu que c'etait possible.
Tout est fraichement installe et mit a jour.

1 - je redemarre le pluggin off/on.
2 - je place la telecommande a 5cm de la zigate.
3 - je maintient la pression 10 s sur le boutton a l'interieur

Et rien n'apparait sur l'onglet "dispositif".
J'ai ca en log https://pastebin.com/VB03jrXk
Et dans DeviceList.txt e38f : {'Heartbeat': '0', 'Ep': {'01': {}}, 'ZDeviceID': {}, 'Type': {}, 'Model': {}, 'Battery': {}, 'ProfileID': {}, 'RIA': '0', 'MacCapa': '80', 'Status': '0043', 'IEEE': '90fd9ffffe6fa7cc'}
Répondre