[Résolu] Tuya Zigbee moniteur d'alimentation

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
brenten
Messages : 50
Inscription : 10 déc. 2019, 18:28

[Résolu] Tuya Zigbee moniteur d'alimentation

Message par brenten »

Bonjour à toi , hoo grand maitre du zigbee. :ugeek:

j'ai trouvé une prise zigbee qui fait switch de courant ( comme les prise lidl ) mais qui fait aussi compteur d'énergie

malheureusement elle n'est pas reconnu totalement sur la béta 6 ( juste le switch type TFS011 )

voici le produit : https://fr.aliexpress.com/item/4001118546894.html

voici le code erreur retourné par le zigate lors de l'appairage

Code : Tout sélectionner

{"0":{"0":{"Time":"28/03/2022 17:45:55","Module":"Widget","nwkid":"b5b1","PluginHealth":"Enrollment in Progress","message":"MajDomoDevice NwkId: b5b1 status: 0043 not inDB","PermitToJoin":{"Duration":255,"Starttime":1648482655},"Thread":"ZiGateForwarder_15","DeviceInfos":{"Version":"3","ZDeviceName":"","Status":"0043","SQN":"28","Ep":{"01":{"0000":{"0004":"_TZ3000_typdpbpg","0005":"TS011F"},"0702":{"0000":0},"0006":{"4001":"0","4002":"0","5000":"1","8000":"00","8001":"1","8002":"0","0000":"00"}},"f2":{}},"Heartbeat":"1","RIA":"0","LQI":84,"Battery":{},"Model":"","ForceAckCommands":[],"MacCapa":"8e","IEEE":"a4c1383480069696","Type":{},"ProfileID":{},"ZDeviceID":{},"App Version":"","Attributes List":{},"DeviceType":"FFD","HW Version":"","Last Cmds":[[1330,"02","b5b1","0100","010100000000000001fffd"],[1331,"02","b5b1","0100","010100000000000001fffe"],[1332,"02","b5b1","0100","010100000000000001ffe0"],[1333,"02","b5b1","0100","010100000000000001ffe1"],[1334,"02","b5b1","0100","010100000000000001ffe2"],[1335,"02","b5b1","0100","010100000000000001ffdf"],[1338,"02","b5b1","0092","010101"],[1339,"07","b5b1","0100","0101000600000000010000"],[1340,"02","b5b1","0092","010100"],[1341,"07","b5b1","0100","0101000600000000010000"]],"LogicalType":"Router","Manufacturer":"","Manufacturer Name":"_TZ3000_typdpbpg","NbEp":"2","PowerSource":"Main","ReadAttributes":{"Ep":{"01":{"0000":{"TimeStamp":"28/03/2022 17:46:17","iSQN":{"0000":1321,"0001":1322,"0002":1323,"0003":1324,"0004":1325,"0005":1326,"0006":1327,"0007":1328,"ffde":1329,"fffd":1330,"fffe":1331,"ffe0":1332,"ffe1":1333,"ffe2":1334,"ffdf":1335},"Attributes":{"0000":"00","0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0006":"00","0007":"00","ffde":"00","fffd":"00","fffe":"00","ffe0":"86","ffe1":"86","ffe2":"00","ffdf":"86"},"ZigateRequest":{}},"0702":{"TimeStamp":"28/03/2022 17:45:55","iSQN":{},"Attributes":{"0000":"00"},"ZigateRequest":{}},"0006":{"TimeStamp":"28/03/2022 17:56:38","iSQN":{"4001":1315,"4002":1316,"4003":1317,"8001":1318,"8002":1319,"fffd":1320,"0000":1341},"Attributes":{"4001":"00","4002":"00","4003":"86","5000":"00","8000":"00","8001":"00","8002":"00","fffd":"00","0000":"00"},"ZigateRequest":{}},"0019":{"TimeStamp":"28/03/2022 17:46:08","iSQN":{"0001":1304,"0002":1305,"0003":1306,"0004":1307,"0005":1308,"0006":1309,"0007":1310,"0008":1311,"0009":1312,"000a":1313},"Attributes":{"0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0007":"00","0008":"00","0009":"00","000a":"86"},"ZigateRequest":{}}},"f2":{"0000":{"TimeStamp":"28/03/2022 17:45:49","iSQN":{"0004":1295,"0005":1297},"Attributes":{},"ZigateRequest":{}}}}},"ReceiveOnIdle":"","Stack Version":"","Stamp":{"time":1648482998.781786,"Time":"2022-03-28 17:56:38","MsgType":"8102","LastSeen":"28/03/2022 17:56:38"},"ZCL Version":"","Health":"Live","Capability":["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"],"RollingLQI":[69,78,72,72,78,78,84,69,72,108,90],"Epv2":{"01":{"ClusterIn":{"0003":{},"0004":{},"0005":{},"0006":{},"0702":{},"0b04":{},"e001":{},"e000":{},"0000":{}},"ClusterOut":{"0019":{},"000a":{}},"ProfileID":"0104","ZDeviceID":"010a"},"f2":{"ClusterIn":{},"ClusterOut":{"0021":{}},"ProfileID":"a1e0","ZDeviceID":"0061"}},"WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0005":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000a":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"PairingInProgress":true}},"1":{"Time":"28/03/2022 17:45:56","Module":"Widget","nwkid":"b5b1","PluginHealth":"Enrollment in Progress","message":"MajDomoDevice NwkId: b5b1 status: 0043 not inDB","PermitToJoin":{"Duration":255,"Starttime":1648482655},"Thread":"ZiGateForwarder_15","DeviceInfos":{"Version":"3","ZDeviceName":"","Status":"0043","SQN":"2c","Ep":{"01":{"0000":{"0004":"_TZ3000_typdpbpg","0005":"TS011F"},"0702":{"0000":0},"0006":{"4001":"0","4002":"0","5000":"1","8000":"00","8001":"1","8002":"0","0000":"00"}},"f2":{}},"Heartbeat":"1","RIA":"0","LQI":78,"Battery":{},"Model":"","ForceAckCommands":[],"MacCapa":"8e","IEEE":"a4c1383480069696","Type":{},"ProfileID":{},"ZDeviceID":{},"App Version":"","Attributes List":{},"DeviceType":"FFD","HW Version":"","Last Cmds":[[1330,"02","b5b1","0100","010100000000000001fffd"],[1331,"02","b5b1","0100","010100000000000001fffe"],[1332,"02","b5b1","0100","010100000000000001ffe0"],[1333,"02","b5b1","0100","010100000000000001ffe1"],[1334,"02","b5b1","0100","010100000000000001ffe2"],[1335,"02","b5b1","0100","010100000000000001ffdf"],[1338,"02","b5b1","0092","010101"],[1339,"07","b5b1","0100","0101000600000000010000"],[1340,"02","b5b1","0092","010100"],[1341,"07","b5b1","0100","0101000600000000010000"]],"LogicalType":"Router","Manufacturer":"","Manufacturer Name":"_TZ3000_typdpbpg","NbEp":"2","PowerSource":"Main","ReadAttributes":{"Ep":{"01":{"0000":{"TimeStamp":"28/03/2022 17:46:17","iSQN":{"0000":1321,"0001":1322,"0002":1323,"0003":1324,"0004":1325,"0005":1326,"0006":1327,"0007":1328,"ffde":1329,"fffd":1330,"fffe":1331,"ffe0":1332,"ffe1":1333,"ffe2":1334,"ffdf":1335},"Attributes":{"0000":"00","0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0006":"00","0007":"00","ffde":"00","fffd":"00","fffe":"00","ffe0":"86","ffe1":"86","ffe2":"00","ffdf":"86"},"ZigateRequest":{}},"0702":{"TimeStamp":"28/03/2022 17:45:55","iSQN":{},"Attributes":{"0000":"00"},"ZigateRequest":{}},"0006":{"TimeStamp":"28/03/2022 17:56:38","iSQN":{"4001":1315,"4002":1316,"4003":1317,"8001":1318,"8002":1319,"fffd":1320,"0000":1341},"Attributes":{"4001":"00","4002":"00","4003":"86","5000":"00","8000":"00","8001":"00","8002":"00","fffd":"00","0000":"00"},"ZigateRequest":{}},"0019":{"TimeStamp":"28/03/2022 17:46:08","iSQN":{"0001":1304,"0002":1305,"0003":1306,"0004":1307,"0005":1308,"0006":1309,"0007":1310,"0008":1311,"0009":1312,"000a":1313},"Attributes":{"0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0007":"00","0008":"00","0009":"00","000a":"86"},"ZigateRequest":{}}},"f2":{"0000":{"TimeStamp":"28/03/2022 17:45:49","iSQN":{"0004":1295,"0005":1297},"Attributes":{},"ZigateRequest":{}}}}},"ReceiveOnIdle":"","Stack Version":"","Stamp":{"time":1648482998.781786,"Time":"2022-03-28 17:56:38","MsgType":"8102","LastSeen":"28/03/2022 17:56:38"},"ZCL Version":"","Health":"Not Reachable","Capability":["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"],"RollingLQI":[69,78,72,72,78,78,84,69,72,108,90],"Epv2":{"01":{"ClusterIn":{"0003":{},"0004":{},"0005":{},"0006":{},"0702":{},"0b04":{},"e001":{},"e000":{},"0000":{}},"ClusterOut":{"0019":{},"000a":{}},"ProfileID":"0104","ZDeviceID":"010a"},"f2":{"ClusterIn":{},"ClusterOut":{"0021":{}},"ProfileID":"a1e0","ZDeviceID":"0061"}},"WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0005":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000a":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"PairingInProgress":true}},"2":{"Time":"28/03/2022 17:45:56","Module":"Widget","nwkid":"b5b1","PluginHealth":"Enrollment in Progress","message":"MajDomoDevice NwkId: b5b1 status: 0043 not inDB","PermitToJoin":{"Duration":255,"Starttime":1648482655},"Thread":"ZiGateForwarder_15","DeviceInfos":{"Version":"3","ZDeviceName":"","Status":"0043","SQN":"c2","Heartbeat":"1","RIA":"0","LQI":75,"Battery":{},"Model":"TS011F","ForceAckCommands":[],"MacCapa":"8e","IEEE":"a4c1383480069696","Type":"","ProfileID":{},"ZDeviceID":{},"App Version":"","Attributes List":{},"DeviceType":"FFD","HW Version":"","Last Cmds":[[1330,"02","b5b1","0100","010100000000000001fffd"],[1331,"02","b5b1","0100","010100000000000001fffe"],[1332,"02","b5b1","0100","010100000000000001ffe0"],[1333,"02","b5b1","0100","010100000000000001ffe1"],[1334,"02","b5b1","0100","010100000000000001ffe2"],[1335,"02","b5b1","0100","010100000000000001ffdf"],[1338,"02","b5b1","0092","010101"],[1339,"07","b5b1","0100","0101000600000000010000"],[1340,"02","b5b1","0092","010100"],[1341,"07","b5b1","0100","0101000600000000010000"]],"LogicalType":"Router","Manufacturer":"","Manufacturer Name":"_TZ3000_typdpbpg","NbEp":"2","PowerSource":"Main","ReadAttributes":{"Ep":{"01":{"0000":{"TimeStamp":"28/03/2022 17:46:17","iSQN":{"0000":1321,"0001":1322,"0002":1323,"0003":1324,"0004":1325,"0005":1326,"0006":1327,"0007":1328,"ffde":1329,"fffd":1330,"fffe":1331,"ffe0":1332,"ffe1":1333,"ffe2":1334,"ffdf":1335},"Attributes":{"0000":"00","0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0006":"00","0007":"00","ffde":"00","fffd":"00","fffe":"00","ffe0":"86","ffe1":"86","ffe2":"00","ffdf":"86"},"ZigateRequest":{}},"0702":{"TimeStamp":"28/03/2022 17:45:55","iSQN":{},"Attributes":{"0000":"00"},"ZigateRequest":{}},"0006":{"TimeStamp":"28/03/2022 17:56:38","iSQN":{"4001":1315,"4002":1316,"4003":1317,"8001":1318,"8002":1319,"fffd":1320,"0000":1341},"Attributes":{"4001":"00","4002":"00","4003":"86","5000":"00","8000":"00","8001":"00","8002":"00","fffd":"00","0000":"00"},"ZigateRequest":{}},"0019":{"TimeStamp":"28/03/2022 17:46:08","iSQN":{"0001":1304,"0002":1305,"0003":1306,"0004":1307,"0005":1308,"0006":1309,"0007":1310,"0008":1311,"0009":1312,"000a":1313},"Attributes":{"0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0007":"00","0008":"00","0009":"00","000a":"86"},"ZigateRequest":{}}},"f2":{"0000":{"TimeStamp":"28/03/2022 17:45:49","iSQN":{"0004":1295,"0005":1297},"Attributes":{},"ZigateRequest":{}}}}},"ReceiveOnIdle":"","Stack Version":"","Stamp":{"time":1648482998.781786,"Time":"2022-03-28 17:56:38","MsgType":"8102","LastSeen":"28/03/2022 17:56:38"},"ZCL Version":"","Health":"Live","Capability":["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"],"RollingLQI":[69,78,72,72,78,78,84,69,72,108,90],"Epv2":{"01":{"ClusterIn":{"0003":{},"0004":{},"0005":{},"0006":{},"0702":{},"0b04":{},"e001":{},"e000":{},"0000":{}},"ClusterOut":{"0019":{},"000a":{}},"ProfileID":"0104","ZDeviceID":"010a"},"f2":{"ClusterIn":{},"ClusterOut":{"0021":{}},"ProfileID":"a1e0","ZDeviceID":"0061"}},"WriteAttributes":{"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0005":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0006":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000a":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"PairingInProgress":true,"ConfigSource":"DeviceConf","Ep":{"01":{"0000":{"0004":"_TZ3000_typdpbpg","0005":"TS011F","0000":"3","0001":"74","0002":"0","0003":"1","0006":"None","0007":"1","ffde":"13","fffd":"2","fffe":"0","ffe2":"53"},"0004":{},"0005":{},"0006":{"4001":"0","4002":"0","5000":"1","8000":"00","8001":"1","8002":"0","0000":"00","fffd":"2"},"000a":{},"0019":{"0001":"ffffffff","0002":"0000004a","0003":"0002","0004":"ffffffff","0005":"ffff","0007":"1141","0008":"ffff","0009":"0000"},"Type":"Switch","ClusterType":{"131":"Switch"}}}}},"LastLog":2,"StartTime":"25/03/2022 12:35:26","FirmwareVersion":"031e","FirmwareMajorVersion":"03","PluginVersion":"beta-5.2.101"},"1":{"0":{"Time":"28/03/2022 18:02:20","Module":"Input","nwkid":"None","PluginHealth":"Ready","message":"Decode8000 - PacketType: 0100 TypeSqn: 01 sqn_app: 13 sqn_aps: 3b Status: [E_ZCL_ERR_ZTRANSMIT_FAIL] ","PermitToJoin":{"Duration":0,"Starttime":1648483423},"Thread":"ZiGateForwarder_15"},"1":{"Time":"28/03/2022 18:02:20","Module":"Input","nwkid":"None","PluginHealth":"Ready","message":"Decode8000 - PacketType: 0100 TypeSqn: 01 sqn_app: 14 sqn_aps: 3c Status: [E_ZCL_ERR_ZTRANSMIT_FAIL] ","PermitToJoin":{"Duration":0,"Starttime":1648483423},"Thread":"ZiGateForwarder_15"},"LastLog":1,"StartTime":"28/03/2022 17:59:41","FirmwareVersion":"031e","FirmwareMajorVersion":"03","PluginVersion":["beta6-6.0.126"]},"LastLog":1}
Domoticz version 12239
plugin zigate MAJ ce jour. - 6. 0 .126 )
Firmware: Zigate - 031e

Merci d'avance pour ton implication
Dernière modification par brenten le 30 mars 2022, 22:10, modifié 3 fois.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Tuya Zigbee moniteur d'alimentation

Message par pipiche »

besoin d'information supplémentaire, merci de regarder ce qui est décrit ici

viewtopic.php?p=91403#p91403
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Tuya Zigbee moniteur d'alimentation

Message par pipiche »

peux-tu également essayer de passer sur la branche pipiche38/device/tuya/prise/_TZ3000_typdpbpg


pour cela

Code : Tout sélectionner

git pull
git checkout pipiche38/device/tuya/prise/_TZ3000_typdpbpg
git pull
supprimer le/les widgets qui ont été créés

relancer le plugin

refaire l'appairage
brenten
Messages : 50
Inscription : 10 déc. 2019, 18:28

Re: Tuya Zigbee moniteur d'alimentation

Message par brenten »

fait la manip sur la branche et pareil.

sinon pour le reste :
Version de DomoticZ
( 2020.2 - build 12239 )

Système sur lequel tourne DomoticZ avec le plugin (RPI3B+, Synology DS218J, PC Windows10, etc...)
( Rasbian )

Modèle de ZiGate (V1 ou V2)
( V2 )

Version de ZiGate (USB, Wifi, PiZiGate, Ethernet)
( Pizigate )

Version du firmware (numéro)
0.31e

Type de firmware (standard ou OptiPDM [dispo à partir de 3.1e])
probablement standard

Version du plugin
6.0.127

Branche du plugin (stable5, stable, beta)
pipiche ( du coup )


Marque de l’équipement
tuya

Modèle de l’équipement
Tuya Smart Life

Lien permettant de le commander
https://fr.aliexpress.com/item/4001118546894.html

Description du fonctionnement attendu, versus comportement observé
manque la remonté de consommation de courant / puissance

Le fichier d'export de la liste des objets RAW au format json comme décrit sur le wiki.

{"Battery":"","ConsistencyCheck":"ok","DeviceType":"FFD","Ep":[{"ClusterList":[{"0000":"Basic"},{"0004":"Groups"},{"0005":"Scenes"},{"0006":"On/Off"},{"000a":"Time"},{"0019":"Over-the-Air Upgrade"},{"0702":"Unknown"},{"e000":"Unknown"},{"e001":"Unknown"}],"Ep":"01"}],"Health":"Live","IEEE":"a4c1383480069696","LQI":87,"LastCmds":[{"CmdCode":"07","TimeStamps":"01/01/1970 01:00:02"},{"CmdCode":"07","TimeStamps":"01/01/1970 01:00:15"}],"LastSeen":"28/03/2022 21:30:52","LogicalType":"Router","Manufacturer":1002,"Model":"TS011F","PowerSource":"Main","ProfileID":"a1e0","Stamp":{"LastSeen":"28/03/2022 21:30:52","MsgType":"8100","Time":"2022-03-28 21:30:52","time":1648495852.4738686},"Status":"inDB","Type":"Switch","WidgetList":[{"WidgetName":"Zigate - TS011F_Switch-a4c1383480069696-01","WidgetType":"Switch","_WidgetID":"131"}],"ZDeviceID":"0061","_NwkId":"1e7c"}]


Logs lors de l'appairage et lors des manips de tests. L'idéal est d'utiliser la procédure Un fichier de log pour DomoticZ. Vous pourrez ensuite attacher le fichier de log avec votre post.

Merci de mettre les logs correspondant au démarrage de DomoticZ (avec le démarrage du plugin Zigate) et les différents essais d'appairage que vous pouvez faire.

Code : Tout sélectionner

2022-03-28 21:29:50.545 Status: Startup Path: /home/pi/domoticz/
2022-03-28 21:29:50.713 Status: PluginSystem: Started, Python version '3.7.3'.
2022-03-28 21:29:50.724 Status: WebServer(HTTP) started on address: :: with port 8080
2022-03-28 21:29:50.735 Status: WebServer(SSL) started on address: :: with port 443
2022-03-28 21:29:50.738 Status: Camera: settings (re)loaded
2022-03-28 21:29:50.789 Status: TCPServer: shared server started...
2022-03-28 21:29:50.790 Status: RxQueue: queue worker started...
2022-03-28 21:29:52.791 Status: Netatmo: Worker started...
2022-03-28 21:29:52.791 Status: (Zigate) Started.
2022-03-28 21:29:52.792 Status: (linky) Started.
2022-03-28 21:29:52.792 Status: EventSystem: reset all events...
2022-03-28 21:29:52.793 Status: NotificationSystem: thread started...
2022-03-28 21:29:52.795 Status: dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/test led.lua
2022-03-28 21:29:52.795 Status: EventSystem: reset all device statuses...
2022-03-28 21:29:53.103 Status: PluginSystem: Entering work loop.
2022-03-28 21:29:53.813 Status: MQTT: Connecting to localhost:1883
2022-03-28 21:29:54.015 Status: MQTT: connected to: localhost:1883
2022-03-28 21:29:54.216 Status: MQTT: Subscribed
2022-03-28 21:29:55.539 Status: (Zigate) Entering work loop.
2022-03-28 21:29:55.541 Status: (Zigate) Initialized version 6.0, author 'pipiche38'
2022-03-28 21:29:55.830 Status: (linky) Entering work loop.
2022-03-28 21:29:55.832 Status: (linky) Initialized version 2.4.3, author 'Barberousse'
2022-03-28 21:29:55.857 Status: (Zigate) PluginAnalytics set to 1
2022-03-28 21:29:55.858 Status: (Zigate) channel set to 11
2022-03-28 21:29:55.858 Status: (Zigate) filename set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-15.json
2022-03-28 21:29:55.858 Status: (Zigate) pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-03-28 21:29:55.858 Status: (Zigate) homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigate/
2022-03-28 21:29:55.858 Status: (Zigate) pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigate/Data/
2022-03-28 21:29:55.858 Status: (Zigate) pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigate/Conf/
2022-03-28 21:29:55.858 Status: (Zigate) pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2022-03-28 21:29:55.858 Status: (Zigate) pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigate/Reports/
2022-03-28 21:29:55.858 Status: (Zigate) pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigate/www/
2022-03-28 21:29:55.858 Status: (Zigate) pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigate/Logs/
2022-03-28 21:29:55.861 Status: (Zigate) Please watch plugin log into /home/pi/domoticz/plugins/Domoticz-Zigate/Logs//PluginZigbee_15.log
2022-03-28 21:29:55.876 Status: (Zigate) Zigate plugin beta6-6.0.127 started
2022-03-28 21:29:55.940 Status: (Zigate) DeviceConf loaded - 23 confs loaded
2022-03-28 21:29:56.331 Status: (Zigate) DeviceConf loaded - 331 confs loaded
2022-03-28 21:29:56.332 Status: (Zigate) load ListOfDevice
2022-03-28 21:29:56.970 Status: (Zigate) 25 Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-15.txt
2022-03-28 21:29:57.060 Status: (Zigate) Transport mode: PI
2022-03-28 21:29:57.157 Status: (Zigate) Python version: ['3.7.3 (default, Jan 22 2021, 20:04:44) ', '[GCC 8.3.0]'] dist: ('debian', '10.4', '') linux_distribution: ('debian', '10.4', '') system: Linux machine: armv7l platform: Linux-5.4.51-v7+-armv7l-with-debian-10.4 uname: uname_result(system='Linux', node='raspberrypi', release='5.4.51-v7+', version='#1333 SMP Mon Aug 10 16:45:19 BST 2020', machine='armv7l', processor='') version: #1333 SMP Mon Aug 10 16:45:19 BST 2020 mac_ver: ('', ('', '', ''), '')
2022-03-28 21:29:57.910 Status: (Zigate) ZigateTransport: Serial Connection open: Serial<id=0x6b0d8950, open=True>(port='/dev/ttyAMA0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=False, rtscts=False, dsrdtr=False)
2022-03-28 21:29:57.914 Status: (Zigate) ZigateTransport: writer_thread Thread start.
2022-03-28 21:29:57.925 Status: (Zigate) ZigateTransport: thread_processing_and_sending Thread start.
2022-03-28 21:29:57.935 Status: (Zigate) Start Web Server connection
2022-03-28 21:29:57.956 Status: (Zigate) Web backend for Web User Interface started on port: 9440
2022-03-28 21:29:57.975 Status: (linky) Log dans le fichier /tmp/DomoticzLinky_2022_03_28_21_29_57_0dht_32e.log pour le matériel linky avec la version 2.4.3 du plugin
2022-03-28 21:30:00.694 Status: Python EventSystem: Initalizing event module.
2022-03-28 21:30:00.695 Status: EventSystem: Started
2022-03-28 21:30:00.695 Status: EventSystem: Queue thread started...
2022-03-28 21:30:06.973 Status: (Zigate) Request Accepting new Hardware for 240 seconds
2022-03-28 21:30:07.051 Status: (Zigate) ==> Transport Mode switch to full mode
2022-03-28 21:30:07.416 Status: (Zigate) Accepting new Hardware: Enable (On)
2022-03-28 21:30:10.161 Status: (linky) Récupération des données avec l'historique court
2022-03-28 21:30:10.191 Status: (linky) Traitement pour le point de livraison 21392185202641
2022-03-28 21:30:15.567 Status: (Zigate) (55eb/a4c1383480069696) send a Leave indication and will be outside of the network. LQI: 0

2022-03-28 21:30:20.309 Status: (Zigate) self.ListOfDevices[55eb] removed! substitued by self.ListOfDevices[1e7c]
2022-03-28 21:30:20.383 Status: (Zigate) NetworkID: 1e7c is replacing 55eb for object: a4c1383480069696
2022-03-28 21:30:20.427 Status: (Zigate) Device Annoucement: NwkId: 1e7c Ieee: a4c1383480069696 MacCap: 8e
2022-03-28 21:30:20.862 Status: (Zigate) Installer Version Number: 031e
2022-03-28 21:30:20.862 Status: (Zigate) Branch Version: ==> Production <==
2022-03-28 21:30:30.937 Status: (Zigate) Zigbee Coordinator ieee: 00158d0001ede942 , short addr: 0000
2022-03-28 21:30:30.938 Status: (Zigate) Network state UP, PANID: ddde extPANID: 0xbea03261fb3736e5 Channel: 11
2022-03-28 21:30:35.767 Status: (Zigate) Request Disabling Accepting new Hardware
2022-03-28 21:30:36.360 Status: (Zigate) Accepting new Hardware: Disable (Off)
2022-03-28 21:30:36.470 Status: (Zigate) Number of devices recently active in Zigate = 13
2022-03-28 21:30:36.471 Status: (Zigate) [00] DevID: 00 Network addr: 18a3 IEEE: 00158d0005229906 LQI: 142 power: 00 Model: lumi.sensor_magnet.aq2 ( )
2022-03-28 21:30:36.472 Status: (Zigate) [01] DevID: 01 Network addr: be48 IEEE: 00158d0005225473 LQI: 149 power: 00 Model: lumi.sensor_magnet.aq2 ( )
2022-03-28 21:30:36.473 Status: (Zigate) [02] DevID: 02 Network addr: e68f IEEE: 00158d000522639d LQI: 140 power: 00 Model: lumi.sensor_magnet.aq2 ( )
2022-03-28 21:30:36.474 Status: (Zigate) [03] DevID: 03 Network addr: 285b IEEE: 00158d0005422e59 LQI: 122 power: 00 Model: lumi.sensor_magnet.aq2 ( )
2022-03-28 21:30:36.475 Status: (Zigate) [04] DevID: 04 Network addr: ac8e IEEE: 00158d00036b93b6 LQI: 113 power: 00 Model: lumi.sensor_ht ( )
2022-03-28 21:30:36.476 Status: (Zigate) [05] DevID: 05 Network addr: 6f08 IEEE: 00158d000446f801 LQI: 152 power: 00 Model: lumi.sensor_magnet.aq2 ( )
2022-03-28 21:30:36.477 Status: (Zigate) [06] DevID: 07 Network addr: 402d IEEE: 00158d00023a1da6 LQI: 135 power: 00 Model: lumi.sensor_switch.aq2 ( )
2022-03-28 21:30:36.478 Status: (Zigate) [07] DevID: 28 Network addr: 45dd IEEE: 0c4314fffef9dfab LQI: 147 power: 01 Model: TS011F-multiprise ( )
2022-03-28 21:30:36.479 Status: (Zigate) [08] DevID: 29 Network addr: b826 IEEE: bc33acfffe5797bf LQI: 108 power: 01 Model: TS011F ( )
2022-03-28 21:30:36.480 Status: (Zigate) [09] DevID: 2a Network addr: 0b9c IEEE: cc86ecfffee89490 LQI: 100 power: 01 Model: TS011F ( )
2022-03-28 21:30:36.481 Status: (Zigate) [10] DevID: 2b Network addr: 8f87 IEEE: bc33acfffe5917a9 LQI: 103 power: 01 Model: TS011F ( )
2022-03-28 21:30:36.482 Status: (Zigate) [11] DevID: 2c Network addr: 1b2c IEEE: bc33acfffe4f613c LQI: 069 power: 01 Model: TS011F ( )
2022-03-28 21:30:36.483 Status: (Zigate) [12] DevID: 2d Network addr: 1e7c IEEE: a4c1383480069696 LQI: 075 power: 01 Model: TS011F ( )
2022-03-28 21:30:40.781 Status: (Zigate) Zigate set to Certification : 1/CE -> CE
2022-03-28 21:30:40.815 Status: (Zigate) Plugin with Zigate, firmware 031e correctly initialized
2022-03-28 21:30:45.861 Status: (Zigate) There is a newer Zigate Firmware version available

2022-03-28 21:32:01.842 Status: Schedule item started! Name: Zigate - Pierre2, Type: On Time, DevID: 98, Time: 2022-03-28 21:32:01
2022-03-28 21:32:49.022 Status: (Zigate) Request Disabling Accepting new Hardware



2022-03-28 22:10:07.998 Status: Netatmo: cloud data for module [bureau] is now updated again
2022-03-28 22:13:01.227 Status: Schedule item started! Name: Zigate - Pierre2, Type: On Time, DevID: 98, Time: 2022-03-28 22:13:01

pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Tuya Zigbee moniteur d'alimentation

Message par pipiche »

Peux-tu attacher le fichier export.json liste des objets RAW.
brenten
Messages : 50
Inscription : 10 déc. 2019, 18:28

Re: Tuya Zigbee moniteur d'alimentation

Message par brenten »

voilà
j'ai du le zipper vu que le site ne veux pas les fichiers json.
( objet a4c1383480069696 )
export.zip
(12.17 Kio) Téléchargé 111 fois
Merci encore
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Tuya Zigbee moniteur d'alimentation

Message par pipiche »

dans quel ordre as-tu fait les manips ?

Il etait ecrit

1/ Update du plugin sur la branche idoine
2/ supprimer les widgets
3/ relancer le plugin

Si tu as fait la suppression des widget après avoir relancer, ca peut expliquer pourquoi ca ne fonctionne pas

Donc peux-tu re-essayer, et activer le parametre debugPairing avant de faire l'appairage.
Egalement vérifies que le device n'est plus present dans la liste des devices du plugin via le WebUI
brenten
Messages : 50
Inscription : 10 déc. 2019, 18:28

Re: Tuya Zigbee moniteur d'alimentation

Message par brenten »

je pense effectivement, que j'avais raté un truc :

j'avais fait git pull, suppression widget et restart service domoticz ( pensant que ça relançait le plugin ) ( et suppression de l'entrée dans le plugin )

là j'ai refais la même procédure + restart plugin ( vu que j'ai trouvé le bouton )
et l'appairage est OK

par contre pas trouvé l'endroit pour le debugpairing.

dans tous les cas ça fonctionne, il m'a juste claqué une erreur dans la log domoticz, c'est peut être pas grave, mais je la remonte au cas où.

2022-03-30 20:14:13.259 Error: (Zigate) Decode8000 - PacketType: 2c7b TypeSqn: 00 sqn_app: 00 sqn_aps: 00 Status: [Unhandled Command]

Code : Tout sélectionner

2022-03-30 20:13:30.735 Status: (Zigate) Request Accepting new Hardware for 240 seconds
2022-03-30 20:13:30.971 Status: (Zigate) Accepting new Hardware: Enable (On)
2022-03-30 20:13:45.566 Status: (Zigate) [None] NEW OBJECT: 2c7b None
2022-03-30 20:13:59.983 Status: (Zigate) [2] NEW OBJECT: 2c7b 0045
2022-03-30 20:14:00.052 Status: (Zigate) [-] NEW OBJECT: 2c7b Active Endpoint Response Ep: 01 LQI: 84
2022-03-30 20:14:00.053 Status: (Zigate) [-] NEW OBJECT: 2c7b Active Endpoint Response Ep: f2 LQI: 84
2022-03-30 20:14:00.055 Status: (Zigate) [-] NEW OBJECT: 2c7b Request Simple Descriptor for Ep: 01
2022-03-30 20:14:00.180 Status: (Zigate) [-] NEW OBJECT: 2c7b Simple Descriptor Response EP: 0x01 LQI: 84
2022-03-30 20:14:00.183 Status: (Zigate) [-] NEW OBJECT: 2c7b ProfileID 0104
2022-03-30 20:14:00.184 Status: (Zigate) [-] NEW OBJECT: 2c7b ZDeviceID 010a
2022-03-30 20:14:00.185 Status: (Zigate) [-] NEW OBJECT: 2c7b Application Version 0001
2022-03-30 20:14:00.186 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster IN Count: 09
2022-03-30 20:14:00.187 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 1: 0003 (Identify)
2022-03-30 20:14:00.188 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 2: 0004 (Groups)
2022-03-30 20:14:00.188 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 3: 0005 (Scenes)
2022-03-30 20:14:00.190 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 4: 0006 (On/Off)
2022-03-30 20:14:00.191 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 5: 0702
2022-03-30 20:14:00.195 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 6: 0b04 (Electrical Measurement)
2022-03-30 20:14:00.196 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 7: e001
2022-03-30 20:14:00.197 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 8: e000
2022-03-30 20:14:00.199 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster In 9: 0000 (Basic)
2022-03-30 20:14:00.200 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster OUT Count: 02
2022-03-30 20:14:00.201 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster Out 1: 0019 (Over-the-Air Upgrade)
2022-03-30 20:14:00.202 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster Out 2: 000a (Time)
2022-03-30 20:14:00.203 Status: (Zigate) [-] NEW OBJECT: 2c7b Request Simple Descriptor for Ep: f2
2022-03-30 20:14:00.315 Status: (Zigate) [-] NEW OBJECT: 2c7b Simple Descriptor Response EP: 0xf2 LQI: 81
2022-03-30 20:14:00.316 Status: (Zigate) [-] NEW OBJECT: 2c7b ProfileID a1e0
2022-03-30 20:14:00.317 Status: (Zigate) [-] NEW OBJECT: 2c7b ZDeviceID 0061
2022-03-30 20:14:00.317 Status: (Zigate) [-] NEW OBJECT: 2c7b Application Version 0000
2022-03-30 20:14:00.318 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster IN Count: 00
2022-03-30 20:14:00.319 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster OUT Count: 01
2022-03-30 20:14:00.320 Status: (Zigate) [-] NEW OBJECT: 2c7b Cluster Out 1: 0021
2022-03-30 20:14:04.978 Status: (Zigate) [None] NEW OBJECT: 2c7b Request Node Descriptor
2022-03-30 20:14:05.356 (Zigate) is_domoticz_db_available: Fashion: True , Major: 2020, Minor: 2
2022-03-30 20:14:05.356 (Zigate) is_domoticz_db_available: False due to Major
2022-03-30 20:14:05.474 (Zigate) UpdateDevice - (Zigate - Meter-a4c1383480069696-01) 0:0;0.0
2022-03-30 20:14:05.495 (Zigate) UpdateDevice - (Zigate - Meter-a4c1383480069696-01) 0:0;0.0
2022-03-30 20:14:05.615 (Zigate) UpdateDevice - (Zigate - Switch-a4c1383480069696-01) 0:Off
2022-03-30 20:14:05.011 Status: (Zigate) [None] NEW OBJECT: 2c7b Request Node Descriptor
2022-03-30 20:14:13.259 Error: (Zigate) Decode8000 - PacketType: 2c7b TypeSqn: 00 sqn_app: 00 sqn_aps: 00 Status: [Unhandled Command]
2022-03-30 20:14:15.981 (Zigate) UpdateDevice - (Zigate - Ampere-a4c1383480069696-01) 0:0.0
2022-03-30 20:14:16.005 (Zigate) UpdateDevice - (Zigate - Power-a4c1383480069696-01) 0.0:0
2022-03-30 20:14:16.029 (Zigate) UpdateDevice - (Zigate - Meter-a4c1383480069696-01) 0:0.0;
2022-03-30 20:14:16.040 (Zigate) UpdateDevice - (Zigate - Power-a4c1383480069696-01) 0.0:0
2022-03-30 20:14:16.063 (Zigate) UpdateDevice - (Zigate - Meter-a4c1383480069696-01) 0:0.0;
du coup, tu merges la modif ? et je repasse sur une version beta classique ?


cordialement
Cyril

Edit: étrangement j'ai des doublons, (que j'ai supprimé)
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Tuya Zigbee moniteur d'alimentation

Message par pipiche »

c'est mergé sur la beta6
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Tuya Zigbee moniteur d'alimentation

Message par pipiche »

pour ce qui est de ton erreur, j'ai eu 2 fois ce problème aujourd'hui, il semble spécifique à la zigate V2, j'ai loggué un bug report sur zigate https://github.com/fairecasoimeme/ZiGatev2/issues/35

je te recommande aussi de passer sur une dernière version du firmware Zigate, car la 31e avait quelques soucis
Répondre