Another Zigbee TRV (TS0601)
Moderator: leecollings
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Domoticz log :
2023-03-17 14:06:53.066 Status: zigbee4domoticz: [3] NEW OBJECT: 836f Model Name: TS0601
2023-03-17 14:06:53.067 Status: zigbee4domoticz: [3] NEW OBJECT: 836f Manufacturer Name: _TZE200_a4bpgplm
2023-03-17 14:06:53.064 Error: zigbee4domoticz: processNotinDBDevices - Creat Domo Device Failed !!! for 836f status: 8043
2023-03-17 14:06:53.066 Status: zigbee4domoticz: [3] NEW OBJECT: 836f Model Name: TS0601
2023-03-17 14:06:53.067 Status: zigbee4domoticz: [3] NEW OBJECT: 836f Manufacturer Name: _TZE200_a4bpgplm
2023-03-17 14:06:53.064 Error: zigbee4domoticz: processNotinDBDevices - Creat Domo Device Failed !!! for 836f status: 8043
Re: Another Zigbee TRV (TS0601)
You need to be on develop, so please do
git checkout develop
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
git checkout develop
git pull
sudo python3 -m pip install -r requirements.txt --upgrade
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Nice! it is recognized now, and 5 devices are added in domoticz:
TS0601-eTRV7_Valve-04cd15fffe102080-01
TS0601-eTRV7_HeatingStatus-04cd15fffe102080-01
TS0601-eTRV7_ThermoMode_7-04cd15fffe102080-01
TS0601-eTRV7_ThermoSetpoint-04cd15fffe102080-01
TS0601-eTRV7_Temp-04cd15fffe102080-01 The temperature is working, the setpoint can be entered in domoticz, but is not changing in the TRV.
The tinytuya version had a switch which gave the options auto/manual/off where auto was used for the timer programs. Two other switches from tinytuya were Child lock (on/off) and Window Check (on/off)
Here is the log.
Thanks for your help!
TS0601-eTRV7_Valve-04cd15fffe102080-01
TS0601-eTRV7_HeatingStatus-04cd15fffe102080-01
TS0601-eTRV7_ThermoMode_7-04cd15fffe102080-01
TS0601-eTRV7_ThermoSetpoint-04cd15fffe102080-01
TS0601-eTRV7_Temp-04cd15fffe102080-01 The temperature is working, the setpoint can be entered in domoticz, but is not changing in the TRV.
The tinytuya version had a switch which gave the options auto/manual/off where auto was used for the timer programs. Two other switches from tinytuya were Child lock (on/off) and Window Check (on/off)
Here is the log.
Thanks for your help!
- Attachments
-
- _PluginZigbee_51(3).log
- (131.85 KiB) Downloaded 39 times
Re: Another Zigbee TRV (TS0601)
Thanks, can you also check if any changes on the TRV are visible on the domotciz widget, like
Setpoint change on the TRV did you get on the Domotciz
Making the setpoint to 30° , is the Valve % changing ? is the HeatingStatus changing N
I would appreciate if you can also give me the DeviceInfo one more, as now I should get more parameters
The ThermoMode needs some work, but the Schedule is not going to implemented as I consider this is something which can be done with Domotciz itself.
Setpoint change on the TRV did you get on the Domotciz
Making the setpoint to 30° , is the Valve % changing ? is the HeatingStatus changing N
I would appreciate if you can also give me the DeviceInfo one more, as now I should get more parameters
The ThermoMode needs some work, but the Schedule is not going to implemented as I consider this is something which can be done with Domotciz itself.
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Here is the deviceinfo, I will start testing the things you mentioned.
- Attachments
-
- deviceinfo_2.txt
- (5.99 KiB) Downloaded 47 times
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Changing the setpoint on the TRV does change the value in domoticz correctly
Also the Valve % open changes, but 26 degrees makes the valve% move to 680%
Heatingstatus in domoticz changed to 'on'
Thermomode remains 'off'
Changing it back to 10 degrees (=lower than the current room temp), Domoticz reports 10 degrees setpoint
the Valve % open changes to 0% again
Heatingstatus in domoticz changed to 'off'
Thermomode remains 'off'
I have included a screenshot from the tinytuya thermomode settings, maybe that helps.
Also the Valve % open changes, but 26 degrees makes the valve% move to 680%
Heatingstatus in domoticz changed to 'on'
Thermomode remains 'off'
Changing it back to 10 degrees (=lower than the current room temp), Domoticz reports 10 degrees setpoint
the Valve % open changes to 0% again
Heatingstatus in domoticz changed to 'off'
Thermomode remains 'off'
I have included a screenshot from the tinytuya thermomode settings, maybe that helps.
Re: Another Zigbee TRV (TS0601)
Thanks a lot.
So on the way Device -> Domoticz
Setpoint is ok
Temperature is Ok
Heating status is ok
Valve needs to be divided by 10
ThermoMode doesn't work // This was expected
I have some work for the week-end
So on the way Device -> Domoticz
Setpoint is ok
Temperature is Ok
Heating status is ok
Valve needs to be divided by 10
ThermoMode doesn't work // This was expected
I have some work for the week-end
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Allright, let me know if you need additional information. I keep thinking in the TUYA portal there should be some clues on how the specific trv works.
Re: Another Zigbee TRV (TS0601)
Ok. Let's see what is happening.
could you kindly update the develop branche with a simple git pull
teh remove the widdgets related to this device
restart the plugin check that the device do not exist any more
then enable debug Tuya and Command
do the pairing and try to control the reporting from Device to Domoticz and then after the commands from Domotciz to Device
after that drop me the logs file
could you kindly update the develop branche with a simple git pull
teh remove the widdgets related to this device
restart the plugin check that the device do not exist any more
then enable debug Tuya and Command
do the pairing and try to control the reporting from Device to Domoticz and then after the commands from Domotciz to Device
after that drop me the logs file
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
ok, will do tonight
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Thank you Pipiche!
trv -> domoticz
ok Changing the setpoint on the TRV does change the value in domoticz correctly
ok Also the Valve % open changes, 30 degrees makes the valve% move to 100%
ok Heatingstatus in domoticz changed to 'on'
nok Thermomode remains 'off' - I think this should change to manual
? door is a switch, (open window detection) is off, is hard to test right now
ok Changing it back to 10 degrees (=lower than the current room temp), Domoticz reports 10 degrees setpoint
ok the Valve % open changes to 0% again
ok Heatingstatus in domoticz changed to 'off'
? Thermomode remains 'off'
? door no change
domotics -> trv
nok Changing the setpoint to 20 degrees does not change the value in the TRV
nok (but to be expected) the Valve % open remains 0%
? Heatingstatus in domoticz remained 'off'
? Thermomode remains 'off'
? door no change
trv -> domoticz
ok Changing the setpoint on the TRV does change the value in domoticz correctly
ok Also the Valve % open changes, 30 degrees makes the valve% move to 100%
ok Heatingstatus in domoticz changed to 'on'
nok Thermomode remains 'off' - I think this should change to manual
? door is a switch, (open window detection) is off, is hard to test right now
ok Changing it back to 10 degrees (=lower than the current room temp), Domoticz reports 10 degrees setpoint
ok the Valve % open changes to 0% again
ok Heatingstatus in domoticz changed to 'off'
? Thermomode remains 'off'
? door no change
domotics -> trv
nok Changing the setpoint to 20 degrees does not change the value in the TRV
nok (but to be expected) the Valve % open remains 0%
? Heatingstatus in domoticz remained 'off'
? Thermomode remains 'off'
? door no change
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
and the log file. the forum was down for a while
- Attachments
-
- _PluginZigbee_51(4).log
- (170.28 KiB) Downloaded 39 times
Re: Another Zigbee TRV (TS0601)
please try again I fixed some stuff
(1) update plugin
(2) remove ALL widgets (I'm afraid that the ThermoMode was not removed)
(3) restart the plugin and check that thde device is not listed anymore in the plugin
(4) redo the pairing
I also found that debug Tuya seems not set, could please set it ?
(1) update plugin
Code: Select all
git pull
(3) restart the plugin and check that thde device is not listed anymore in the plugin
(4) redo the pairing
I also found that debug Tuya seems not set, could please set it ?
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
ok will do. I did set tuya debug.. we'll see this time
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Ah. I get it .. the validate button is needed to save the settings from the debug page.
The devices have battery indication. The domoticz widgets for setpoint and thermomode are not accepting any changes.
full report in the files attached.
The devices have battery indication. The domoticz widgets for setpoint and thermomode are not accepting any changes.
full report in the files attached.
- Attachments
-
- test4.txt
- (6.65 KiB) Downloaded 33 times
-
- _PluginZigbee_51(5).log
- (132.9 KiB) Downloaded 27 times
Re: Another Zigbee TRV (TS0601)
We are progressing,
could you retreive the latest, restart the plugin enable in addtion debug Command
and do some tests from Domoticz, I don't see any action coming from Domoticz
Then I need some help from you, please have a look the log and check for
This will happen when you will change the Thermostat mode of the TRV Like Off, Auto, Manual ....
I need to understand what are the SystemMode value for each .
could you retreive the latest, restart the plugin enable in addtion debug Command
and do some tests from Domoticz, I don't see any action coming from Domoticz
Then I need some help from you, please have a look the log and check for
ts0601_trv7_system_mode - After Nwkid: 7564/01 SystemMode: 1
This will happen when you will change the Thermostat mode of the TRV Like Off, Auto, Manual ....
I need to understand what are the SystemMode value for each .
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
Hi, I cannot find this in the domoticz log. I see some errors though:
2023-03-18 12:54:22.078 Error: zigbee4domoticz: Call to function 'onHeartbeat' failed, exception details:
2023-03-18 12:54:22.080 Error: zigbee4domoticz: Traceback (most recent call last):
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1571, in onHeartbeat
2023-03-18 12:54:22.080 Error: zigbee4domoticz: _plugin.onHeartbeat()
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 965, in onHeartbeat
2023-03-18 12:54:22.080 Error: zigbee4domoticz: processListOfDevices(self, Devices)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 822, in processListOfDevices
2023-03-18 12:54:22.080 Error: zigbee4domoticz: processKnownDevices(self, Devices, NWKID)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 565, in processKnownDevices
2023-03-18 12:54:22.080 Error: zigbee4domoticz: sanity_check_of_param(self, NWKID)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 332, in sanity_check_of_param
2023-03-18 12:54:22.080 Error: zigbee4domoticz: ts0601_actuator( self, NwkId, param, value)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/tuyaTS0601.py", line 82, in ts0601_actuator
2023-03-18 12:54:22.080 Error: zigbee4domoticz: func(self, NwkId, "01", dp, value )
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/tuyaTS0601.py", line 374, in ts0601_window_detection_mode
2023-03-18 12:54:22.080 Error: zigbee4domoticz: action = "%02x01" % dp
2023-03-18 12:54:22.080 Error: zigbee4domoticz: TypeError: %x format: an integer is required, not str
I noticed the thermomode looks a bit different then the one I had from tinytuya. The extra off setting and 'hide off tickbox' are not there.
2023-03-18 12:54:22.078 Error: zigbee4domoticz: Call to function 'onHeartbeat' failed, exception details:
2023-03-18 12:54:22.080 Error: zigbee4domoticz: Traceback (most recent call last):
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1571, in onHeartbeat
2023-03-18 12:54:22.080 Error: zigbee4domoticz: _plugin.onHeartbeat()
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 965, in onHeartbeat
2023-03-18 12:54:22.080 Error: zigbee4domoticz: processListOfDevices(self, Devices)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 822, in processListOfDevices
2023-03-18 12:54:22.080 Error: zigbee4domoticz: processKnownDevices(self, Devices, NWKID)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 565, in processKnownDevices
2023-03-18 12:54:22.080 Error: zigbee4domoticz: sanity_check_of_param(self, NWKID)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 332, in sanity_check_of_param
2023-03-18 12:54:22.080 Error: zigbee4domoticz: ts0601_actuator( self, NwkId, param, value)
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/tuyaTS0601.py", line 82, in ts0601_actuator
2023-03-18 12:54:22.080 Error: zigbee4domoticz: func(self, NwkId, "01", dp, value )
2023-03-18 12:54:22.080 Error: zigbee4domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/tuyaTS0601.py", line 374, in ts0601_window_detection_mode
2023-03-18 12:54:22.080 Error: zigbee4domoticz: action = "%02x01" % dp
2023-03-18 12:54:22.080 Error: zigbee4domoticz: TypeError: %x format: an integer is required, not str
I noticed the thermomode looks a bit different then the one I had from tinytuya. The extra off setting and 'hide off tickbox' are not there.
-
hyeronimo
- Posts: 68
- Joined: Saturday 11 March 2023 8:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Another Zigbee TRV (TS0601)
the logs:
- Attachments
-
- _PluginZigbee_51(6).log
- (288.19 KiB) Downloaded 36 times
-
- domoticzlog1.txt
- (30.96 KiB) Downloaded 21 times
Re: Another Zigbee TRV (TS0601)
issue fixed, if you can do a again
For each change in the Device System Mode, you should see in the log this message with a different value for SystemMode.
Code: Select all
git pullFor each change in the Device System Mode, you should see in the log this message with a different value for SystemMode.
I need to understand what is the value for Off, Auto ...s0601_trv7_system_mode - After Nwkid: 7564/01 SystemMode: 1
Who is online
Users browsing this forum: No registered users and 1 guest