Skip to content

🔥 Heating AppDaemon automation for Home Assistant. Sets the thermostats target temperature and switches heating on and off. Also adds the current temperature and heating mode to the thermostats.

License

Notifications You must be signed in to change notification settings

bruxy70/Heating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Heating

This is an AppDaemon automation of my heating in Home Assistant, as explained in this video on YouTube. It sets the thermostat's target temperature and switches heating on and off. It also adds the current temperature and heating mode to the thermostat entities.

Installation

  1. This requires AppDeamon installed and configured (follow the documentation on their web site).
  2. Make sure that voluptuous and datetime are incuded in the python_packages option
  3. Copy the content of the appdaemon directory from this repository to your home assistant /config/appdaemon folder
  4. Add configuration to your Home Assistant's /config/appdaemon/apps/apps.yaml

Configuration

This is the configuration that goes into /config/appdaemon/apps/apps.yaml

Example:

heating-control:
  module: heating-control
  class: HeatingControl
  switch_heating: switch.heating
  somebody_home: input_boolean.somebody_home
  heating_mode: input_select.heating_mode
  temperature_vacation: input_number.temperature_vacation
  rooms:
  - sensor: sensor.teplota_living_toom
    day_night: input_boolean.livingroom_day_night
    temperature_day: input_number.livingroom_day
    temperature_night: input_number.livingroom_night
    thermostats:
    - climate.termostat_living_room
    - climate.termostat_dining_area

Parameters:

Attribute Required Description
module Yes Always heating-control
class Yes Always HeatingControl
switch_heating Yes entity_id of the switch, controlng the boiler - this AppDaemon script will turn this off to turn off the heating, and on to turn it on (in which case the built-in boiler program will be used)
somebody_home Yes entity_id of the boolean value that is on when somebody is home and off otherwise
heating_mode Yes entity_id of the input select with heating modes. Can contain the values On, Off, Eco, Auto and Vacation - these values can be changed - se the bottom of this README. Not all values have to be defined.
temperature_vacation Yes entity_id of the input containg the temperature to be used for vacation mode
rooms Yes List of rooms - see bellow

Room parameters

Attribute Required Description
sensor Yes entity_id of the temperature sensor
day_night Yes entity_id of the boolean switch between high/low (day/night). This is on for 'day', off for 'night'
temperature_day Yes entity_id of the input containg the high (or day) temperature for the given room
temperature_night Yes entity_id of the input containg the low (or night) temperature for the given room
thermostats Yes list of thermostat entity_ids

Other configuration

The heating-control.py file uses constants for the 5 heating modes. If you'd like to name your modes differently, you can change them there. The values should be in lowercase.

MODE_ON = "on"
MODE_OFF = "off"
MODE_AUTO = "auto"
MODE_ECO = "eco"
MODE_VACATION = "vacation"

About

🔥 Heating AppDaemon automation for Home Assistant. Sets the thermostats target temperature and switches heating on and off. Also adds the current temperature and heating mode to the thermostats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages