-
Notifications
You must be signed in to change notification settings - Fork 10
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
Controller previous setpoint not correctly restored #20
Comments
This behaviour seems very specific for your thermostat, and arguably is not even compatible with HA's definition for a climate device (since heat / off states should not refer to different day/night modes with their own setpoints). Currently the controller is restored by first setting the hvac_mode back to its former setting, and then the setpoint is restored to its former setting.
I know that some thermostats have a preset setpoint, which is applied when switching modes.
I could add a configuration option for this. |
I have a Buderus central heating system that is available in HA as MQTT devices/entities by using an EMS-ESP32 gateway. Currently to be able to use the integration I manually switch my thermostat to On (Day) mode before turning on zoned-heating. |
Hi Niels, if you could add such an option that would be great! |
Hi,
First of all thanks for creating this integration!
When turning off the integration the original setpoint of my controller is not correctly restored and I think I know why this is happening.
The climate entity for my controller has 3 modes: automatic, on and off.
These map to my thermostat, on = use daytime stored setpoint, off = use nighttime stored setpoint, auto = use time schedule to switch between day/night setpoint.
The important part is that in all 3 modes the setpoint can be adjusted, either using the thermostat itself, or through the climate entity in HA.
Adjusting the setpoint in on (day) of off (night) mode stores this as the new setpoint for that mode.
Adjusting the setpoint in auto mode causes a temporary setpoint, which gets discarded once the schedule switches from day to night or vice versa.
zoned-heating, when activated, always switches to on (day) mode and sets a new setpoint. That setpoint is then, by the thermostat, assumed as the new daytime fixed setpoint.
When zoned-heating is turned of, it switches back to the previous mode, which is practically always auto, and applies the previously stored setpoint from before the integration was active.
However this setpoint is now applied in auto mode which means the setpoint for daytime is not restored, and instead a temporary setpoint is applied...
Could it be an option to not switch mode and just apply setpoints in the current mode?
Or perhaps first restore the setpoint in the current mode, and then (after a small delay) switch back to previous mode?
Regards,
Lieven
The text was updated successfully, but these errors were encountered: