Another Zigbee TRV (TS0601)

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Another Zigbee TRV (TS0601)

Post by kris »

I have purchased a new type of Zigbee radiator valve. different from the ones I already have. I would very much appreciate if it could be added to Zigbee for Domoticz as well.
It is the _TZE200_6rdj8dzm version of TS601

Code: Select all

2023-02-23 22:22:37.087 Status: PiZiGate: [None] NEW OBJECT: 77c6 None
2023-02-23 22:22:37.346 Status: PiZiGate: [-] NEW OBJECT: 77c6 Active Endpoint Response Ep: 01 LQI: 90
2023-02-23 22:22:37.363 Status: PiZiGate: [-] NEW OBJECT: 77c6 Request Simple Descriptor for Ep: 01
2023-02-23 22:22:37.808 Status: PiZiGate: [-] NEW OBJECT: 77c6 Simple Descriptor Response EP: 0x01 LQI: 90
2023-02-23 22:22:37.810 Status: PiZiGate: [-] NEW OBJECT: 77c6 ProfileID 0104
2023-02-23 22:22:37.811 Status: PiZiGate: [-] NEW OBJECT: 77c6 ZDeviceID 0051
2023-02-23 22:22:37.813 Status: PiZiGate: [-] NEW OBJECT: 77c6 Application Version 0001
2023-02-23 22:22:37.814 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster IN Count: 04
2023-02-23 22:22:37.816 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster In 1: 0004 (Groups)
2023-02-23 22:22:37.818 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster In 2: 0005 (Scenes)
2023-02-23 22:22:37.819 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster In 3: ef00
2023-02-23 22:22:37.821 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster In 4: 0000 (Basic)
2023-02-23 22:22:37.822 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster OUT Count: 02
2023-02-23 22:22:37.824 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2023-02-23 22:22:37.826 Status: PiZiGate: [-] NEW OBJECT: 77c6 Cluster Out 2: 000a (Time)
2023-02-23 22:22:40.172 Status: PiZiGate: [0] NEW OBJECT: 77c6 Model Name: TS0601
2023-02-23 22:22:40.179 Status: PiZiGate: [0] NEW OBJECT: 77c6 Manufacturer Name: _TZE200_6rdj8dzm
2023-02-23 22:22:40.187 Status: PiZiGate: [None] NEW OBJECT: 77c6 Request Node Descriptor
Thanks!
/kris
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

Unfortunatly this looks one more Tuya model which is not yet integrated into the plugin, I would need much more information

(1) could you please provide a link to the Website where you purchase it, so I can see what it is ?
(2) could you please provide the export.json as explained here https://github.com/zigbeefordomoticz/wi ... -device.md
(3) please do enable debug mode Tuya, Pairing from the WebUI, remove all widgets already created and redo the pairing

(4) provided the logs file from that.

Please make sure to be on the 'develop' branch where the integration will be done (if you are not yet there)

Code: Select all

git pull
git checkout develop
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

I got them from AliExpress. https://a.aliexpress.com/_EyhnSRx
Not a whole lot of info there…
They were cheap and looked just like the Hama ones you helped me with earlier. I took a gamble here…

I’ll provide the logs.
I only have two of theese, if it won’t work I’ll get more of the Hama kind instead.
The loose Zigbee standard and these ”Tuya” devices are really confusing :)
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

have you been able to do the test with the logs ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

Hi! I was finally going to get these logs but I ran into trouble after switching branch..
Do I need to update Python as well? Running 3.7.3 atm.

Thanks.

Code: Select all

2023-03-09 18:24:33.485 Error: PiZiGate: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2023-03-09 18:24:33.490 Error: PiZiGate: Traceback (most recent call last):
2023-03-09 18:24:33.491 Error: PiZiGate: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 96, in <module>
2023-03-09 18:24:33.491 Error: PiZiGate: from importlib.metadata import version as import_version
2023-03-09 18:24:33.491 Error: PiZiGate: ModuleNotFoundError: No module named 'importlib.metadata'
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

Looks like the latest zigpy requires 3.8 or later.
I'll have to update from Buster to Bullseye too. About time I guess...
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

Now on Bullseye with Python 3.9.2 and Domoticz 2023.1 and I still get the same error :?
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

Alright, everything sorted now (python problems). Here are the logs. :)

Best regards
/Kris
Attachments
export.json.zip
(7.79 KiB) Downloaded 59 times
_PluginZigbee_.log
(36.68 KiB) Downloaded 48 times
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

Thanks for the logs, but does the TRV works ?
There are 3 widgets created. How do they behave ?

Temp
Setpoint
Mode
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

The Setpoint widget is updated when the temp is changed on the TRV, but the value is multiplied by 10, so 19 degrees becomes 190 degrees.
I’m not able to set the value from the widget.

The temp sensor shows no value at all.
The ”ThermoMode” switch is a selector switch with the values ”off” ”auto” and ”heat”. Changing it does nothing and it stays in the ”off” position.
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

Hi,

yes that is correct that there is nothing working from Domoticz to the devices. I was trying to make SetPoint , Temp and Mode working

Are you able to change the Mode from the device ?

For the Temp and the Setpoint, can you get the latest plugin (still develop branch)

Code: Select all

git pull
the restart and check if the Setpoint and Temp are correctly reported now ?

We might have to go through few iteration, I'm doing some changes in the plugin code, to make it easier for integration of such devices
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
kris
Posts: 45
Joined: Tuesday 12 April 2016 19:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Contact:

Re: Another Zigbee TRV (TS0601)

Post by kris »

pipiche wrote: Monday 13 March 2023 19:58 Are you able to change the Mode from the device ?
Yes but the device only has two modes according to the instruction sheet, "manual" and "programming" mode, whatever that is. Heating mode is just an indicator.
My Hama TRVs only had an On/Off widget in Domoticz.

pipiche wrote: Monday 13 March 2023 19:58 the restart and check if the Setpoint and Temp are correctly reported now ?
Yes! It seems to be reporting back correctly now, the temperature is working as well.

Thanks
Domoticz 2023.2: Raspberry Pi 2B: Raspbian 11 Bullseye / Z-Wave JS 12.4.1 (docker): Aeotec Z-stick gen5 / Zigbee for Domoticz 7.1.007 [3.174]: PiZiGate 0321 / RFLink 1.48
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

kris wrote: Monday 13 March 2023 21:42
pipiche wrote: Monday 13 March 2023 19:58 Are you able to change the Mode from the device ?
Yes but the device only has two modes according to the instruction sheet, "manual" and "programming" mode, whatever that is. Heating mode is just an indicator.
My Hama TRVs only had an On/Off widget in Domoticz.

pipiche wrote: Monday 13 March 2023 19:58 the restart and check if the Setpoint and Temp are correctly reported now ?
Yes! It seems to be reporting back correctly now, the temperature is working as well.

Thanks
Ok good so give me a day or two and I'll be back with Setpoint from Domoticz and I'll do the changes for the Mode and the Heating indicator
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

it has been faster than expected, just do a simple update

Code: Select all

git pull

restart, check that you still have Temperature and Setpoint correctly received by Domoticz. Then check if you can set Setpoint from Domoticz
In case of issue, please provides the log file.

How do you think the Heating status should be reported ? By that I mean which type of Widget do you think should be used ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

If you are able to retrieve the latest 'develop' branch, I suggest that you remove all existing widget get the device removed also from plugin and then redo the full pairing.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
hyeronimo
Posts: 54
Joined: Saturday 11 March 2023 8:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Another Zigbee TRV (TS0601)

Post by hyeronimo »

Hi, I have recently installed seven TRV 602 zigbee radiator valves. I have them imported into domoticz through the tinytuya plugin, which uses the Tuya cloud wit a developer account. Since I dont want to have my heating depending on some cloud service, I have been trying to get them straight into domoticz for a few weeks now. My first idea was to get them into a sonoff bridge pro and link that to domoticz. However a I could not get that to work even with a simple sonoff temp/hum sensor. Now I have a USB adaptor installed and ZIgbee2domoticz works. The TRV was not recognized though, and I could not make de development branch work. However I have exported the API response from the TUYA cloud, and maybe this will help getting the TRV 601 into Zigbeefor domoticz as well. I really hope you can help out with this. The radiator valves work fine and have a configurable display.
TRV_data.xlsx
(126.59 KiB) Downloaded 67 times
Attachments
Tuya_TRV602_API.txt
(4.5 KiB) Downloaded 71 times
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

hyeronimo wrote: Thursday 16 March 2023 21:26 Hi, I have recently installed seven TRV 602 zigbee radiator valves. I have them imported into domoticz through the tinytuya plugin, which uses the Tuya cloud wit a developer account. Since I dont want to have my heating depending on some cloud service, I have been trying to get them straight into domoticz for a few weeks now. My first idea was to get them into a sonoff bridge pro and link that to domoticz. However a I could not get that to work even with a simple sonoff temp/hum sensor. Now I have a USB adaptor installed and ZIgbee2domoticz works. The TRV was not recognized though, and I could not make de development branch work. However I have exported the API response from the TUYA cloud, and maybe this will help getting the TRV 601 into Zigbeefor domoticz as well. I really hope you can help out with this. The radiator valves work fine and have a configurable display.
TRV_data.xlsx
There is plenty models of TRV 602 from Tuya, so in order to get them configured properly into the plugin , you need to pair it to the plugin and to provide the Model name and the export.json associated .
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
hyeronimo
Posts: 54
Joined: Saturday 11 March 2023 8:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Another Zigbee TRV (TS0601)

Post by hyeronimo »

Hi Pipiche, thanks for your quick answer
Ok, here is the object info and the json export from raw devices. The Temp/hum is also in there. Is the model name you are looking for in this info or should I look for it in the Tuya portal?

Kind regards,
Jeroen
Attachments
export_602TRVjson.txt
(7.55 KiB) Downloaded 81 times
TRV602deviceinfo.txt
(2.76 KiB) Downloaded 47 times
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Another Zigbee TRV (TS0601)

Post by pipiche »

please update the plugin to the latest version , restart the plugin, enable debug Tuya and then redo the pairing
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
hyeronimo
Posts: 54
Joined: Saturday 11 March 2023 8:33
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Another Zigbee TRV (TS0601)

Post by hyeronimo »

Updated stable6, enabled Tuya debug. here is the plugin log. Or do you need a different one?
Attachments
_PluginZigbee_51.log
(24.95 KiB) Downloaded 42 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest