IgorYbema / Toon-HASS

HomeAssistant integration with Toon thermostat.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Toon-HASS

This application is built to integrate some Home Assistant functionalities in Toon thermostat (available in The Netherlands). A rooted Toon is required to be able to use this application.

My main goal was to enable some key features on the Toon thermostat so i didn't need a second screen on the wall. For extended details about my home automation I will grab my laptop. With this idea in mind I built integration for;

  • 8 sensors
  • 4 scenes
  • 5 switches
  • 1 input_number (max 6 options)
  • 1 custom alarm

I know there is still some space left but I'm going to create a little numpad to control my alarm system. As this alarm system is pretty uncommon I didn't include it in this github (also I haven't built it yet :) ). I'm not a developer so I'm sure the code isn't what it should be, if you have any remarks or hints/tips about some pieces of code please let me know.

How to install:

  1. Copy the homeassistant folder to Toon directory "/HCBv2/qml/apps/"
  2. On firmware before 4.16 edit file "/HCBv2/qml/qb/base/Globals.qml"; Add ""homeassistant"," to the list of apps to load (make sure to save your changes)

alt text

  1. Run command "killall qt-gui" to restart Toons user interface
  2. Add the app called "homeassistant" to a new tile

alt text

  1. When starting the app for the first time the screen will be pretty much empty, click on "Instellingen" to configure the app
  2. On the configuration page enter the Home Assistant connection info and entity_id's you want to be shown (press the left/right arrows to scroll through sensors/scenes/switches)

alt text

  1. Press "Opslaan" to save your configuration. If all is well the information will be retrieved from your Home Assistant system

alt text

Friendly names configured in your Home Assistant config are used to show the objects on the Toon. So make sure all items you want Toon to show have a friendly name.

All objects are refreshed upon opening the app, pressing the "Opslaan" button on the configuration screen and by pressing the Home Assistant image on the app home screen (top right). I'm not a fan of endless loops so I haven't created an automatic update function.

About

HomeAssistant integration with Toon thermostat.


Languages

Language:QML 100.0%