ScratMan / HASmartThermostat

Smart Thermostat with PID controller for HomeAssistant
353 stars 50 forks source link

Overrride PID on Boost mode #32

Closed ejalal closed 2 years ago

ejalal commented 2 years ago

Is your feature request related to a problem? Please describe. It would be nice to change the Boost mode from just setting the temperature to boost_temp, to completely ignore the PID calculations and behave like a generic_thermostat, and then back to "PID" mode once the boost_temp is reached.

This will allow to really boost the temperature temporarily and go back to normal

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

ScratMan commented 2 years ago

Hello, this might lead to strong overshoot, as the generic thermostat can't anticipate the fast temperature increase that will occur by leaving the heater on at full power for long period. However, it can already be achieved by setting a higher Kp gain in the settings, so that the target temperature step to boost temp leads to 100%. For example, for a 2°C step, a Kp gain of 50 is enough. Then the Kd gain should be increased to progressively reduce the power during the temperature rise to limit the overshoot.

ScratMan commented 2 years ago

Hello, please test the v2022.1.0 that includes optional settings to force PID off mode while in boost preset.