Giter VIP home page Giter VIP logo

heating's Introduction

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"

heating's People

Contributors

bruxy70 avatar oddiwahn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.