Page 1 sur 2

[Résolu] Ajout - Module Tuya Smart Air Box

Publié : 17 juil. 2021, 21:45
par brenten
Salut à tous,

Erreur de ma part, j'ai vu ça sur ali ( https://fr.aliexpress.com/item/1005002592402973.html ) et l'ai commandé vu que compatible Zigbee ( sans aller regarder si c était supporté sur le site zigate )

donc pas de bol ça marche pas avec la version actuelle :
c'est reconnu comme un TS0601 , avec les modules

Code : Tout sélectionner

Zigate - TS0601_Temp-0c4314fffe881712-01
Zigate - TS0601_ThermoSetpoint-0c4314fffe881712-01
Zigate - TS0601_ThermoMode_2-0c4314fffe881712-01
et donc de fait ça sort pas mal d'erreur sur les logs

Code : Tout sélectionner

2021-07-17 21:23:29.386 (Zigate) Decode8002 - NwkId: 9300 Ep: 01 Cluster: ef00 GlobalCommand: False Command: 01 Data: 000012020004000000fb
2021-07-17 21:23:29.387 (Zigate) inRawAps 9300/01 Cluster ef00 Manuf: None Command: 01 Data: 000012020004000000fb Payload: 091701000012020004000000fb
2021-07-17 21:23:29.492 (Zigate) Decode8002 - NwkId: 9300 Ep: 01 Cluster: ef00 GlobalCommand: False Command: 01 Data: 000013020004000002af
2021-07-17 21:23:29.492 (Zigate) inRawAps 9300/01 Cluster ef00 Manuf: None Command: 01 Data: 000013020004000002af Payload: 091801000013020004000002af
2021-07-17 21:23:31.953 (Zigate) Decode8002 - NwkId: 9300 Ep: 01 Cluster: ef00 GlobalCommand: False Command: 01 Data: 000012020004000000fe
2021-07-17 21:23:31.953 (Zigate) inRawAps 9300/01 Cluster ef00 Manuf: None Command: 01 Data: 000012020004000000fe Payload: 091901000012020004000000fe
2021-07-17 21:23:32.059 (Zigate) Decode8002 - NwkId: 9300 Ep: 01 Cluster: ef00 GlobalCommand: False Command: 01 Data: 000013020004000002b0
2021-07-17 21:23:32.059 (Zigate) inRawAps 9300/01 Cluster ef00 Manuf: None Command: 01 Data: 000013020004000002b0 Payload: 091a01000013020004000002b0
2021-07-17 21:23:34.400 (Zigate) Decode8002 - NwkId: 9300 Ep: 01 Cluster: ef00 GlobalCommand: False Command: 01 Data: 000012020004000000fd
2021-07-17 21:23:34.400 (Zigate) inRawAps 9300/01 Cluster ef00 Manuf: None Command: 01 Data: 000012020004000000fd Payload: 091e01000012020004000000fd
2021-07-17 21:23:34.505 (Zigate) Decode8002 - NwkId: 9300 Ep: 01 Cluster: ef00 GlobalCommand: False Command: 01 Data: 000013020004000002a9
2021-07-17 21:23:34.505 (Zigate) inRawAps 9300/01 Cluster ef00 Manuf: None Command: 01 Data: 000013020004000002a9 Payload: 091f01000013020004000002a9 

Domoticz Version: 2020.2 (build 12239)
Plugin Zigate: Plugin: 4.11.017 - stable
Firmware: 031e -standart
sur un Pizigate V1
avec un raspberry 3 + ssd

Module Tuya
type Smart air box
La plage de détection de la boîte à air intelligente: formaldéhyde, gaz VOC, CO2, température, humidité L'examen gamme: Formaldéhyde: 0-10.0 (mg/m3) COV: 0-99.9 (ppm) Dioxyde de carbone: 0-1000 (ppm) Température: 0-60 (℃) Humidité: 0-95%

log raw

Code : Tout sélectionner

Version : "3"
ZDeviceName : ""
Status : "inDB"
SQN : "35"
Heartbeat : "241"
RIA : "0"
LQI : 93
Battery : Object {}
Model : "TS0601"
ForceAckCommands : Array[0] []
MacCapa : "8e"
IEEE : "0c4314fffe881712"
Type : "Temp/ThermoSetpoint/ThermoMode_2"
ProfileID : "0104"
ZDeviceID : "0051"
App Version : "68"
Attributes List : Object {}
DeviceType : "FFD"
HW Version : "1"
Last Cmds : Array[10] [[42,"02","9300","0100","0101000000000000010000"],[43,"02","9300","0100","0101000000000000010001"],[44,"02","9300","0100","0101000000000000010002"],[45,"02","9300","0100","0101000000000000010003"],[46,"02","9300","0100","0101000000000000010004"],[47,"02","9300","0100","0101000000000000010005"],[48,"02","9300","0100","0101000000000000010007"],[52,"02","9300","0081","0101011a0010"],[54,"02","9300","0081","010101330010"],[56,"02","9300","0092","010100"]]
LogicalType : "Router"
Manufacturer : ""
Manufacturer Name : "_TZE200_yvx5lh6k"
NbEp : "1"
PowerSource : "Main"
ReadAttributes : Object {"Ep":{"01":{"0000":{"TimeStamp":"17/07/2021 21:38:26","iSQN":{"0000":42,"0001":43,"0002":44,"0003":45,"0004":46,"0005":47,"0007":48},"Attributes":{"0000":"00","0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0007":"00","ffe2":"00","ffe4":"00","ffdf":"00"},"ZigateRequest":{}}}}}
ReceiveOnIdle : ""
Stack Version : "0"
Stamp : Object {"Time":"2021-07-17 21:40:34","MsgType":"8002","LastSeen":"17/07/2021 21:38:26","LastPing":0}
ZCL Version : "3"
Health : "Live"
Capability : Array[5] ["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"]
PairingInProgress : false
RollingLQI : Array[11] [93,93,93,93,93,93,93,93,93,93,93]
Epv2 : Object {"01":{"ClusterIn":{},"ClusterOut":{},"ProfileID":"0104","ZDeviceID":"0051"}}
ConfigSource : "DeviceConf"
Ep : Object {"01":{"0000":{"0004":"_TZE200_yvx5lh6k","0005":"TS0601","0000":"3","0001":"68","0002":"0","0003":"1","0007":"1","ffe2":"31","ffe4":"0","ffdf":"\u0012\u0000\u0000\u0000\u0000\u0012\u0000\u0000\u0000\u0000\u0012\u0000\u0000\u0000\u0000\u0012"},"0004":{},"ef00":{},"000a":{},"0019":{},"Type":"Temp/ThermoSetpoint/ThermoMode_2","ClusterType":{"103":"Temp","104":"ThermoSetpoint","105":"ThermoMode_2"}}}
ZDeviceVersion : "0001"
Bind : Object {"01":{"0019":{"Target":"0000","Stamp":"17/07/2021 21:16:47","Phase":"binded","Status":"00","i_sqn":40},"ef00":{"Target":"0000","Stamp":"17/07/2021 21:16:47","Phase":"binded","Status":"00","i_sqn":41}}}
WriteAttributes : Object {"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"ef00":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000a":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}}
Tuya : Object {}
TuyaTransactionId : 3
NwkID : "9300"


Voiloi, j'espere avoir envoyé assez d élément.

Merci d'avance
Cyril

Re: Ajout - Module Tuya Smart Air Box

Publié : 18 juil. 2021, 22:30
par brenten
si ça peut aider pour les end point ( à ce que j'en ai compris du protocol Zigbee ) :
https://github.com/Koenkk/zigbee2mqtt/discussions/7299

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 13:59
par pipiche
si tu es sur la branche beta, cela devrait fonctionner, par contre ne t'attends pas à des performances de ces objets, c'est vraiment tres médiocre et il bouffe pas mal de bande passante coté Zigbee

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 16:44
par brenten
ça marche, je vais regarder/essayer., mais effectivement ça arrose presque toute les secondes...
au pire, je verrais sur le site officiel chez eux, si il y a pas moyen de reprog ça...

Merci

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 16:45
par pipiche
je pense que le problème est coté device (donc pas chez Tuya eux-meme), et je te confirme que c'est le meme comportement avec l'appli Tuya et le Hub Tuya

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 17:01
par brenten
je viens de tester avec
Plugin: 5.2.051 - Branche beta
Firmware: 031e
( redémarrage aussi de domoticz )

j'ai supprimé l'objet et refait un appairage et toujours pareil

Zigate - TS0601_Temp-0c4314fffe881712-01
Zigate - TS0601_ThermoSetpoint-0c4314fffe881712-01
Zigate - TS0601_ThermoMode_2-0c4314fffe881712-01

j'ai raté un étape ?

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 17:05
par brenten
question annexe, le plugin V5 elle est compatible avec la 1ere version de pizigate ?


et une image du contenu :
1626707213954.jpg
1626707213954.jpg (134.38 Kio) Consulté 2802 fois
je pense vu qu'il y a les entrée dispo ( comme d'ab 4 ) qu'il y a moyen de hack le truc et de faire un nouveau firmware.
je vais creuser ça à temps perdu.

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 17:13
par pipiche
brenten a écrit : 19 juil. 2021, 17:01 je viens de tester avec
Plugin: 5.2.051 - Branche beta
Firmware: 031e
( redémarrage aussi de domoticz )

j'ai supprimé l'objet et refait un appairage et toujours pareil

Zigate - TS0601_Temp-0c4314fffe881712-01
Zigate - TS0601_ThermoSetpoint-0c4314fffe881712-01
Zigate - TS0601_ThermoMode_2-0c4314fffe881712-01

j'ai raté un étape ?
merci de fournir les logs d'appairage et un export.json "Plugin RAW devices (json)"

Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 17:23
par brenten
voilà

Code : Tout sélectionner

4 :
Version : "3"
ZDeviceName : ""
Status : "inDB"
SQN : "46"
Heartbeat : "21"
RIA : "0"
LQI : 102
Battery : Object {}
Model : "TS0601"
ForceAckCommands : Array[0] []
MacCapa : "8e"
IEEE : "0c4314fffe881712"
Type : "Temp/ThermoSetpoint/ThermoMode_2"
ProfileID : "0104"
ZDeviceID : "0051"
App Version : "68"
Attributes List : Object {}
DeviceType : "FFD"
HW Version : "1"
Last Cmds : Array[9] [[71,"02","42f2","0100","0101000000000000010004"],[72,"02","42f2","0100","0101000000000000010005"],[76,"02","42f2","0100","0101000000000000010000"],[77,"02","42f2","0100","0101000000000000010001"],[78,"02","42f2","0100","0101000000000000010002"],[79,"02","42f2","0100","0101000000000000010003"],[80,"02","42f2","0100","0101000000000000010004"],[81,"02","42f2","0100","0101000000000000010005"],[82,"02","42f2","0100","0101000000000000010007"]]
LogicalType : "Router"
Manufacturer : ""
Manufacturer Name : "_TZE200_yvx5lh6k"
NbEp : "1"
PowerSource : "Main"
ReadAttributes : Object {"Ep":{"01":{"0000":{"TimeStamp":"19/07/2021 17:19:47","iSQN":{"0000":76,"0001":77,"0002":78,"0003":79,"0004":80,"0005":81,"0007":82},"Attributes":{"0000":"00","0001":"00","0002":"00","0003":"00","0004":"00","0005":"00","0007":"00","ffe2":"00","ffe4":"00","ffdf":"00"},"ZigateRequest":{}}}}}
ReceiveOnIdle : ""
Stack Version : "0"
Stamp : Object {"time":1626707988.3291478,"Time":"2021-07-19 17:19:48","MsgType":"8011","LastSeen":"19/07/2021 17:19:48"}
ZCL Version : "3"
Health : "Not Reachable"
Capability : Array[5] ["Full-Function Device","Main Powered","Receiver during Idle","Standard security","NwkAddr should be allocated"]
RollingLQI : Array[11] [123,120,120,120,120,123,123,96,96,102,102]
Epv2 : Object {"01":{"ClusterIn":{"0000":{},"0004":{},"0005":{},"ef00":{}},"ClusterOut":{"0019":{},"000a":{}},"ProfileID":"0104","ZDeviceID":"0051"}}
WriteAttributes : Object {"Ep":{"01":{"0000":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0004":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"ef00":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"000a":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0019":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}}
ConfigSource : "DeviceConf"
Ep : Object {"01":{"0000":{"0004":"_TZE200_yvx5lh6k","0005":"TS0601","0000":"3","0001":"68","0002":"0","0003":"1","0007":"1","ffe2":"31","ffe4":"0","ffdf":"\u0005\u0000\u0000\u0000\u0000\u0012\u0000\u0000\u0000\u0000\u0012"},"0004":{},"ef00":{},"000a":{},"0019":{},"Type":"Temp/ThermoSetpoint/ThermoMode_2","ClusterType":{"103":"Temp","104":"ThermoSetpoint","105":"ThermoMode_2"}}}
ZDeviceVersion : "0001"
PairingInProgress : true
Bind : Object {"01":{"0019":{"Target":"0000","Stamp":"19/07/2021 17:19:39","Phase":"binded","Status":"00","i_sqn":74},"ef00":{"Target":"0000","Stamp":"19/07/2021 17:19:39","Phase":"binded","Status":"00","i_sqn":75}}}
SQN_000a : "37"
MapLQI : Object {"0000":108,"1b2c":88}
Neighbours : Array[1] [{"Time":"2021-07-19 17:21:09","Devices":["Not Reachable"]}]
NwkID : "42f2"

Code : Tout sélectionner

2021-07-19 17:19:31.132 (Zigate) Decode8102 - Receiving a message from unknown device : [d854:01] ClusterID: 0000 AttributeID: 0001 Status: 00 Type: 20 Size: 0001 ClusterData: >44<
2021-07-19 17:19:31.208 (Zigate) Decode8102 - Receiving a message from unknown device : [d854:01] ClusterID: 0000 AttributeID: ffe2 Status: 00 Type: 20 Size: 0001 ClusterData: >1f<
2021-07-19 17:19:31.209 (Zigate) Decode8102 - Receiving a message from unknown device : [d854:01] ClusterID: 0000 AttributeID: ffe4 Status: 00 Type: 20 Size: 0001 ClusterData: >01<
2021-07-19 17:19:34.394 (Zigate) Network Topology progress: 15 %
2021-07-19 17:19:35.966 (Zigate) --> Adding device 42f2 in self.DevicesInPairingMode
2021-07-19 17:19:35.966 (Zigate) --> ['d854', '42f2']
2021-07-19 17:19:38.053 (Zigate) [-] NEW OBJECT: 42f2 Request Model Name
2021-07-19 17:19:38.053 (Zigate) ReadAttributeRequest_0000 - Key: 42f2 , Scope: False
2021-07-19 17:19:38.054 (Zigate) Request Basic Manufacturer via Read Attribute request: 0004
2021-07-19 17:19:38.056 (Zigate) EP: {'01': {}}
2021-07-19 17:19:38.476 (Zigate) ReadCluster - 0000 / 0005 - Recepion Model: >TS0601< ManufName: >_TZE200_yvx5lh6k<
2021-07-19 17:19:38.476 (Zigate) ReadCluster - 0000 / 0005 - Updated Model: >TS0601<
2021-07-19 17:19:38.053 Status: (Zigate) [-] NEW OBJECT: 42f2 Active Endpoint Response Ep: 01 LQI: 123
2021-07-19 17:19:38.056 Status: (Zigate) [-] NEW OBJECT: 42f2 Request Simple Descriptor for Ep: 01
2021-07-19 17:19:38.674 Status: (Zigate) [-] NEW OBJECT: 42f2 Simple Descriptor Response EP: 0x01 LQI: 123
2021-07-19 17:19:38.675 Status: (Zigate) [-] NEW OBJECT: 42f2 ProfileID 0104
2021-07-19 17:19:38.675 Status: (Zigate) [-] NEW OBJECT: 42f2 ZDeviceID 0051
2021-07-19 17:19:38.675 Status: (Zigate) [-] NEW OBJECT: 42f2 Application Version 0001
2021-07-19 17:19:38.675 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster IN Count: 04
2021-07-19 17:19:38.676 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster In 1: 0000 (Basic)
2021-07-19 17:19:38.677 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster In 2: 0004 (Groups)
2021-07-19 17:19:38.677 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster In 3: 0005 (Scenes)
2021-07-19 17:19:38.677 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster In 4: ef00
2021-07-19 17:19:38.678 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster OUT Count: 02
2021-07-19 17:19:38.678 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2021-07-19 17:19:38.679 Status: (Zigate) [-] NEW OBJECT: 42f2 Cluster Out 2: 000a (Time)
2021-07-19 17:19:39.457 (Zigate) ReadAttributeRequest_0000 - Key: 42f2 , Scope: True
2021-07-19 17:19:39.422 Status: (Zigate) [0] NEW OBJECT: 42f2 Model Name: TS0601
2021-07-19 17:19:39.516 Error: (Zigate) 'onHeartbeat' failed 'TypeError':'tuya_sirene_registration() got an unexpected keyword argument 'device_reset''.
2021-07-19 17:19:39.516 Error: (Zigate) ----> Line 1107 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onHeartbeat
2021-07-19 17:19:39.516 Error: (Zigate) ----> Line 721 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onHeartbeat
2021-07-19 17:19:39.516 Error: (Zigate) ----> Line 561 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/heartbeat.py', function processListOfDevices
2021-07-19 17:19:39.516 Error: (Zigate) ----> Line 483 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/pairingProcess.py', function processNotinDBDevices
2021-07-19 17:19:40.475 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00021602000400000000 Payload: 09320100021602000400000000
2021-07-19 17:19:40.604 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00021502000400000000 Payload: 09330100021502000400000000
2021-07-19 17:19:40.711 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00020202000400000004 Payload: 09340100020202000400000004
2021-07-19 17:19:40.836 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 0000120200040000011a Payload: 0935010000120200040000011a
2021-07-19 17:19:40.916 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 0000130200040000027f Payload: 0936010000130200040000027f
2021-07-19 17:19:41.148 (Zigate) ReadCluster - 0000 / 0005 - Recepion Model: >TS0601< ManufName: >_TZE200_yvx5lh6k<
2021-07-19 17:19:41.148 (Zigate) ReadCluster - 0000 / 0005 - Updated Model: >TS0601<
2021-07-19 17:19:43.153 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 0000120200040000011b Payload: 0938010000120200040000011b
2021-07-19 17:19:43.205 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 0000130200040000027f Payload: 0939010000130200040000027f
2021-07-19 17:19:43.998 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00021602000400000000 Payload: 093a0100021602000400000000
2021-07-19 17:19:44.068 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00021502000400000000 Payload: 093b0100021502000400000000
2021-07-19 17:19:44.167 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00020202000400000003 Payload: 093c0100020202000400000003
2021-07-19 17:19:44.459 (Zigate) Network Topology progress: 30 %
2021-07-19 17:19:45.673 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 0000120200040000011b Payload: 093d010000120200040000011b
2021-07-19 17:19:45.785 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00001302000400000281 Payload: 093e0100001302000400000281
2021-07-19 17:19:46.129 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 24 Data: 0008 Payload: 193f240008
2021-07-19 17:19:47.601 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00011602000400000000 Payload: 09420100011602000400000000
2021-07-19 17:19:47.612 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00011502000400000000 Payload: 09430100011502000400000000
2021-07-19 17:19:47.629 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00010202000400000003 Payload: 09440100010202000400000003
2021-07-19 17:19:48.197 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 0000120200040000011c Payload: 0945010000120200040000011c
2021-07-19 17:19:48.286 (Zigate) inRawAps 42f2/01 Cluster ef00 Manuf: None Command: 01 Data: 00001302000400000280 Payload: 09460100001302000400000280
2021-07-19 17:19:49.441 (Zigate) Network Topology progress: 46 %
2021-07-19 17:19:54.473 (Zigate) Network Topology progress: 61 %


Re: Ajout - Module Tuya Smart Air Box

Publié : 19 juil. 2021, 17:55
par pipiche
merci!

tu récupère la dernière beta ( 5.2.052 ) tu supprimes les widgets qui ont été créés, tu restart le plugin et tu refais l'appairage