Page 1 of 1

extra support of Tuya TRV TS0601 in Zigate

Posted: Monday 11 January 2021 18:27
by waltervl
I bought 2 Tuya TRV TS0601 (Thermostatic Radiator Valve) and paired them to Zigate.
They are working but on minimum scale, only 3 devices are created (Current Temp, Setpoint, ThermoMode (0, 10, 20 = heat/auto/off?))
Is it possible to add some extra features as battery level (and/or battery low), window detection, valve position, running_state, away_mode, preset?

As a reference see https://github.com/Koenkk/zigbee2mqtt.i ... rmostat.md

Especially battery state (and/or battery low) and valve position would be nice to have.
If I need to test someting, please let me know.

Json export raw devices
Spoiler: show
{"Version":"3","ZDeviceName":"Thermostaat Eetkamer","Status":"inDB","SQN":"34","Ep":{"01":{"0000":{"0004":"_TZE200_ckud7u2l","0005":"TS0601","0000":"3","0001":"85","0002":"0","0003":"1","0007":"3"},"0004":{},"ef00":{},"000a":{},"0019":{},"Type":"Temp/ThermoSetpoint/ThermoMode_2","ClusterType":{"219":"Temp","220":"ThermoSetpoint","221":"ThermoMode_2"},"0201":{"0012":245,"001c":"Manual"},"0402":{"0000":180}}},"Heartbeat":"4938","RIA":"0","LQI":114,"Battery":{},"Model":"TS0601","ForceAckCommands":[],"MacCapa":"80","IEEE":"5c0272fffec9d600","Type":"Temp/ThermoSetpoint/ThermoMode_2","ProfileID":"0104","ZDeviceID":"0051","App Version":"85","Attributes List":{},"DeviceType":"RFD","HW Version":"1","Last Cmds":[],"LogicalType":"End Device","Manufacturer":"","Manufacturer Name":"_TZE200_ckud7u2l","NbEp":"1","PowerSource":"Battery","ReceiveOnIdle":"","Stack Version":"0","Stamp":{"Time":"2021-01-11 17:53:44","MsgType":"8002","LastSeen":"11/01/2021 15:40:42"},"ZCL Version":"3","Health":"Live","ConfigSource":"DeviceConf","Capability":["Reduced-Function Device","Standard security","NwkAddr should be allocated"],"WriteAttributes":{"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":{}},"0201":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}},"0402":{"TimeStamp":0,"iSQN":{},"Attributes":{},"ZigateRequest":{}}}}},"Bind":{"01":{"0019":{"Target":"0000","Stamp":"01/01/2021 15:28:09","Phase":"binded","Status":"00","i_sqn":3903},"ef00":{"Target":"0000","Stamp":"01/01/2021 15:28:09","Phase":"binded","Status":"00","i_sqn":3904}}},"Epv2":{"01":{"ClusterIn":{},"ClusterOut":{},"ProfileID":"0104","ZDeviceID":"0051"}},"ConsistencyCheck":"ok","RollingLQI":[111,108,108,117,117,105,105,111,111,114,114],"NwkID":"8d4d"}

Re: extra support of Tuya TRV TS0601 in Zigate

Posted: Monday 11 January 2021 19:38
by pipiche
The Window detection is currently under development, so that might come at a point of time,

as the others I don't really see a Use Case and the way to implement with the current set of Domotciz Widget expect creating too many widgets

For the Battery % this should be already reported

Re: extra support of Tuya TRV TS0601 in Zigate

Posted: Monday 11 January 2021 19:45
by waltervl
I have no batterylevel reported, devices are already one week alive.
batterylevel_TRV_TS0601.png
batterylevel_TRV_TS0601.png (61.85 KiB) Viewed 1315 times

Re: extra support of Tuya TRV TS0601 in Zigate

Posted: Thursday 21 January 2021 15:09
by johnrwoods
Hi Walter,

Did you ever get the battery level showing for your TS0601s?
I have just added two of these TRVs to my Domoticz/Zigate installation and have the same issue as you.
Three devices are created for each TRV (Temperature, Setpoint and an Off, Auto, Manual selector switch) but no battery level.

Re: extra support of Tuya TRV TS0601 in Zigate

Posted: Thursday 21 January 2021 17:44
by waltervl
No but Pipiche will work on it as soon as he has received the TRV personally see https://github.com/pipiche38/Domoticz-Zigate/issues/779

Should work soon, but I see that other zigbee plugins also have issues with battery reporting on this TRV.

Re: extra support of Tuya TRV TS0601 in Zigate

Posted: Thursday 21 January 2021 20:18
by pipiche
Interesting, there is no battery level reported in the tuya app


Envoyé de mon iPhone en utilisant Tapatalk

Re: extra support of Tuya TRV TS0601 in Zigate

Posted: Friday 22 January 2021 0:48
by waltervl
That could be a reason everybody is struggling with the battery level...