Releases: ScratMan/HASmartThermostat
Release list
v2021.12.5-beta1
Beta version
What's new:
- Added the
outdoor_sensorto select an outdoor temperature sensor andkegain settings to enable outdoor temperature compensation.
The thermostat can then automatically compensate building losses based on the difference between target temperature and
outdoor temperature. An external component E is added to the PID output:
E = Ke * (target_temp - outdoor_temp)
output = P + I + D + E
The Ke gain depends on the insulation of the building, on recent buildings with good insulation, a
gain of 0.6 is recommended. This compensation will act like the integral of the PID, but with
faster response time, so the integral will be more stable. - Automatically adjust heater on and off duration based on
min_cycle_durationandmin_off_cycle_durationparameters for better modulation accuracy
Bug fixes:
None
Full Changelog: 2021.12.4...2021.12.5-beta1
v2021.12.5-alpha3
Experimental version
What's new:
Added the outdoor_sensor to select an outdoor temperature sensor and ke gain settings to enable outdoor temperature compensation.
Bug fixes:
- Fix integral windup when using outdoor temperature compensation
- Add missing setting of Ke to state restore and
set_pid_gainservice
Full Changelog: 2021.12.4...2021.12.5-alpha3
v2021.12.5-alpha2
Experimental version
What's new:
Added the outdoor_sensor to select an outdoor temperature sensor and ke gain settings to enable outdoor temperature compensation.
Bug fixes:
- Fix integral windup when using outdoor temperature compensation
Full Changelog: 2021.12.4...2021.12.5-alpha2
v2021.12.5-alpha1
Experimental version
What's new:
Added the outdoor_sensor to select an outdoor temperature sensor and ke gain settings to enable outdoor temperature compensation.
Bug fixes:
None
Full Changelog: 2021.12.4...2021.12.5-alpha1
v2021.12.4
What's new:
Added the sensor_stall and output_safety settings to the thermostat. The first one allows adjusting the maximum delay between two temperature sensor update to detect an unresponsive sensor, and forcing the thermostat to safety (default 6 hours). Setting it to 0 disables the feature (you should make sure Home Assistant is able to detect the stall sensor and switch the thermostat off).
The second adjusts the output level that the thermostat will use in case the temperature sensor becomes unresponsive, so that the heating remains on at a minimum power (default is 5%).
Bug fixes:
- Output is set to 0 when temperature sensor is stable more then 3 hours #48
Full Changelog: 2021.12.3...2021.12.4
v2021.12.3
What's new:
The reload service is removed as it generated some issues with target temperature constantly switching between two values.
Bug fixes:
- Strange behaviour after calling smart_thermostat: reload service #46
Full Changelog: 2021.12.2...2021.12.3
v2021.12.2
Breaking changes:
Setting initial_hvac_mode in the configuration YAML will force the selected state upon restart. Remove this setting from configuration to let the thermostat restore its previous state.
Setting target_temp in the configuration YAML will force the set temperature upon restart. Remove this setting from configuration to let the thermostat restore its previous set temperature.
What's new:
- Add PID mode option selectable with set_pid_mode service, to either set the PID in auto (default) or set it off so it acts like generic thermostat.
- Add
hot_toleranceandcold_toleranceto set hysteresis for use with PID mode off.
Bug fixes:
- Missing hot & cold tolerance #43
- Thermostat doesn't heat after boot while temperature is below set point #41
- Log filled with warnings about entity implementing device_state_attributes
- PID is refreshed on every temperature change with sampling_period defines #40
- Attributes are not updated after a calculation #39
- Integral part of the PID controller accumulates gain for error during the period the thermostat was in OFF state #38
- Unresponsiveness initial_hvac_mode: "off" #37
Full Changelog: 2021.12.1...2021.12.2
v2021.12.2-beta8
Beta version
Breaking changes:
Setting initial_hvac_mode in the configuration YAML will force the selected state upon restart. Remove this setting from configuration to let the thermostat restore its previous state.
Setting target_temp in the configuration YAML will force the set temperature upon restart. Remove this setting from configuration to let the thermostat restore its previous set temperature.
What's new:
- Add PID mode option selectable with set_pid_mode service, to either set the PID in auto (default) or set it off so it acts like generic thermostat.
Bug fixes:
- Thermostat doesn't heat after boot while temperature is below set point #41
- Log filled with warnings about entity implementing device_state_attributes
- PID is refreshed on every temperature change with sampling_period defines #40
- Attributes are not updated after a calculation #39
- Integral part of the PID controller accumulates gain for error during the period the thermostat was in OFF state #38
- Unresponsiveness initial_hvac_mode: "off" #37
Full Changelog: 2021.12.1...2021.12.2-beta8
v2021.12.2-beta7
Beta version
Breaking changes:
Setting initial_hvac_mode in the configuration YAML will force the selected state upon restart. Remove this setting from configuration to let the thermostat restore its previous state.
Setting target_temp in the configuration YAML will force the set temperature upon restart. Remove this setting from configuration to let the thermostat restore its previous set temperature.
What's new:
- Add optional
force_pid_refreshparameter (similar tokeep_alive) to set a timer for refreshing the PID, so that the integral will continue integrating with sensors that doesn't update if temperature doesn't move. - Add PID mode option selectable with set_pid_mode service, to either set the PID in auto (default) or set it off so it acts like generic thermostat.
Bug fixes:
- Thermostat doesn't heat after boot while temperature is below set point #41
- Log filled with warnings about entity implementing device_state_attributes
- PID is refreshed on every temperature change with sampling_period defines #40
- Attributes are not updated after a calculation #39
- Integral part of the PID controller accumulates gain for error during the period the thermostat was in OFF state #38
- Unresponsiveness initial_hvac_mode: "off" #37
Full Changelog: 2021.12.1...2021.12.2-beta7
v2021.12.2-beta6
Beta version
Breaking changes:
Setting initial_hvac_mode in the configuration YAML will force the selected state upon restart. Remove this setting from configuration to let the thermostat restore its previous state.
Setting target_temp in the configuration YAML will force the set temperature upon restart. Remove this setting from configuration to let the thermostat restore its previous set temperature.
What's new:
Add optional force_pid_refresh parameter (similar to keep_alive) to set a timer for refreshing the PID, so that the integral will continue integrating with sensors that doesn't update if temperature doesn't move.
Bug fixes:
- Thermostat doesn't heat after boot while temperature is below set point #41
- Log filled with warnings about entity implementing device_state_attributes
- PID is refreshed on every temperature change with sampling_period defines #40
- Attributes are not updated after a calculation #39
- Integral part of the PID controller accumulates gain for error during the period the thermostat was in OFF state #38
- Unresponsiveness initial_hvac_mode: "off" #37
Full Changelog: 2021.12.1...2021.12.2-beta6