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

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
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

Eh bien cela ne fonctionne pas chez moi, je n'ai pas la création des boutons power factor.
j'ai bien les autres :
Ampérage
Puissance consommée
Puissance produite
Énergie Consommée
Énergie Produite

Et le voltage du module qui varie bien
Étrange, car l'appairée s'est bien passée et je suis sûr du phase neutre.
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

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

Message par pipiche »

Sur quelle branche du plug-in es-tu ?
Et quelle version de la base des modules [2.???]

Envoyé de mon iPhone en utilisant Tapatalk
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 »

je suis en Plugin: 7.1.004 [2.134] la branche, je ne sais pas où le voir, mais j'étais en bêta je crois.
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 »

git checkout wip-stable7-1-005
git pull
sudo python3 -m pip install -r requirements.txt --upgrade

supprimer l'ensemble des widgets dejà créées pour repartir de zero avec ce device

relancer le plugin

vérifier qu'il n'y a pas de trace du device dans le plugin ni dans domoticz
alors faire l'appairage
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

toujours pareil, je n'ai pas power factor
je n'arrive pas à passer au 7.1.005
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 »

la 7.1.005 n'existe pas.

que donne la commande

Code : Tout sélectionner

 git status
?

que donne la commande

Code : Tout sélectionner

 git log
que donne la commande

Code : Tout sélectionner

git log | head
quel sont les logs (domoticz et plugin) d'appairage ?
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
Keros
Messages : 6638
Inscription : 23 juil. 2019, 20:57

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

Message par Keros »

psytgc a écrit : 13 nov. 2023, 21:56 je n'arrive pas à passer au 7.1.005
Tant que la mise à jour stable 7.1.005 n'est pas sortie, le numéro de version reste en 7.1.004 (même si tu es passé sur la branche wip-stable7-1-005).

Si le git status indique que tu es sur la branche wip-stable7-1-005 et qu'ensuite un git pull indique Déjà à jour, tu as bien la version du plugin que Pipiche te demande de tester.
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 »

bonsoir
j ai bien la version du plugin qu il faut.
git log | head me donne:
commit dca78c73b265cb8beaa19df0b1ec93f078ccfc8b
Author: Patrick Pichon <patrick@pichon.me>
Date: Mon Nov 13 19:21:14 2023 +0100

instrument with GC

commit 3d9008104bf2f3a8fd573cd31820e5b3b770d259
Author: Pipiche <8291674+pipiche38@users.noreply.github.com>
Date: Mon Nov 13 16:30:11 2023 +0100

je refais un appairage ce soir
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 »

Et quelle version de la base des certified devices ?

Puis a l’appairage vérifiés les logs
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 »

JE vois ou les certified devices?

voici les log lors de l appairage :

Code : Tout sélectionner

2023-11-14 18:27:34,351 INFO    :b'Request Accepting new Hardware for 240 seconds '
2023-11-14 18:27:34,451 INFO    :b"PERMIT-TO-JOIN: {'cmd': 'PERMIT-TO-JOIN', 'datas': {'Duration': 240, 'targetRouter': 'FFFC'}, 'NwkId': None, 'TimeStamp': 1699982854.348635, 'ACKIsDisable': False, 'Sqn': None}"
2023-11-14 18:27:34,452 INFO    :b'PERMIT-TO-JOIN: duration: 240 for Radio: znp for node: None'
2023-11-14 18:27:34,453 INFO    :b'Calling self.app.permit(time_s=240, node=None )'
2023-11-14 18:27:34,477 INFO    :b'Accepting new Hardware: Enable (On)'
2023-11-14 18:27:34,490 INFO    :b'returning from the self.app.permit(time_s=240, node=None )'
2023-11-14 18:28:41,632 INFO    :b'UpdateDevice - (Alim Prise Zigbee1) 0:230.0;230.0'
2023-11-14 18:30:33,766 INFO    :b'--> Adding device b519 in self.DevicesInPairingMode'
2023-11-14 18:30:33,769 INFO    :b"--> ['b519']"
2023-11-14 18:30:33,777 INFO    :b'[None] NEW OBJECT: b519 None'
2023-11-14 18:30:41,952 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 00 cmd: 02 Payload: 19000200010102000400000000'
2023-11-14 18:30:41,956 INFO    :b'    status: 00'
2023-11-14 18:30:41,959 INFO    :b'    TransId: 01'
2023-11-14 18:30:41,960 INFO    :b'    working on remaining payload 0102000400000000 idx: 10'
2023-11-14 18:30:41,962 INFO    :b'        dp: 1'
2023-11-14 18:30:41,964 INFO    :b'        datatype: 2'
2023-11-14 18:30:41,965 INFO    :b'        len_data: 8'
2023-11-14 18:30:41,967 INFO    :b'        data: 00000000'
2023-11-14 18:30:41,969 INFO    :b'tuyaReadRawAPS - command 02 dp: 1 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:41,970 INFO    :b'tuya_response - Model:  Nwkid: b519/01 dp: 01 dt: 02 data: 00000000'
2023-11-14 18:30:41,972 INFO    :b'tuya_response - Model:  Nwkid: b519/01 dp: 01 dt: 02 data: 00000000'
2023-11-14 18:30:41,973 INFO    :b'ts0601_response - b519  1 2 00000000'
2023-11-14 18:30:41,975 INFO    :b'tuya_watertimer_response - Model:  Nwkid: b519/01 dp: 01 data type: 02 data: 00000000'
2023-11-14 18:30:42,791 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 01 cmd: 02 Payload: 19010200020202000400000000'
2023-11-14 18:30:42,795 INFO    :b'    status: 00'
2023-11-14 18:30:42,797 INFO    :b'    TransId: 02'
2023-11-14 18:30:42,798 INFO    :b'    working on remaining payload 0202000400000000 idx: 10'
2023-11-14 18:30:42,800 INFO    :b'        dp: 2'
2023-11-14 18:30:42,802 INFO    :b'        datatype: 2'
2023-11-14 18:30:42,803 INFO    :b'        len_data: 8'
2023-11-14 18:30:42,805 INFO    :b'        data: 00000000'
2023-11-14 18:30:42,806 INFO    :b'tuyaReadRawAPS - command 02 dp: 2 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:42,808 INFO    :b'tuya_response - Model:  Nwkid: b519/01 dp: 02 dt: 02 data: 00000000'
2023-11-14 18:30:42,810 INFO    :b'tuya_response - Model:  Nwkid: b519/01 dp: 02 dt: 02 data: 00000000'
2023-11-14 18:30:42,811 INFO    :b'ts0601_response - b519  2 2 00000000'
2023-11-14 18:30:42,813 INFO    :b'tuya_watertimer_response - Model:  Nwkid: b519/01 dp: 02 data type: 02 data: 00000000'
2023-11-14 18:30:43,788 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 02 cmd: 02 Payload: 19020200036502000400000000'
2023-11-14 18:30:43,793 INFO    :b'    status: 00'
2023-11-14 18:30:43,795 INFO    :b'    TransId: 03'
2023-11-14 18:30:43,796 INFO    :b'    working on remaining payload 6502000400000000 idx: 10'
2023-11-14 18:30:43,798 INFO    :b'        dp: 101'
2023-11-14 18:30:43,800 INFO    :b'        datatype: 2'
2023-11-14 18:30:43,801 INFO    :b'        len_data: 8'
2023-11-14 18:30:43,803 INFO    :b'        data: 00000000'
2023-11-14 18:30:43,804 INFO    :b'tuyaReadRawAPS - command 02 dp: 101 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:43,806 INFO    :b'tuya_response - Model:  Nwkid: b519/01 dp: 65 dt: 02 data: 00000000'
2023-11-14 18:30:43,808 INFO    :b'tuya_response - Model:  Nwkid: b519/01 dp: 65 dt: 02 data: 00000000'
2023-11-14 18:30:43,809 INFO    :b'ts0601_response - b519  101 2 00000000'
2023-11-14 18:30:43,811 INFO    :b'tuya_watertimer_response - Model:  Nwkid: b519/01 dp: 65 data type: 02 data: 00000000'
2023-11-14 18:30:44,129 INFO    :b'[2] NEW OBJECT: b519 0045'
2023-11-14 18:30:44,326 INFO    :b'Decode8046 - Match Descriptor response: SQN: 02 Status: 00 Nwkid: b519 Lenght: 00 List: '
2023-11-14 18:30:44,734 INFO    :b'[-] NEW OBJECT: b519 Active Endpoint Response Ep: 01 LQI: 0'
2023-11-14 18:30:44,735 INFO    :b'--> Not full scope'
2023-11-14 18:30:44,736 INFO    :b'--> Build list of Attributes'
2023-11-14 18:30:44,737 INFO    :b'--> ListOfEp with 0x0000: []'
2023-11-14 18:30:44,737 INFO    :b"--> Build list Eps for Cluster Basic ['01']"
2023-11-14 18:30:44,738 INFO    :b'Request Basic  Manufacturer via Read Attribute request: 0004'
2023-11-14 18:30:44,739 INFO    :b'Request Basic  Model Name via Read Attribute request: 0005'
2023-11-14 18:30:44,740 INFO    :b"EP: {'01': {}} Attributes: [4, 5]"
2023-11-14 18:30:44,742 INFO    :b'[-] NEW OBJECT: b519 Request Simple Descriptor for Ep: 01'
2023-11-14 18:30:45,070 INFO    :b'[-] NEW OBJECT: b519 Active Endpoint Response Ep: 01 LQI: 0'
2023-11-14 18:30:45,077 INFO    :b'--> Not full scope'
2023-11-14 18:30:45,079 INFO    :b'--> Build list of Attributes'
2023-11-14 18:30:45,080 INFO    :b'--> ListOfEp with 0x0000: []'
2023-11-14 18:30:45,081 INFO    :b"--> Build list Eps for Cluster Basic ['01']"
2023-11-14 18:30:45,082 INFO    :b'Request Basic  Manufacturer via Read Attribute request: 0004'
2023-11-14 18:30:45,083 INFO    :b'Request Basic  Model Name via Read Attribute request: 0005'
2023-11-14 18:30:45,084 INFO    :b"EP: {'01': {}} Attributes: [4, 5]"
2023-11-14 18:30:45,778 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 04 cmd: 02 Payload: 19040200056602000400000000'
2023-11-14 18:30:45,779 INFO    :b'    status: 00'
2023-11-14 18:30:45,780 INFO    :b'    TransId: 05'
2023-11-14 18:30:45,781 INFO    :b'    working on remaining payload 6602000400000000 idx: 10'
2023-11-14 18:30:45,782 INFO    :b'        dp: 102'
2023-11-14 18:30:45,783 INFO    :b'        datatype: 2'
2023-11-14 18:30:45,784 INFO    :b'        len_data: 8'
2023-11-14 18:30:45,785 INFO    :b'        data: 00000000'
2023-11-14 18:30:45,786 INFO    :b'tuyaReadRawAPS - command 02 dp: 102 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:45,787 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 66 dt: 02 data: 00000000'
2023-11-14 18:30:45,787 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 66 dt: 02 data: 00000000'
2023-11-14 18:30:45,788 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 102 2 00000000'
2023-11-14 18:30:45,789 INFO    :b'                - value: 0'
2023-11-14 18:30:45,790 INFO    :b"                - dps_mapping[ 66 ]: {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value * 10', 'sensor_type': 'prod_metering', 'domo_round': 3} (<class 'dict'>)"
2023-11-14 18:30:45,791 INFO    :b'                - after evaluate_expression_with_data() value: 0'
2023-11-14 18:30:45,792 INFO    :b"sensor_type - b519 01 0 102 2 00000000 {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value * 10', 'sensor_type': 'prod_metering', 'domo_round': 3}"
2023-11-14 18:30:45,793 INFO    :b'                - Ep to be used for domo update 01'
2023-11-14 18:30:45,794 INFO    :b'                - after sensor_type() value: 0.0 divisor: 1 rounding: 3'
2023-11-14 18:30:45,795 INFO    :b'ts0601_production_energy - Production Energy b519 01 0.0'
2023-11-14 18:30:45,795 INFO    :b'MajDomoDevice NwkId: b519 status: 0043 not inDB request IEEE for possible reconnection'
2023-11-14 18:30:46,574 INFO    :b'[-] NEW OBJECT: b519 Simple Descriptor Response EP: 0x01 LQI: 0'
2023-11-14 18:30:46,586 INFO    :b'[-]    NEW OBJECT: b519 ProfileID 0104'
2023-11-14 18:30:46,588 INFO    :b'[-]    NEW OBJECT: b519 ZDeviceID 0051'
2023-11-14 18:30:46,590 INFO    :b'[-]    NEW OBJECT: b519 Application Version 0001'
2023-11-14 18:30:46,592 INFO    :b'[-]    NEW OBJECT: b519 Cluster IN Count: 05'
2023-11-14 18:30:46,595 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 1: 0000 (Basic)'
2023-11-14 18:30:46,597 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 2: 0004 (Groups)'
2023-11-14 18:30:46,600 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 3: 0005 (Scenes)'
2023-11-14 18:30:46,603 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 4: ef00'
2023-11-14 18:30:46,608 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 5: ff66'
2023-11-14 18:30:46,610 INFO    :b'[-]    NEW OBJECT: b519 Cluster OUT Count: 02'
2023-11-14 18:30:46,612 INFO    :b'[-]       NEW OBJECT: b519 Cluster Out 1: 0019 (Over-the-Air Upgrade)'
2023-11-14 18:30:46,614 INFO    :b'[-]       NEW OBJECT: b519 Cluster Out 2: 000a (Time)'
2023-11-14 18:30:46,705 INFO    :b'[-] NEW OBJECT: b519 Simple Descriptor Response EP: 0x01 LQI: 0'
2023-11-14 18:30:46,706 INFO    :b'[-]    NEW OBJECT: b519 ProfileID 0104'
2023-11-14 18:30:46,707 INFO    :b'[-]    NEW OBJECT: b519 ZDeviceID 0051'
2023-11-14 18:30:46,712 INFO    :b'[-]    NEW OBJECT: b519 Application Version 0001'
2023-11-14 18:30:46,718 INFO    :b'[-]    NEW OBJECT: b519 Cluster IN Count: 05'
2023-11-14 18:30:46,719 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 1: 0000 (Basic)'
2023-11-14 18:30:46,720 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 2: 0004 (Groups)'
2023-11-14 18:30:46,722 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 3: 0005 (Scenes)'
2023-11-14 18:30:46,723 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 4: ef00'
2023-11-14 18:30:46,725 INFO    :b'[-]       NEW OBJECT: b519 Cluster In 5: ff66'
2023-11-14 18:30:46,726 INFO    :b'[-]    NEW OBJECT: b519 Cluster OUT Count: 02'
2023-11-14 18:30:46,728 INFO    :b'[-]       NEW OBJECT: b519 Cluster Out 1: 0019 (Over-the-Air Upgrade)'
2023-11-14 18:30:46,730 INFO    :b'[-]       NEW OBJECT: b519 Cluster Out 2: 000a (Time)'
2023-11-14 18:30:46,776 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 05 cmd: 02 Payload: 19050200066802000400000000'
2023-11-14 18:30:46,777 INFO    :b'    status: 00'
2023-11-14 18:30:46,778 INFO    :b'    TransId: 06'
2023-11-14 18:30:46,779 INFO    :b'    working on remaining payload 6802000400000000 idx: 10'
2023-11-14 18:30:46,780 INFO    :b'        dp: 104'
2023-11-14 18:30:46,781 INFO    :b'        datatype: 2'
2023-11-14 18:30:46,782 INFO    :b'        len_data: 8'
2023-11-14 18:30:46,782 INFO    :b'        data: 00000000'
2023-11-14 18:30:46,784 INFO    :b'tuyaReadRawAPS - command 02 dp: 104 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:46,784 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 68 dt: 02 data: 00000000'
2023-11-14 18:30:46,785 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 68 dt: 02 data: 00000000'
2023-11-14 18:30:46,786 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 104 2 00000000'
2023-11-14 18:30:46,787 INFO    :b'                - value: 0'
2023-11-14 18:30:46,788 INFO    :b"                - dps_mapping[ 68 ]: {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value * 10', 'sensor_type': 'prod_metering', 'domo_round': 3, 'domo_ep': 'f1'} (<class 'dict'>)"
2023-11-14 18:30:46,789 INFO    :b'                - after evaluate_expression_with_data() value: 0'
2023-11-14 18:30:46,790 INFO    :b"sensor_type - b519 01 0 104 2 00000000 {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value * 10', 'sensor_type': 'prod_metering', 'domo_round': 3, 'domo_ep': 'f1'}"
2023-11-14 18:30:46,791 INFO    :b'                - Ep to be used for domo update f1'
2023-11-14 18:30:46,792 INFO    :b'                - after sensor_type() value: 0.0 divisor: 1 rounding: 3'
2023-11-14 18:30:46,793 INFO    :b'ts0601_production_energy - Production Energy b519 f1 0.0'
2023-11-14 18:30:46,794 INFO    :b'MajDomoDevice NwkId: b519 status: 8043 not inDB request IEEE for possible reconnection'
2023-11-14 18:30:47,773 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 06 cmd: 02 Payload: 19060200076a0200040000092c'
2023-11-14 18:30:47,774 INFO    :b'    status: 00'
2023-11-14 18:30:47,775 INFO    :b'    TransId: 07'
2023-11-14 18:30:47,776 INFO    :b'    working on remaining payload 6a0200040000092c idx: 10'
2023-11-14 18:30:47,777 INFO    :b'        dp: 106'
2023-11-14 18:30:47,778 INFO    :b'        datatype: 2'
2023-11-14 18:30:47,779 INFO    :b'        len_data: 8'
2023-11-14 18:30:47,780 INFO    :b'        data: 0000092c'
2023-11-14 18:30:47,780 INFO    :b'tuyaReadRawAPS - command 02 dp: 106 dt: 2 len: 8 data: 0000092c idx: 26'
2023-11-14 18:30:47,781 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6a dt: 02 data: 0000092c'
2023-11-14 18:30:47,782 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6a dt: 02 data: 0000092c'
2023-11-14 18:30:47,783 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 106 2 0000092c'
2023-11-14 18:30:47,784 INFO    :b'                - value: 2348'
2023-11-14 18:30:47,785 INFO    :b"                - dps_mapping[ 6a ]: {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2} (<class 'dict'>)"
2023-11-14 18:30:47,786 INFO    :b'                - after evaluate_expression_with_data() value: 234.8'
2023-11-14 18:30:47,787 INFO    :b"sensor_type - b519 01 234.8 106 2 0000092c {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2}"
2023-11-14 18:30:47,788 INFO    :b'                - Ep to be used for domo update 01'
2023-11-14 18:30:47,788 INFO    :b'                - after sensor_type() value: 234.8 divisor: 1 rounding: 2'
2023-11-14 18:30:47,789 INFO    :b'ts0601_voltage - Voltage b519 01 234.8'
2023-11-14 18:30:47,790 INFO    :b'MajDomoDevice NwkId: b519 status: 8043 not inDB request IEEE for possible reconnection'
2023-11-14 18:30:48,787 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 07 cmd: 02 Payload: 19070200086b02000400000000'
2023-11-14 18:30:48,791 INFO    :b'    status: 00'
2023-11-14 18:30:48,793 INFO    :b'    TransId: 08'
2023-11-14 18:30:48,794 INFO    :b'    working on remaining payload 6b02000400000000 idx: 10'
2023-11-14 18:30:48,796 INFO    :b'        dp: 107'
2023-11-14 18:30:48,798 INFO    :b'        datatype: 2'
2023-11-14 18:30:48,799 INFO    :b'        len_data: 8'
2023-11-14 18:30:48,801 INFO    :b'        data: 00000000'
2023-11-14 18:30:48,804 INFO    :b'tuyaReadRawAPS - command 02 dp: 107 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:48,805 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6b dt: 02 data: 00000000'
2023-11-14 18:30:48,807 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6b dt: 02 data: 00000000'
2023-11-14 18:30:48,809 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 107 2 00000000'
2023-11-14 18:30:48,810 INFO    :b'                - value: 0'
2023-11-14 18:30:48,812 INFO    :b"                - dps_mapping[ 6b ]: {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2} (<class 'dict'>)"
2023-11-14 18:30:48,814 INFO    :b'                - after evaluate_expression_with_data() value: 0'
2023-11-14 18:30:48,815 INFO    :b"sensor_type - b519 01 0 107 2 00000000 {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}"
2023-11-14 18:30:48,817 INFO    :b'                - Ep to be used for domo update 01'
2023-11-14 18:30:48,818 INFO    :b'                - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-14 18:30:48,820 INFO    :b'ts0601_current - Current b519 01 0.0'
2023-11-14 18:30:48,822 INFO    :b'MajDomoDevice NwkId: b519 status: 8043 not inDB request IEEE for possible reconnection'
2023-11-14 18:30:49,073 INFO    :b'[3] NEW OBJECT: b519 Model Name: TS0601-PC311-Z-TY'
2023-11-14 18:30:49,080 INFO    :b'[3] NEW OBJECT: b519 Manufacturer Name: _TZE200_rks0sgb7'
2023-11-14 18:30:49,174 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_ConsoMeter-385cfbfffe2771ea-01) 0:0'
2023-11-14 18:30:49,232 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_ProdMeter-385cfbfffe2771ea-01) 0:0'
2023-11-14 18:30:49,270 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_ConsoMeter-385cfbfffe2771ea-f1) 0:0'
2023-11-14 18:30:49,294 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_ProdMeter-385cfbfffe2771ea-f1) 0:0'
2023-11-14 18:30:50,187 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 08 cmd: 02 Payload: 19080200096e02000400000000'
2023-11-14 18:30:50,188 INFO    :b'    status: 00'
2023-11-14 18:30:50,189 INFO    :b'    TransId: 09'
2023-11-14 18:30:50,190 INFO    :b'    working on remaining payload 6e02000400000000 idx: 10'
2023-11-14 18:30:50,192 INFO    :b'        dp: 110'
2023-11-14 18:30:50,193 INFO    :b'        datatype: 2'
2023-11-14 18:30:50,194 INFO    :b'        len_data: 8'
2023-11-14 18:30:50,195 INFO    :b'        data: 00000000'
2023-11-14 18:30:50,196 INFO    :b'tuyaReadRawAPS - command 02 dp: 110 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:50,197 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6e dt: 02 data: 00000000'
2023-11-14 18:30:50,198 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6e dt: 02 data: 00000000'
2023-11-14 18:30:50,199 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 110 2 00000000'
2023-11-14 18:30:50,200 INFO    :b'                - value: 0'
2023-11-14 18:30:50,201 INFO    :b"                - dps_mapping[ 6e ]: {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2, 'domo_ep': 'f1'} (<class 'dict'>)"
2023-11-14 18:30:50,203 INFO    :b'                - after evaluate_expression_with_data() value: 0'
2023-11-14 18:30:50,204 INFO    :b"sensor_type - b519 01 0 110 2 00000000 {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2, 'domo_ep': 'f1'}"
2023-11-14 18:30:50,205 INFO    :b'                - Ep to be used for domo update f1'
2023-11-14 18:30:50,206 INFO    :b'                - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-14 18:30:50,208 INFO    :b'ts0601_current - Current b519 f1 0.0'
2023-11-14 18:30:50,214 INFO    :b'tuya_registration - Nwkid: b519 Model: TS0601-PC311-Z-TY'
2023-11-14 18:30:50,215 INFO    :b'tuya_registration - Nwkid: b519 ----- 0x13 in 0x0000/0xffde'
2023-11-14 18:30:50,217 INFO    :b'- Not Found in ListOfDomoticzWidget, looking the old way'
2023-11-14 18:30:50,219 INFO    :b'- Not Found in ListOfDomoticzWidget, looking the old way'
2023-11-14 18:30:50,220 INFO    :b'tuya_registration - Nwkid: b519 Request MCU Version Cmd: 10'
2023-11-14 18:30:50,225 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_Ampere-385cfbfffe2771ea-f1) 0:0.0'
2023-11-14 18:30:50,227 INFO    :b'- Not Found in ListOfDomoticzWidget, looking the old way'
2023-11-14 18:30:50,229 INFO    :b'- Not Found in ListOfDomoticzWidget, looking the old way'
2023-11-14 18:30:50,232 INFO    :b'- Not Found in ListOfDomoticzWidget, looking the old way'
2023-11-14 18:30:50,787 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 09 cmd: 02 Payload: 190902000a6c02000400000000'
2023-11-14 18:30:50,789 INFO    :b'    status: 00'
2023-11-14 18:30:50,790 INFO    :b'    TransId: 0a'
2023-11-14 18:30:50,791 INFO    :b'    working on remaining payload 6c02000400000000 idx: 10'
2023-11-14 18:30:50,792 INFO    :b'        dp: 108'
2023-11-14 18:30:50,793 INFO    :b'        datatype: 2'
2023-11-14 18:30:50,794 INFO    :b'        len_data: 8'
2023-11-14 18:30:50,795 INFO    :b'        data: 00000000'
2023-11-14 18:30:50,796 INFO    :b'tuyaReadRawAPS - command 02 dp: 108 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:50,800 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6c dt: 02 data: 00000000'
2023-11-14 18:30:50,801 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6c dt: 02 data: 00000000'
2023-11-14 18:30:50,802 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 108 2 00000000'
2023-11-14 18:30:50,804 INFO    :b'                - value: 0'
2023-11-14 18:30:50,805 INFO    :b"                - dps_mapping[ 6c ]: {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2} (<class 'dict'>)"
2023-11-14 18:30:50,806 INFO    :b'                - after evaluate_expression_with_data() value: 0'
2023-11-14 18:30:50,807 INFO    :b"sensor_type - b519 01 0 108 2 00000000 {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}"
2023-11-14 18:30:50,808 INFO    :b'                - Ep to be used for domo update 01'
2023-11-14 18:30:50,809 INFO    :b'                - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-14 18:30:50,813 INFO    :b'ts0601_instant_power - Instant Power b519 01 0.0'
2023-11-14 18:30:50,814 INFO    :b"ts0601_instant_power - Instant Power Two's Complement : 0 0"
2023-11-14 18:30:50,815 INFO    :b"ts0601_instant_power - Instant Power Two's Complement : value: 0"
2023-11-14 18:30:50,817 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_Power-385cfbfffe2771ea-01) 0.0:0'
2023-11-14 18:30:50,821 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_ProdPower-385cfbfffe2771ea-01) 0.0:0'
2023-11-14 18:30:51,804 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 0a cmd: 02 Payload: 190a02000b6f02000400000000'
2023-11-14 18:30:51,806 INFO    :b'    status: 00'
2023-11-14 18:30:51,807 INFO    :b'    TransId: 0b'
2023-11-14 18:30:51,808 INFO    :b'    working on remaining payload 6f02000400000000 idx: 10'
2023-11-14 18:30:51,809 INFO    :b'        dp: 111'
2023-11-14 18:30:51,810 INFO    :b'        datatype: 2'
2023-11-14 18:30:51,811 INFO    :b'        len_data: 8'
2023-11-14 18:30:51,812 INFO    :b'        data: 00000000'
2023-11-14 18:30:51,813 INFO    :b'tuyaReadRawAPS - command 02 dp: 111 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:51,817 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6f dt: 02 data: 00000000'
2023-11-14 18:30:51,818 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 6f dt: 02 data: 00000000'
2023-11-14 18:30:51,822 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 111 2 00000000'
2023-11-14 18:30:51,823 INFO    :b'                - value: 0'
2023-11-14 18:30:51,824 INFO    :b"                - dps_mapping[ 6f ]: {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2, 'domo_ep': 'f1'} (<class 'dict'>)"
2023-11-14 18:30:51,825 INFO    :b'                - after evaluate_expression_with_data() value: 0'
2023-11-14 18:30:51,826 INFO    :b"sensor_type - b519 01 0 111 2 00000000 {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2, 'domo_ep': 'f1'}"
2023-11-14 18:30:51,827 INFO    :b'                - Ep to be used for domo update f1'
2023-11-14 18:30:51,831 INFO    :b'                - after sensor_type() value: 0.0 divisor: 1 rounding: 2'
2023-11-14 18:30:51,833 INFO    :b'ts0601_instant_power - Instant Power b519 f1 0.0'
2023-11-14 18:30:51,836 INFO    :b"ts0601_instant_power - Instant Power Two's Complement : 0 0"
2023-11-14 18:30:51,841 INFO    :b"ts0601_instant_power - Instant Power Two's Complement : value: 0"
2023-11-14 18:30:51,846 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_Power-385cfbfffe2771ea-f1) 0.0:0'
2023-11-14 18:30:51,850 INFO    :b'UpdateDevice - (zigbee - TS0601-PC311-Z-TY_ProdPower-385cfbfffe2771ea-f1) 0.0:0'
2023-11-14 18:30:52,781 INFO    :b'tuyaReadRawAPS - b519/01 fcf: 19 sqn: 0b cmd: 02 Payload: 190b02000c0902000400000000'
2023-11-14 18:30:52,783 INFO    :b'    status: 00'
2023-11-14 18:30:52,785 INFO    :b'    TransId: 0c'
2023-11-14 18:30:52,787 INFO    :b'    working on remaining payload 0902000400000000 idx: 10'
2023-11-14 18:30:52,789 INFO    :b'        dp: 9'
2023-11-14 18:30:52,791 INFO    :b'        datatype: 2'
2023-11-14 18:30:52,793 INFO    :b'        len_data: 8'
2023-11-14 18:30:52,795 INFO    :b'        data: 00000000'
2023-11-14 18:30:52,797 INFO    :b'tuyaReadRawAPS - command 02 dp: 9 dt: 2 len: 8 data: 00000000 idx: 26'
2023-11-14 18:30:52,799 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 09 dt: 02 data: 00000000'
2023-11-14 18:30:52,801 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY Nwkid: b519/01 dp: 09 dt: 02 data: 00000000'
2023-11-14 18:30:52,803 INFO    :b'ts0601_response - b519 TS0601-PC311-Z-TY 9 2 00000000'
2023-11-14 18:30:52,805 INFO    :b"ts0601_response - unknow dp b519 09 2 00000000 {'01': {'store_tuya_attribute': 'Unknow 01_02', 'EvalExp': 'value'}, '65': {'store_tuya_attribute': 'Meter A', 'EvalExp': 'value * 10', 'sensor_type': 'cons_metering', 'domo_round': 3}, '66': {'store_tuya_attribute': 'ProducedEnergy A', 'EvalExp': 'value * 10', 'sensor_type': 'prod_metering', 'domo_round': 3}, '67': {'store_tuya_attribute': 'Meter B', 'EvalExp': 'value * 10', 'sensor_type': 'cons_metering', 'domo_round': 3, 'domo_ep': 'f1'}, '68': {'store_tuya_attribute': 'ProducedEnergy B', 'EvalExp': 'value * 10', 'sensor_type': 'prod_metering', 'domo_round': 3, 'domo_ep': 'f1'}, '69': {'store_tuya_attribute': 'Energy A+B', 'EvalExp': 'value * 10'}, '6a': {'store_tuya_attribute': 'Voltage', 'EvalExp': 'value/10', 'sensor_type': 'voltage', 'domo_round': 2}, '6b': {'store_tuya_attribute': 'Current A', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2}, '6c': {'store_tuya_attribute': 'Power A', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2}, '6d': {'store_tuya_attribute': 'Power Factor A', 'EvalExp': 'value'}, '6e': {'store_tuya_attribute': 'Current B', 'EvalExp': 'value', 'sensor_type': 'current', 'domo_round': 2, 'domo_ep': 'f1'}, '6f': {'store_tuya_attribute': 'Power B', 'EvalExp': 'value', 'sensor_type': 'power', 'domo_round': 2, 'domo_ep': 'f1'}, '70': {'store_tuya_attribute': 'Power Factor B', 'EvalExp': 'value'}, '71': {'store_tuya_attribute': 'AC_Frequency', 'EvalExp': 'value'}, '72': {'store_tuya_attribute': 'Power Direction A', 'EvalExp': 'value'}, '73': {'store_tuya_attribute': 'Power Direction B', 'EvalExp': 'value'}, '74': {'store_tuya_attribute': 'Update Frequency', 'EvalExp': 'value'}}"
2023-11-14 18:30:52,806 INFO    :b'tuya_response - Model: TS0601-PC311-Z-TY UNMANAGED Nwkid: b519/01 dp: 09 data type: 2 data: 00000000'
merci
Pièces jointes
export-7.json
(87.42 Kio) Téléchargé 76 fois
Répondre