SUPLA / supla-android

GNU General Public License v2.0
34 stars 48 forks source link

TemperatureControlType for HVAC #655

Open klew opened 1 month ago

klew commented 1 month ago

Core issue: https://github.com/SUPLA/supla-core/issues/470

HVAC will get "TemperatureControlType" user configuration field. It may be: not supported (0), room temperature (1), aux heater/cooler temperature (2)

"not supported" means that switching control type is not supported and thermostat will work as usual and it is the same as "room temperature" control type.

Room temperature is the default and it is the way, how current thermostats are working: all temperature setpoints (in channel values/actions, weekly schedules etc.) are within "room min/max" limits.

When TemperatureControlType is changed to "aux heater/cooler temperature", then thermostat will use "aux thermometer" as a reference temperature for thermostat controll. Consequently, all temperature setpoints (channel value, action, weekly schedules), should be within limits defined by "aux min/max" temperature limits. It is not expected from app to change/correct setpoints defined earlier in schedules that may be out of allowed temperature setpoint range. Thermostat device will select closest temperature setpoint to requested value. Thermometer order in upper row should show aux thermometer as a first element.

Some other visual information about current "temperature control type" should be added, so user will know which mode is configured (TBD)