-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
selflowtemp
resets every 5 minutes when writing same value
#954
Comments
selflowtemp
keeps resetting when writing same valueselflowtemp
resets every 5 minutes when writing same value
Yes, some guys are flooding the tx queue with write commands, always the same value, and wonder why fetched values do not update (the writes have priority and ems-reads will never be executed). So we added a logic that write is skiped if the value is unchanged. EMS-ESP32/src/devices/boiler.cpp Line 1713 in f385854
|
I think we can add a logic to to write the value, but without verify read and put it to end of queue. Boiler line 1713 ff.
|
Please try with: https://github.com/MichaelDvP/EMS-ESP32/releases/tag/latest |
I have a similar issue with my boiler (Nefit Topline/GB162). Where consistently 5 minutes after sending a selflowtemp the temperature returns back to the default (7 deg C in my case). I tried a build from a tech-upgrade branch containing the fix from @MichaelDvP and it doesn't appear to fix my issue. In my case I am confident I am not spamming values. |
You have to write selflowtemp periodical to avoid the setback. The fix was that writing the same value is possible to keepthe boiler at this value. For #951 we test a periodical send by emsesp for heating off, maxbe we can combine this. Something for the future. |
I'll give this a try, and report back if that helps. Thanks for the assistance! |
Writing the value every minute is what the thermostats do. So this is good interval to start with. |
Seems like that fixed it. Fantastic, looks like I finally can get rid of my physical thermostat altogether. I appreciate your support! And I can confirm that multiple writes within a short period of time, do persist the value now. |
Bug description
selflowtemp
is resetting back to 7 degC when e.g. writing a value of 75 degC every minute. When writing a different value (70, 71, 70, 71, ...) it keeps the indicated value.It worked fine on 3.5.0b7 and started to appear after updating to 3.5.0.
Steps to reproduce
selflowtemp
(in my case using the REST API).Expected behavior
Unexpected behavior
Screenshots
Logs when things work fine (i.e. when the selflowtemp changes to a different value):
Logs when sending the same selflowtemp:
Note how there's no
Sending write Tx
in this case.Device information
The text was updated successfully, but these errors were encountered: