[Résolu] Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
Répondre
psytgc
Messages : 95
Inscription : 30 juil. 2017, 12:10

[Résolu] Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par psytgc »

Bonjour

Tout est dans le titre mais je vais essayer de faire la demande en bonne et du forme.
Version de DomoticZ : 2023.2
Version de Python utilisée par DomoticZ 3.9.2
Système sur lequel tourne DomoticZ avec le plugin : orangepi zero 2
Modèle de coordinateur : Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001
Version de coordinateur : USB
Version du firmware : Znp - Z-Stack 3.30+ (build 20210708)
Type de firmware : standard
Version du Plugin: 7.1.004 [2.111]
Branche du plugin : stable7
Marque de l’équipement EARU Electric
Modèle de l’équipement PC311-Z-TY
Lien permettant de le commander https://fr.aliexpress.com/item/10050059 ... pt=glo2fra
Description du fonctionnement attendu remonter des mesure de Consommation sur les 2 pinces
Comportement observé, rien ne remonte pas dans le plugin
Le fichier d'export de la liste des objets non optimisés: j'ai appuyé sur le bouton orange, mais rien récupéré

les 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.

Code : Tout sélectionner

2023-10-29 20:14:36.983 Status: zigbee: Installer Version Number: Z-Stack 3.30+ (build 20210708)
2023-10-29 20:14:36.985 Status: zigbee: Branch Version: ==> CC1352/CC2652, Z-Stack 3.30+ (znp) <==
2023-10-29 20:14:36.986 Status: zigbee: Zigbee Coordinator ieee: 00124b002a2e87ca , short addr: 0000
2023-10-29 20:14:36.987 Status: zigbee: Network state UP, PANID: 9848 extPANID: 0x0a223b72fac8da28 Channel: 15
2023-10-29 20:14:45.100 Status: zigbee: Request Disabling Accepting new Hardware
2023-10-29 20:14:45.224 Status: zigbee: Accepting new Hardware: Disable (Off)
2023-10-29 20:14:50.073 Status: zigbee: coordinator set to Certification : 1/CE -> CE
2023-10-29 20:14:51.057 Status: zigbee: ota_scan_folder Following Firmware have been loaded
2023-10-29 20:14:51.058 Status: zigbee: Plugin with Zigpy, Coordinator CC1352/CC2652, Z-Stack 3.30+ (znp) firmware Znp - Z-Stack 3.30+ (build 20210708) correctly initialized
2023-10-29 20:14:54.384 Status: zigbee: Request Disabling Accepting new Hardware
2023-10-29 20:15:04.193 Error: zigbee: Decode 8041 - Receive an IEEE: 385cfbfffe2771ea with a NwkId: 4a89, seems not known by the plugin
2023-10-29 20:15:05.262 Error: zigbee: Decode 8041 - Receive an IEEE: 385cfbfffe2771ea with a NwkId: 4a89, seems not known by the plugin
2023-10-29 20:15:26.633 Status: New sensors allowed for 5 minutes...
2023-10-29 20:17:32.556 Status: zigbee: Request Accepting new Hardware for 240 seconds
2023-10-29 20:17:32.654 Status: zigbee: Accepting new Hardware: Enable (On)
2023-10-29 20:20:01.490 Status: Schedule item started! Name: Lampe M, Type: On Time, DevID: 26, Time: 2023-10-29 20:20:01
2023-10-29 20:20:01.492 Status: zigbee: [None] NEW OBJECT: a113 None
2023-10-29 20:20:02.116 Status: zigbee: [-] NEW OBJECT: a113 Active Endpoint Response Ep: 01 LQI: 0
2023-10-29 20:20:02.124 Status: zigbee: [-] NEW OBJECT: a113 Request Simple Descriptor for Ep: 01
2023-10-29 20:20:03.037 Status: zigbee: [-] NEW OBJECT: a113 Simple Descriptor Response EP: 0x01 LQI: 0
2023-10-29 20:20:03.038 Status: zigbee: [-] NEW OBJECT: a113 ProfileID 0104
2023-10-29 20:20:03.040 Status: zigbee: [-] NEW OBJECT: a113 ZDeviceID 0051
2023-10-29 20:20:03.042 Status: zigbee: [-] NEW OBJECT: a113 Application Version 0001
2023-10-29 20:20:03.043 Status: zigbee: [-] NEW OBJECT: a113 Cluster IN Count: 05
2023-10-29 20:20:03.046 Status: zigbee: [-] NEW OBJECT: a113 Cluster In 1: 0000 (Basic)
2023-10-29 20:20:03.048 Status: zigbee: [-] NEW OBJECT: a113 Cluster In 2: 0004 (Groups)
2023-10-29 20:20:03.050 Status: zigbee: [-] NEW OBJECT: a113 Cluster In 3: 0005 (Scenes)
2023-10-29 20:20:03.052 Status: zigbee: [-] NEW OBJECT: a113 Cluster In 4: ef00
2023-10-29 20:20:03.054 Status: zigbee: [-] NEW OBJECT: a113 Cluster In 5: ff66
2023-10-29 20:20:03.056 Status: zigbee: [-] NEW OBJECT: a113 Cluster OUT Count: 02
2023-10-29 20:20:03.058 Status: zigbee: [-] NEW OBJECT: a113 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2023-10-29 20:20:03.059 Status: zigbee: [-] NEW OBJECT: a113 Cluster Out 2: 000a (Time)
2023-10-29 20:20:05.090 Status: zigbee: [0] NEW OBJECT: a113 Model Name: TS0601
2023-10-29 20:20:05.097 Status: zigbee: [0] NEW OBJECT: a113 Manufacturer Name: _TZE200_rks0sgb7
2023-10-29 20:20:05.106 Status: zigbee: [None] NEW OBJECT: a113 Request Node Descriptor
2023-10-29 20:20:10.104 Status: zigbee: [1] NEW OBJECT: a113 Model Name: TS0601
2023-10-29 20:20:10.112 Status: zigbee: [1] NEW OBJECT: a113 Manufacturer Name: _TZE200_rks0sgb7
2023-10-29 20:20:15.123 Status: zigbee: [2] NEW OBJECT: a113 Model Name: TS0601
2023-10-29 20:20:15.130 Status: zigbee: [2] NEW OBJECT: a113 Manufacturer Name: _TZE200_rks0sgb7
2023-10-29 20:20:20.140 Status: zigbee: [3] NEW OBJECT: a113 Model Name: TS0601
2023-10-29 20:20:20.147 Status: zigbee: [3] NEW OBJECT: a113 Manufacturer Name: _TZE200_rks0sgb7
2023-10-29 20:20:20.185 Error: zigbee: processNotinDBDevices - Creat Domo Device Failed !!! for a113 status: 8043
2023-10-29 20:20:27.278 Status: Receiving of new sensors disabled!...
2023-10-29 20:21:32.610 Status: zigbee: Request Disabling Accepting new Hardware
2023-10-29 20:21:32.723 Status: zigbee: Accepting new Hardware: Disable (Off)
Je joins le fichier erreur.json du plugin.
J'ai trouvé ça aussi :https://github.com/Koenkk/zigbee2mqtt/issues/14790
J'espère que cela suffira pour mettre cet objet dans le plugin .
A mon avis, il ne manque pas grand-chose, du moins je l'espère.

Merci a vous
Cordialement
Pièces jointes
errors.json
(4.75 Kio) Téléchargé 94 fois
Dernière modification par psytgc le 15 nov. 2023, 19:29, modifié 1 fois.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par pipiche »

Il nous faut les infos du devices . Sans aucune intégration possible.
Merci
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par Keros »

Ah zut, le post était tellement fournit que je n'ai pas vu qu'il n'y avait pas l'export Json.
Désolé :oops:
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
psytgc
Messages : 95
Inscription : 30 juil. 2017, 12:10

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par psytgc »

Bonjour

Ok pour les infos du device.
j'ai ça dans la gestion des objets:
4921 385cfbfffe2771ea TS0601
FFD
RxonIdle
MainPower
153 UNKNOW Live
et j'ai le fichier json objet RAW car l export objet non optimisé ne me met qu un autre objet qui fonctionne mais est non optimiser.
Je n ai pas ce compteur d energie alors qu il apparait dans objet RAW
Pièces jointes
export-3.json
(70.69 Kio) Téléchargé 85 fois
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par pipiche »

je viens de regarder un peu cet objet qui comme les tuya n'est pas standard.
L'intégration n'est pas simple car:

Il permet de reporter des mesures sur 2 lignes distinctes
il permet de mesurer de la conso ou de la production
il permet de reporter les mesures consolidées des 2 lignes

cela va nécessiter des changements dans le code du plugin, donc c'est pas la priorité aujourd'hui car je bosse sur la sortie de l'update de Novembre.

Merci de créer un issue ici https://github.com/zigbeefordomoticz/z4 ... ces/issues pour pouvoir suivre l'intégration.

Il faudra également voir de ce qui doit etre intégré, de ce qui ne le sera pas
Veut-on vraiment ?
Ligne 1 + ligne 2 en plus de Ligne1 et de Ligne 2
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
psytgc
Messages : 95
Inscription : 30 juil. 2017, 12:10

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par psytgc »

Bonsoir

Merci pour le retour, j'avais cru voir que sur Home Assistant, il fonctionnait, mais peut-être pas en standard effectivement.

Je vais créer la demande sur le Github

Je n'ai pas d'urgence à le faire fonctionner, mais si c'était possible, merci d'avance.

Comme les Tuya n'ont pas l'air standard, as-tu une marque ou l'intégration est plus simple ?

En tout cas merci
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par pipiche »

En attendant il faudrait préciser ce qu'on attend coté Domoticz

- Voltage

- Ligne A , Ligne B, Ligne A+B
- Power
- Current
- Energy(Conso)
- Energy (Produced)

Soit : 13 Widgets créés pour cet objet . Qu'en penses -tu ?

Ensuite, peux-tu faire une mise à jour des modules python et relancer le plugin, puis refaire l'appairage après avoir supprimer les widget et le device du plugin

Code : Tout sélectionner

sudo python3 -m pip install -r requirements.txt --upgrade

tu devrais voir créer lezs widgets pour la ligne A, dis moi ce que ca donne
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
psytgc
Messages : 95
Inscription : 30 juil. 2017, 12:10

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par psytgc »

Bonsoir

voilà ce que j'ai sur le plugin

zigbee - TS0601-PC311-Z-TY_Switch-385cfbfffe2771ea-01
Meter L1
zigbee - TS0601-PC311-Z-TY_Voltage-385cfbfffe2771ea-01
zigbee - TS0601-PC311-Z-TY_Ampere-385cfbfffe2771ea-01
zigbee - TS0601-PC311-Z-TY_ConsoMeter-385cfbfffe2771ea-01
zigbee - TS0601-PC311-Z-TY_ProdPower-385cfbfffe2771ea-01
zigbee - TS0601-PC311-Z-TY_ProdMeter-385cfbfffe2771ea-01

et les widgets ont bien été créés
C'est déjà super par contre je vois pas de données remontés
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par pipiche »

Tu peux supprimer le Switch il n'a pas a etre là.

Meme pour le Voltage tu n'as pas de mesure ?

peux-tu me redonner un export.json

et également peux-tu activer les debug

TuyaTS0601
Tuya


et alors regarder dans les logs et les mettres ici
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
psytgc
Messages : 95
Inscription : 30 juil. 2017, 12:10

Re: Nouvel Objet : Compteur d'énergie bilatéral bidirectionnel Tuya Smart Zigbee

Message par psytgc »

Bonjour

J ai des valeurs quand je suis branché sur mes panneaux solaires uniquement dans Prodmeter et j ai 1 wat dans meter rien ailleurs
J ai activer les le debug dans le plugins avec tuya
Voici le resulat et je joint le report json

Code : Tout sélectionner

2023-10-31 13:24:12,443 INFO    :b'    TransId: bf'
2023-10-31 13:24:12,445 INFO    :b'    working on remaining payload 0102000400000010 idx: 10'
2023-10-31 13:24:12,447 INFO    :b'        dp: 1'
2023-10-31 13:24:12,448 INFO    :b'        datatype: 2'
2023-10-31 13:24:12,450 INFO    :b'        len_data: 8'
2023-10-31 13:24:12,451 INFO    :b'        data: 00000010'
2023-10-31 13:24:12,453 INFO    :b'tuyaReadRawAPS - command 02 dp: 1 dt: 2 len: 8 data: 00000010 idx: 26'
2023-10-31 13:24:12,455 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 01 dt: 02 data: 00000010'
2023-10-31 13:24:12,457 INFO    :b"ts0601_response - unknow dp 009a 01 2 00000010 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:12,458 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 01 data type: 2 data: 00000010'
2023-10-31 13:24:13,415 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 33 cmd: 02 Payload: 19330200c00202000400000042'
2023-10-31 13:24:13,416 INFO    :b'    status: 00'
2023-10-31 13:24:13,417 INFO    :b'    TransId: c0'
2023-10-31 13:24:13,418 INFO    :b'    working on remaining payload 0202000400000042 idx: 10'
2023-10-31 13:24:13,419 INFO    :b'        dp: 2'
2023-10-31 13:24:13,421 INFO    :b'        datatype: 2'
2023-10-31 13:24:13,422 INFO    :b'        len_data: 8'
2023-10-31 13:24:13,423 INFO    :b'        data: 00000042'
2023-10-31 13:24:13,424 INFO    :b'tuyaReadRawAPS - command 02 dp: 2 dt: 2 len: 8 data: 00000042 idx: 26'
2023-10-31 13:24:13,425 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 02 dt: 02 data: 00000042'
2023-10-31 13:24:13,426 INFO    :b"ts0601_response - unknow dp 009a 02 2 00000042 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:13,427 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 02 data type: 2 data: 00000042'
2023-10-31 13:24:14,112 INFO    :b'UpdateDevice - (Alim Prise Zigbee1) 0:233.0;233.0'
2023-10-31 13:24:14,413 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 34 cmd: 02 Payload: 19340200c16502000400000010'
2023-10-31 13:24:14,415 INFO    :b'    status: 00'
2023-10-31 13:24:14,417 INFO    :b'    TransId: c1'
2023-10-31 13:24:14,418 INFO    :b'    working on remaining payload 6502000400000010 idx: 10'
2023-10-31 13:24:14,419 INFO    :b'        dp: 101'
2023-10-31 13:24:14,420 INFO    :b'        datatype: 2'
2023-10-31 13:24:14,421 INFO    :b'        len_data: 8'
2023-10-31 13:24:14,422 INFO    :b'        data: 00000010'
2023-10-31 13:24:14,423 INFO    :b'tuyaReadRawAPS - command 02 dp: 101 dt: 2 len: 8 data: 00000010 idx: 26'
2023-10-31 13:24:14,424 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 65 dt: 02 data: 00000010'
2023-10-31 13:24:15,426 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 35 cmd: 02 Payload: 19350200c26702000400000000'
2023-10-31 13:24:15,427 INFO    :b'    status: 00'
2023-10-31 13:24:15,429 INFO    :b'    TransId: c2'
2023-10-31 13:24:15,430 INFO    :b'    working on remaining payload 6702000400000000 idx: 10'
2023-10-31 13:24:15,432 INFO    :b'        dp: 103'
2023-10-31 13:24:15,434 INFO    :b'        datatype: 2'
2023-10-31 13:24:15,435 INFO    :b'        len_data: 8'
2023-10-31 13:24:15,437 INFO    :b'        data: 00000000'
2023-10-31 13:24:15,438 INFO    :b'tuyaReadRawAPS - command 02 dp: 103 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 13:24:15,440 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 67 dt: 02 data: 00000000'
2023-10-31 13:24:15,442 INFO    :b"ts0601_response - unknow dp 009a 67 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:15,444 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 67 data type: 2 data: 00000000'
2023-10-31 13:24:16,432 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 36 cmd: 02 Payload: 19360200c3660200040000002c'
2023-10-31 13:24:16,434 INFO    :b'    status: 00'
2023-10-31 13:24:16,436 INFO    :b'    TransId: c3'
2023-10-31 13:24:16,438 INFO    :b'    working on remaining payload 660200040000002c idx: 10'
2023-10-31 13:24:16,439 INFO    :b'        dp: 102'
2023-10-31 13:24:16,441 INFO    :b'        datatype: 2'
2023-10-31 13:24:16,443 INFO    :b'        len_data: 8'
2023-10-31 13:24:16,445 INFO    :b'        data: 0000002c'
2023-10-31 13:24:16,447 INFO    :b'tuyaReadRawAPS - command 02 dp: 102 dt: 2 len: 8 data: 0000002c idx: 26'
2023-10-31 13:24:16,448 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 66 dt: 02 data: 0000002c'
2023-10-31 13:24:16,451 INFO    :b"ts0601_response - unknow dp 009a 66 2 0000002c {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:16,453 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 66 data type: 2 data: 0000002c'
2023-10-31 13:24:17,430 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 37 cmd: 02 Payload: 19370200c46802000400000016'
2023-10-31 13:24:17,432 INFO    :b'    status: 00'
2023-10-31 13:24:17,434 INFO    :b'    TransId: c4'
2023-10-31 13:24:17,436 INFO    :b'    working on remaining payload 6802000400000016 idx: 10'
2023-10-31 13:24:17,438 INFO    :b'        dp: 104'
2023-10-31 13:24:17,439 INFO    :b'        datatype: 2'
2023-10-31 13:24:17,441 INFO    :b'        len_data: 8'
2023-10-31 13:24:17,443 INFO    :b'        data: 00000016'
2023-10-31 13:24:17,445 INFO    :b'tuyaReadRawAPS - command 02 dp: 104 dt: 2 len: 8 data: 00000016 idx: 26'
2023-10-31 13:24:17,447 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 68 dt: 02 data: 00000016'
2023-10-31 13:24:17,449 INFO    :b"ts0601_response - unknow dp 009a 68 2 00000016 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:17,451 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 68 data type: 2 data: 00000016'
2023-10-31 13:24:18,428 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 38 cmd: 02 Payload: 19380200c56a02000400000950'
2023-10-31 13:24:18,435 INFO    :b'    status: 00'
2023-10-31 13:24:18,442 INFO    :b'    TransId: c5'
2023-10-31 13:24:18,445 INFO    :b'    working on remaining payload 6a02000400000950 idx: 10'
2023-10-31 13:24:18,447 INFO    :b'        dp: 106'
2023-10-31 13:24:18,449 INFO    :b'        datatype: 2'
2023-10-31 13:24:18,450 INFO    :b'        len_data: 8'
2023-10-31 13:24:18,452 INFO    :b'        data: 00000950'
2023-10-31 13:24:18,454 INFO    :b'tuyaReadRawAPS - command 02 dp: 106 dt: 2 len: 8 data: 00000950 idx: 26'
2023-10-31 13:24:18,456 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6a dt: 02 data: 00000950'
2023-10-31 13:24:19,423 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 39 cmd: 02 Payload: 19390200c66b02000400001375'
2023-10-31 13:24:19,430 INFO    :b'    status: 00'
2023-10-31 13:24:19,437 INFO    :b'    TransId: c6'
2023-10-31 13:24:19,439 INFO    :b'    working on remaining payload 6b02000400001375 idx: 10'
2023-10-31 13:24:19,441 INFO    :b'        dp: 107'
2023-10-31 13:24:19,443 INFO    :b'        datatype: 2'
2023-10-31 13:24:19,445 INFO    :b'        len_data: 8'
2023-10-31 13:24:19,447 INFO    :b'        data: 00001375'
2023-10-31 13:24:19,449 INFO    :b'tuyaReadRawAPS - command 02 dp: 107 dt: 2 len: 8 data: 00001375 idx: 26'
2023-10-31 13:24:19,451 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6b dt: 02 data: 00001375'
2023-10-31 13:24:19,478 INFO    :b'UpdateDevice - (   ProdMeter-L1) 0:49'
2023-10-31 13:24:20,397 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 3a cmd: 02 Payload: 193a0200c76e02000400000000'
2023-10-31 13:24:20,398 INFO    :b'    status: 00'
2023-10-31 13:24:20,399 INFO    :b'    TransId: c7'
2023-10-31 13:24:20,401 INFO    :b'    working on remaining payload 6e02000400000000 idx: 10'
2023-10-31 13:24:20,402 INFO    :b'        dp: 110'
2023-10-31 13:24:20,403 INFO    :b'        datatype: 2'
2023-10-31 13:24:20,404 INFO    :b'        len_data: 8'
2023-10-31 13:24:20,405 INFO    :b'        data: 00000000'
2023-10-31 13:24:20,406 INFO    :b'tuyaReadRawAPS - command 02 dp: 110 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 13:24:20,407 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6e dt: 02 data: 00000000'
2023-10-31 13:24:20,409 INFO    :b"ts0601_response - unknow dp 009a 6e 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:20,410 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6e data type: 2 data: 00000000'
2023-10-31 13:24:21,393 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 3b cmd: 02 Payload: 193b0200c86c020004fffffb6b'
2023-10-31 13:24:21,394 INFO    :b'    status: 00'
2023-10-31 13:24:21,395 INFO    :b'    TransId: c8'
2023-10-31 13:24:21,396 INFO    :b'    working on remaining payload 6c020004fffffb6b idx: 10'
2023-10-31 13:24:21,398 INFO    :b'        dp: 108'
2023-10-31 13:24:21,399 INFO    :b'        datatype: 2'
2023-10-31 13:24:21,400 INFO    :b'        len_data: 8'
2023-10-31 13:24:21,401 INFO    :b'        data: fffffb6b'
2023-10-31 13:24:21,402 INFO    :b'tuyaReadRawAPS - command 02 dp: 108 dt: 2 len: 8 data: fffffb6b idx: 26'
2023-10-31 13:24:21,403 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6c dt: 02 data: fffffb6b'
2023-10-31 13:24:21,405 INFO    :b"ts0601_response - unknow dp 009a 6c 2 fffffb6b {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:21,406 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6c data type: 2 data: fffffb6b'
2023-10-31 13:24:22,416 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 3c cmd: 02 Payload: 193c0200c96f02000400000000'
2023-10-31 13:24:22,418 INFO    :b'    status: 00'
2023-10-31 13:24:22,420 INFO    :b'    TransId: c9'
2023-10-31 13:24:22,422 INFO    :b'    working on remaining payload 6f02000400000000 idx: 10'
2023-10-31 13:24:22,424 INFO    :b'        dp: 111'
2023-10-31 13:24:22,426 INFO    :b'        datatype: 2'
2023-10-31 13:24:22,428 INFO    :b'        len_data: 8'
2023-10-31 13:24:22,429 INFO    :b'        data: 00000000'
2023-10-31 13:24:22,431 INFO    :b'tuyaReadRawAPS - command 02 dp: 111 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 13:24:22,433 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6f dt: 02 data: 00000000'
2023-10-31 13:24:22,435 INFO    :b"ts0601_response - unknow dp 009a 6f 2 00000000 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:22,437 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6f data type: 2 data: 00000000'
2023-10-31 13:24:23,414 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 3d cmd: 02 Payload: 193d0200ca09020004fffffb51'
2023-10-31 13:24:23,416 INFO    :b'    status: 00'
2023-10-31 13:24:23,418 INFO    :b'    TransId: ca'
2023-10-31 13:24:23,420 INFO    :b'    working on remaining payload 09020004fffffb51 idx: 10'
2023-10-31 13:24:23,422 INFO    :b'        dp: 9'
2023-10-31 13:24:23,423 INFO    :b'        datatype: 2'
2023-10-31 13:24:23,425 INFO    :b'        len_data: 8'
2023-10-31 13:24:23,427 INFO    :b'        data: fffffb51'
2023-10-31 13:24:23,429 INFO    :b'tuyaReadRawAPS - command 02 dp: 9 dt: 2 len: 8 data: fffffb51 idx: 26'
2023-10-31 13:24:23,431 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 09 dt: 02 data: fffffb51'
2023-10-31 13:24:23,433 INFO    :b"ts0601_response - unknow dp 009a 09 2 fffffb51 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:23,435 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 09 data type: 2 data: fffffb51'
2023-10-31 13:24:24,411 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 3e cmd: 02 Payload: 193e0200cb6d02000400000061'
2023-10-31 13:24:24,414 INFO    :b'    status: 00'
2023-10-31 13:24:24,418 INFO    :b'    TransId: cb'
2023-10-31 13:24:24,420 INFO    :b'    working on remaining payload 6d02000400000061 idx: 10'
2023-10-31 13:24:24,422 INFO    :b'        dp: 109'
2023-10-31 13:24:24,423 INFO    :b'        datatype: 2'
2023-10-31 13:24:24,425 INFO    :b'        len_data: 8'
2023-10-31 13:24:24,427 INFO    :b'        data: 00000061'
2023-10-31 13:24:24,429 INFO    :b'tuyaReadRawAPS - command 02 dp: 109 dt: 2 len: 8 data: 00000061 idx: 26'
2023-10-31 13:24:24,431 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 6d dt: 02 data: 00000061'
2023-10-31 13:24:24,433 INFO    :b"ts0601_response - unknow dp 009a 6d 2 00000061 {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:24,435 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 6d data type: 2 data: 00000061'
2023-10-31 13:24:25,402 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 3f cmd: 02 Payload: 193f0200cc7002000400000000'
2023-10-31 13:24:25,409 INFO    :b'    status: 00'
2023-10-31 13:24:25,414 INFO    :b'    TransId: cc'
2023-10-31 13:24:25,416 INFO    :b'    working on remaining payload 7002000400000000 idx: 10'
2023-10-31 13:24:25,417 INFO    :b'        dp: 112'
2023-10-31 13:24:25,419 INFO    :b'        datatype: 2'
2023-10-31 13:24:25,421 INFO    :b'        len_data: 8'
2023-10-31 13:24:25,422 INFO    :b'        data: 00000000'
2023-10-31 13:24:25,424 INFO    :b'tuyaReadRawAPS - command 02 dp: 112 dt: 2 len: 8 data: 00000000 idx: 26'
2023-10-31 13:24:25,426 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 70 dt: 02 data: 00000000'
2023-10-31 13:24:26,407 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 40 cmd: 02 Payload: 19400200cd7102000400000032'
2023-10-31 13:24:26,415 INFO    :b'    status: 00'
2023-10-31 13:24:26,421 INFO    :b'    TransId: cd'
2023-10-31 13:24:26,424 INFO    :b'    working on remaining payload 7102000400000032 idx: 10'
2023-10-31 13:24:26,426 INFO    :b'        dp: 113'
2023-10-31 13:24:26,428 INFO    :b'        datatype: 2'
2023-10-31 13:24:26,430 INFO    :b'        len_data: 8'
2023-10-31 13:24:26,432 INFO    :b'        data: 00000032'
2023-10-31 13:24:26,434 INFO    :b'tuyaReadRawAPS - command 02 dp: 113 dt: 2 len: 8 data: 00000032 idx: 26'
2023-10-31 13:24:26,436 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 71 dt: 02 data: 00000032'
2023-10-31 13:24:27,404 INFO    :b'tuyaReadRawAPS - 009a/01 fcf: 19 sqn: 41 cmd: 02 Payload: 19410200ce69020004000014ff'
2023-10-31 13:24:27,407 INFO    :b'    status: 00'
2023-10-31 13:24:27,408 INFO    :b'    TransId: ce'
2023-10-31 13:24:27,410 INFO    :b'    working on remaining payload 69020004000014ff idx: 10'
2023-10-31 13:24:27,412 INFO    :b'        dp: 105'
2023-10-31 13:24:27,414 INFO    :b'        datatype: 2'
2023-10-31 13:24:27,416 INFO    :b'        len_data: 8'
2023-10-31 13:24:27,418 INFO    :b'        data: 000014ff'
2023-10-31 13:24:27,419 INFO    :b'tuyaReadRawAPS - command 02 dp: 105 dt: 2 len: 8 data: 000014ff idx: 26'
2023-10-31 13:24:27,421 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: 009a/01 dp: 69 dt: 02 data: 000014ff'
2023-10-31 13:24:27,424 INFO    :b"ts0601_response - unknow dp 009a 69 2 000014ff {'65': {'store_tuya_attribute': 'Power', 'EvalExp': 'value / 10', 'sensor_type': 'power', 'domo_round': 2}, '70': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value / 10', 'sensor_type': 'voltage', 'domo_round': 2}, '71': {'store_tuya_attribute': 'Current', 'EvalExp': 'value / 1000', 'sensor_type': 'current', 'domo_round': 2}, '6a': {'store_tuya_attribute': 'Meter', 'sensor_type': 'cons_metering', 'EvalExp': 'value / 100', 'domo_round': 3}, '6b': {'store_tuya_attribute': 'ProducedEnergy', 'sensor_type': 'prod_metering', 'EvalExp': 'value / 100', 'domo_round': 3}}"
2023-10-31 13:24:27,426 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: 009a/01 dp: 69 data type: 2 data: 000014ff'

Merci
Pièces jointes
export-4.json
(71.5 Kio) Téléchargé 82 fois
Répondre