Skip to content

HomeAssistant integration with Toon thermostat.

Notifications You must be signed in to change notification settings

Luc-S/Toon-HASS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

If you use SSL and Home Assistant version 0.73.0 or higher make sure to set 'ssl_profile: intermediate' in your Home Assistants configuration.yaml (in the http section; https://www.home-assistant.io/components/http/). This is not needed when using the Long-Lived Access token authentication.

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/input_booleans/lights
  • 1 input_number (max 6 options)
  • 1 custom alarm

The tile will show the first 3 configured sensors. If you don't enter an alarm object, this space will be left empty.

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

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)

You need to manually generate a long-lived access token from your Home Assistant system and add this token to the "token.txt" file on your Toon. This file is located at /HCBv2/qml/apps/homeassistant/. To generate a token navigate to your user profile in the Home Assistant gui and scroll down to the bottom where you see "Long-Lived Access Tokens" (and press generate). The password textbox can be left empty.

If you still use a password to authenticate with Home Assistant choose 'Legacy pass' on the configuration page of the Toon app and enter your password in the textbox.

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 every minute (because of the sensor info located on the tile), 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).

About

HomeAssistant integration with Toon thermostat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages