-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
API: Post/Put does not change http Get values immediately for thermostat/dhw entities - just on next telegram read #1950
Comments
I tested other thermostat entities. The hc1/hc2 entities change API get values immediately. |
The commands write to the bus and queue a readback(validate) for the values. So the value is set afer the readback is executed on the bus. This is for all vales the same precedure. This happens within a few secondes. Plese make a log of a value that is validated a minute later. Only hc/mode sets the value inside emsesp in advance (not validated) to allow mode-dependend commands like seltemp to work in the desired mode. |
Michael I can confirm the readback within short time, but for the tested entity thermostat/dhw/circmode (enum) it does not change the next api response. Type 2F5. 8/18/2024, 3:40:16 PM | 10 0B FF 00 01 F5 01 FF 04 00 00 00 04 06 00 08 01 00 00 00 00 00 00 00 00 00 01 61 Could you please check again. |
Yes, you're right, there is a check for dhw circuit stored in offset 0, but the response is only offset 3, so it is not processed. I'll make a fix. |
Could you try the testbuild. https://github.com/MichaelDvP/EMS-ESP32/releases/tag/test writing is untested early stage and only a single point with id (or first datapoint), I've also resort the different RC3xx/R3000/BC400/UI800 models, hopefully all with the right mode enum_selections. |
The timing on dhw changes is working now. I will continue testing. I am using "switchtimes" as well but within Bosch/buderus they are named "switchPrograms". The "switchTimes" are the time entries within the programs. Maybe we should consider this as well. Btw: I was quite confused to recognize that no api post was working anymore from ioBroker and I was looking within my adapter. |
Ok, made a PR for the dhw fix, plese close this if ok. |
Within my ioBroker adapter I use the API interface.
Changes are send with a http post request.
This works as expected, but for some entities (thermostat/dhw) next telegram read might be only after 60 seconds.
Until next telegram read the old (unchanged) value is returned when polling values with http get.
tp1de/ioBroker.ems-esp#103
This results in irritating results when using small polling cycles and should be changed.
The text was updated successfully, but these errors were encountered: