-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs #16859
Comments
I had simular issues with the saswell.js file. Although my device is different: _TZE200_c88teujp. |
@JohnRabbit1 is the time on the device still correct? If yes, even after force removing the device through the z2m frontend, restarting z2m and re-pairing it? |
Yes it was. However I have changed the file a few months ago. I am not aware of recent changes. Even after the recent change to summertime i have a correct date/time. In the original saswell.js file the onEventSetTime function messed up the time: i.e. year was changed from 2023->2099. And that gave an unexpected result in the programmed schedule of course. I have attached the saswell.js file i am using now (yes, very dirty). However with some extra bonus functionality. |
@JohnRabbit1 initially the thermostat has to get its time from somewhere. When factory resetting the device or pulling out the batteries for 1 hour, is the time still correct? |
@Koenkk I did the following:
|
@JohnRabbit1 I've pushed a fix, can you check if it works? Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html) |
@Koenkk Sorry for the late replay, was absent. I'll test it tomorrow and send you my feedback. I guess it will be installed using a Linux command.
KR Uwe
Gesendet: Samstag, 01. April 2023 um 09:20 Uhr
Von: "Koen Kanters" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Author" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@JohnRabbit1 I've pushed a fix, can you check if it works?
Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@JohnRabbit1 I've copied your saswell.js to the subfolder /opt/iobroker/node_modules/zigbee-herdsman-converters/devices and restarted ioBroker. I assume just copying isn't enough. |
@Koenkk: Sorry for my late response, but i am abroad coming month. So i cannot check your fix. However looking at your fix: i think it will partly solve the problem. In my solution i have an additional fix: fromZigbee: ......, hy_set_time_request] for time sync. |
@JohnRabbit1: I've replaced the saswell.js on my spare RasPi4 running ioBroker connected via ZigBee to two thermostatic valves TZE200 which had the mentioned issue in #16859 with your copy. Of course, I've changed the directory in your version of saswell.js and up to now it works fine. No automatic changes of the target_temperature came up until now. This seems to be a positive indicator, but I want to monitor it a little more before I can be sure.
Can I use your saswell.js to replace the latest version on my "production" RasPi4 installation without triggering any problems?
Thanks a lot for your efforts!
KR Uwe
Gesendet: Mittwoch, 05. April 2023 um 09:56 Uhr
Von: "JohnRabbit1" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@Koenkk: Sorry for my late response, but i am abroad coming month. So i cannot check your fix. However looking at your fix: i think it will partly solve the problem. In my solution i have an additional fix: fromZigbee: ......, hy_set_time_request] for time sync.
@UweLm: I am not familiar with iobroker. But the error you show looks like your files are in a different place: /opt/iobroker/.... In my case they are in /opt/zigbee2mqtt/..... So you have to change that in the first few lines.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@UweLm: I am running this saswell.js script now for +/- 9 months, without any problems. So i think it is stable enough. You can always put this saswell.js thing in the data directory and in the userinterface add it as an external converter. In this way you don’t have to delete the original one.
Van: UweLm ***@***.***
Verzonden: woensdag 19 april 2023 12:43
Aan: Koenkk/zigbee2mqtt
CC: JohnRabbit1; Mention
Onderwerp: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@JohnRabbit1: I've replaced the saswell.js on my spare RasPi4 running ioBroker connected via ZigBee to two thermostatic valves TZE200 which had the mentioned issue in #16859 with your copy. Of course, I've changed the directory in your version of saswell.js and up to now it works fine. No automatic changes of the target_temperature came up until now. This seems to be a positive indicator, but I want to monitor it a little more before I can be sure.
Can I use your saswell.js to replace the latest version on my "production" RasPi4 installation without triggering any problems?
Thanks a lot for your efforts!
KR Uwe
Gesendet: Mittwoch, 05. April 2023 um 09:56 Uhr
Von: "JohnRabbit1" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@Koenkk: Sorry for my late response, but i am abroad coming month. So i cannot check your fix. However looking at your fix: i think it will partly solve the problem. In my solution i have an additional fix: fromZigbee: ......, hy_set_time_request] for time sync.
@UweLm: I am not familiar with iobroker. But the error you show looks like your files are in a different place: /opt/iobroker/.... In my case they are in /opt/zigbee2mqtt/..... So you have to change that in the first few lines.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#16859 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUNJAKLCQI4PJVMWUHW4X2LXB66RZANCNFSM6AAAAAAVMCXDCE> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AUNJAKLU7RVUKB7L5M4H7ALXB66RZA5CNFSM6AAAAAAVMCXDCGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2IWVY4.gif> Message ID: ***@***.***>
|
@JohnRabbit1: Rejoiced too soon...today the values of the two thermostatic valves have changed 3 times. No scripts are active, no entries in the log - nothing.
I haven't got that sentence: "You can always put this saswell.js thing in the data directory and in the userinterface add it as an external converter. In this way you don’t have to delete the original one."
The saswell.js is originally in /opt/iobroker/node_modules/zigbee-herdsman-converters/devices - for sure I can create a folder "/opt/data", copy your saswell.js into it and choose it in the ZigBee Adapter settings as an external converter. That means, it will not take the original saswell.js but yours in the subfolder "/opt/data"? Have I got that right?
Sorry, it's inconvenient for me to keep contacting you and bugging you about my problems with the saswell.js converter - I'm sure you have enough other things to do.
I appreciate you answering my mails - thanks for that!
KR Uwe
Gesendet: Donnerstag, 20. April 2023 um 12:09 Uhr
Von: "JohnRabbit1" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@UweLm: I am running this saswell.js script now for +/- 9 months, without any problems. So i think it is stable enough. You can always put this saswell.js thing in the data directory and in the userinterface add it as an external converter. In this way you don’t have to delete the original one.
Van: UweLm ***@***.***
Verzonden: woensdag 19 april 2023 12:43
Aan: Koenkk/zigbee2mqtt
CC: JohnRabbit1; Mention
Onderwerp: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@JohnRabbit1: I've replaced the saswell.js on my spare RasPi4 running ioBroker connected via ZigBee to two thermostatic valves TZE200 which had the mentioned issue in #16859 with your copy. Of course, I've changed the directory in your version of saswell.js and up to now it works fine. No automatic changes of the target_temperature came up until now. This seems to be a positive indicator, but I want to monitor it a little more before I can be sure.
Can I use your saswell.js to replace the latest version on my "production" RasPi4 installation without triggering any problems?
Thanks a lot for your efforts!
KR Uwe
Gesendet: Mittwoch, 05. April 2023 um 09:56 Uhr
Von: "JohnRabbit1" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@Koenkk: Sorry for my late response, but i am abroad coming month. So i cannot check your fix. However looking at your fix: i think it will partly solve the problem. In my solution i have an additional fix: fromZigbee: ......, hy_set_time_request] for time sync.
@UweLm: I am not familiar with iobroker. But the error you show looks like your files are in a different place: /opt/iobroker/.... In my case they are in /opt/zigbee2mqtt/..... So you have to change that in the first few lines.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#16859 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUNJAKLCQI4PJVMWUHW4X2LXB66RZANCNFSM6AAAAAAVMCXDCE> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AUNJAKLU7RVUKB7L5M4H7ALXB66RZA5CNFSM6AAAAAAVMCXDCGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2IWVY4.gif> Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@UweLm: That’s a pity. As i said earlier: i’m not familiar with iobroker. I have used the installation as mentioned on zigbee2mqtt.io.
It is installed in directory: /opt/zigbee2mqtt. A subdir: /opt/zigbee2mqtt/data contains all the config data like database etc. In my case it looked like:
configuration.yaml coordinator_backup.json database.db database.db.backup database.db.save disk log saswell.js state.json ts011f.js
and saswell.js is the external converter
So you have to find this dir in iobroker
Van: UweLm ***@***.***
Verzonden: donderdag 20 april 2023 13:15
Aan: Koenkk/zigbee2mqtt
CC: JohnRabbit1; Mention
Onderwerp: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@JohnRabbit1: Rejoiced too soon...today the values of the two thermostatic valves have changed 3 times. No scripts are active, no entries in the log - nothing.
I haven't got that sentence: "You can always put this saswell.js thing in the data directory and in the userinterface add it as an external converter. In this way you don’t have to delete the original one."
The saswell.js is originally in /opt/iobroker/node_modules/zigbee-herdsman-converters/devices - for sure I can create a folder "/opt/data", copy your saswell.js into it and choose it in the ZigBee Adapter settings as an external converter. That means, it will not take the original saswell.js but yours in the subfolder "/opt/data"? Have I got that right?
Sorry, it's inconvenient for me to keep contacting you and bugging you about my problems with the saswell.js converter - I'm sure you have enough other things to do.
I appreciate you answering my mails - thanks for that!
KR Uwe
Gesendet: Donnerstag, 20. April 2023 um 12:09 Uhr
Von: "JohnRabbit1" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@UweLm: I am running this saswell.js script now for +/- 9 months, without any problems. So i think it is stable enough. You can always put this saswell.js thing in the data directory and in the userinterface add it as an external converter. In this way you don’t have to delete the original one.
Van: UweLm ***@***.***
Verzonden: woensdag 19 april 2023 12:43
Aan: Koenkk/zigbee2mqtt
CC: JohnRabbit1; Mention
Onderwerp: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@JohnRabbit1: I've replaced the saswell.js on my spare RasPi4 running ioBroker connected via ZigBee to two thermostatic valves TZE200 which had the mentioned issue in #16859 with your copy. Of course, I've changed the directory in your version of saswell.js and up to now it works fine. No automatic changes of the target_temperature came up until now. This seems to be a positive indicator, but I want to monitor it a little more before I can be sure.
Can I use your saswell.js to replace the latest version on my "production" RasPi4 installation without triggering any problems?
Thanks a lot for your efforts!
KR Uwe
Gesendet: Mittwoch, 05. April 2023 um 09:56 Uhr
Von: "JohnRabbit1" ***@***.***>
An: "Koenkk/zigbee2mqtt" ***@***.***>
Cc: "UweLm" ***@***.***>, "Mention" ***@***.***>
Betreff: Re: [Koenkk/zigbee2mqtt] Thermostatic valves periodically change its values in target_temperature _TZE200_yw7cahqs (Issue #16859)
@Koenkk: Sorry for my late response, but i am abroad coming month. So i cannot check your fix. However looking at your fix: i think it will partly solve the problem. In my solution i have an additional fix: fromZigbee: ......, hy_set_time_request] for time sync.
@UweLm: I am not familiar with iobroker. But the error you show looks like your files are in a different place: /opt/iobroker/.... In my case they are in /opt/zigbee2mqtt/..... So you have to change that in the first few lines.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#16859 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUNJAKLCQI4PJVMWUHW4X2LXB66RZANCNFSM6AAAAAAVMCXDCE> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AUNJAKLU7RVUKB7L5M4H7ALXB66RZA5CNFSM6AAAAAAVMCXDCGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2IWVY4.gif> Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#16859 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AUNJAKOKUCXSHAA3PA4BFHDXCELETANCNFSM6AAAAAAVMCXDCE> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AUNJAKIQNS5ERBD7ZRCZYNLXCELETA5CNFSM6AAAAAAVMCXDCGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS2L2KGI.gif> Message ID: ***@***.***>
|
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Rejoiced too soon...today (2023/04/20) the values of the two thermostatic valves have changed 3 times. No scripts are active, no entries in the log - nothing. I appreciate your support - thanks for that! KR Uwe |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Still open. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
What happened?
Hi @ALL, I wrote some javascript classes to implement a heating control. Since a long time, I have the problem that 4 of 7 thermostatic valves change their values in the property zigbee.0...target_temperature automatically and without intervention of the javascript classes. This bypasses the complete control of the temperatures.
I've switched from deconz to ZigBee, but this did not solve the problem.
After more than a year of searching, I now came across the same bug on another channel (zigpy): zigpy/zha-device-handlers#1815.
The problem seems to have been fixed there: zigpy/zha-device-handlers#1816
Is it possible to implement such a solution for the zigbee-herdsman-converters too?
The file saswell.js contains already the device "_TZE200_yw7cahqs".
Or am I on the subject completely wrong here?
Hence, some more data:
In the meanwhile, I've updated my Zigbee Adapter to the Github version (repos:beta) 1.8.11 and the [email protected], [email protected] dedupted.
See here:
But it didn't change anything, the problem still occurs.
I've restarted iobroker as well as rebooted the raspi - didn't help out.
Is there any chance to fix this?
Thank you for any replies.
KR Uwe
What did you expect to happen?
No automatic changes of the temperature by the device itself.
How to reproduce it (minimal and precise)
Just wait, the changes happen every day.
Zigbee2MQTT version
None
Adapter firmware version
1.8.11 (Zigbee)
Adapter
_TZE200_yw7cahqs
Debug log
No log available, because the devices change their values automatically.
The text was updated successfully, but these errors were encountered: