Skip to content

Releases: ScratMan/HASmartThermostat

v2021.12.1

03 Dec 10:52
Compare
Choose a tag to compare

Bug fixes:

  • Fix heater remaining on while thermostat is switched off (#34).
    When thermostat was switched off while heating since less than the minimum cycle duration, the heater switch could remain in on state until the thermostat is switched on again. In this release, switching off the thermostat will force the heater switch to off whatever the duration of the last on cycle.

Full Changelog: 2021.11.9...2021.12.1

v2021.11.9

29 Nov 20:52
Compare
Choose a tag to compare

Breaking change !!

Be careful to the new setting unique_id that might create a duplicated entity. See below for workarounds.

What's new:

  • Add optional unique_id parameter: Breaking change !
    Closes #22.
    It allows to customize the entity through UI. Please note that leaving this setting empty may duplicate the previously existing entity, and the old one will then be marked as unavailable.
    Example:
    • Old entity becoming unavailable : climate.room_thermostat
    • New entity : climate.room_thermostat_2
      You should note the ID of the old entity, then delete the old entity in the UI and rename the new entity using the same ID as old entity to restore functionality of all your automations, scripts, cards, etc...

To avoid this, update Smart Thermostat using HACS, then stop Home Assistant, set the unique_id parameter in YAML with the ID of the old smart thermostat entity as shown in Developers tools > States (example if old entity ID is climate.room_thermostat in developers tools, then write unique_id: room_thermostat in the YAML file), save file and then start Home Assistant.

  • Add service to set PID gains :
    Use the smart_thermostat.set_pid_gain service to adjust the PID gains without requiring a restart of Home Assistant. Values are saved to Home Assistant database and restored after a restart. Please consider saving the final gain parameters in YAML configuration file when satisfied to keep it safe in case of database corruption.

  • Add service to set preset modes temperatures:
    Use the smart_thermostat.set_preset_temp service to set the temperatures for the preset modes. Closes #17.

  • Add service to clear the integral part:
    Use the smart_thermostat.clear_integral service to reset the integral part of the PID controller to 0. Useful when tuning the PID gains to quickly test the behavior without waiting the integral to stabilize by itself.

  • Add integration reload service:
    Use the smart_thermostat.reload service to reload the thermostat from scratch without requiring a restart of Home Assistant.

Bug fixes:

  • Fix integral windup when set point is changed while heating is on and modulating.
  • Fix logging issue when autotune is successful.
  • Fix error when calling service climate.set_preset_mode to set preset to 'none' while no preset is active (#28)

Full Changelog: 2021.11.8...2021.11.9

v2021.11.9-beta2

28 Nov 07:44
Compare
Choose a tag to compare
v2021.11.9-beta2 Pre-release
Pre-release

Add optional unique_id parameter:
It allows to customize the entity through UI. Please note that leaving this setting empty may duplicate the previously existing entity, and the old one will then be marked as unavailable.
Example:

  • Old entity becoming unavailable : climate.room_thermostat
  • New entity : climate.room_thermostat_2
    You should note the ID of the old entity, then delete the old entity in the UI and rename the new entity using the same ID as old entity to restore functionality of all your automations, scripts, cards, etc...

To avoid this, update Smart Thermostat using HACS, then stop Home Assistant, set the unique_id parameter in YAML with the ID of the old smart thermostat entity as shown in Developers tools > States (example if old entity ID is climate.room_thermostat in developers tools, then write unique_id: room_thermostat in the YAML file), save file and then start Home Assistant.

Add service to set PID gains :
Use the smart_thermostat.set_pid_gain service to adjust the PID gains without requiring a restart of Home Assistant. Values are saved to Home Assistant database and restored after a restart. Please consider saving the final gain parameters in YAML configuration file when satisfied to keep it safe in case of database corruption.

Add service to set preset modes temperatures:
Use the smart_thermostat.set_preset_temp service to set the temperatures for the preset modes.

Add service to clear the integral part:
Use the smart_thermostat.clear_integral service to reset the integral part of the PID controller to 0. Useful when tuning the PID gains to quickly test the behavior without waiting the integral to stabilize by itself.

Add integration reload service:
Use the smart_thermostat.reload service to reload the thermostat from scratch without requiring a restart of Home Assistant.

Bug fixes:

  • Fix integral windup when set point is changed while heating is on and modulating.
  • Fix logging issue when autotune is successful.

Full Changelog: 2021.11.8...2021.11.9-beta2

v2021.11.9-beta1

27 Nov 20:03
Compare
Choose a tag to compare
v2021.11.9-beta1 Pre-release
Pre-release

Add optional unique_id parameter:
It allows to customize the entity through UI. Please note that living this setting empty will duplicate the previously existing entity, and the old one will be marked as unavailable.
Example:

  • Old entity becoming unavailable : climate.room_thermostat
  • New entity : climate.room_thermostat_2
    You should then delete the old entity in the UI and rename the new entity using the same ID as old entity to restore functionality of all your automations, scripts, cards, etc...

To avoid this, update Smart Thermostat using HACS, then stop Home Assistant, set the unique_id parameter in YAML with the id of the thermostat as shown in Developers tools > States (example climate.room_thermostat) and then start Home Assistant.

Add service to set PID gains :
Use the smart_thermostat.set_pid_gain service to adjust the PID gains without requiring a restart of Home Assistant. Values are saved to Home Assistant database and restored after a restart. Please consider saving the final gain parameters in YAML configuration file when satisfied to keep it safe in case of database corruption.

Add service to clear the integral part:
Use the smart_thermostat.clear_integral service to reset the integral part of the PID controller to 0. Useful when tuning the PID gains to quickly test the behavior without waiting the integral to stabilize by itself.

Add integration reload service:
Use the smart_thermostat.reload service to reload the thermostat from scratch without requiring a restart of Home Assistant.

Full Changelog: 2021.11.8...2021.11.9-beta1

v2021.11.8

27 Nov 09:22
Compare
Choose a tag to compare

Add min_cycle_duration and min_off_cycle_duration parameters to filter fast switching of the heater switch, protecting boilers for example.
Improved autotuner.
Documentation update.

Full Changelog: 2021.11.7...2021.11.8

v2021.11.8-beta4

20 Nov 21:37
Compare
Choose a tag to compare
v2021.11.8-beta4 Pre-release
Pre-release

Autotune improvements.

Full Changelog: 2021.11.7...2021.11.8-beta4

v2021.11.8-beta3

18 Nov 21:55
Compare
Choose a tag to compare
v2021.11.8-beta3 Pre-release
Pre-release

Fix autotune_sample_time reporting.
Fix autotune set point selected at boot and not after 5 sensor samples.

Full Changelog: 2021.11.7...2021.11.8-beta3

v2021.11.8-beta2

18 Nov 20:43
Compare
Choose a tag to compare
v2021.11.8-beta2 Pre-release
Pre-release

Add min_off_cycle_duration parameter to differentiate minimum on cycle and off cycle if required.
Rework the autotuner to provide more details for debug, and remove need of sampling time specification.

Full Changelog: 2021.11.7...2021.11.8-beta2

v2021.11.8-beta1

16 Nov 19:15
Compare
Choose a tag to compare
v2021.11.8-beta1 Pre-release
Pre-release

Development version adding optional min_cycle_duration (default value is 0) to filter short on/off cycles for heating systems requiring a minimum on or off time (like boilers).

Full Changelog: 2021.11.7...2021.11.8-beta1

v2021.11.7

15 Nov 22:00
Compare
Choose a tag to compare

Allow setting preset temperature to 0. Fixes issue #5

Full Changelog: 2021.11.6...2021.11.7