View on GitHub

home-assistant-config

My Home Assistant Configuration

My Home Assistant installation

This is my personal Home Assistant compilation, for home automations. Home Assistant is an open source home automation software that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. If you like this repo, be sure ⭐️ Star this repository.

My Home Assistant Default View

My smartdevices

About

This are currently my devices for my Home Assistant assembly which is running on two devices:

Energy

On the virtual device runs the master instance of Hassio, and on de Pie runs a slave instance via HACS installation written by Lukas H. My pie is located in the metercabinet and connected via USB-P1 kabel to the smart electricity and gasmeter. The DSMR sensor integrates the gas and electricity consumer en generation values. Electricity production is provided by 22 solar panels. An three phase inverter converts the direct current into alternating current, making the electricity available for indoor use and for charging the hybrid car. The excess electricity is returned to the electricity supplier. All consumers and generation values are recorded and can be shown in clear graphs, in order to be able to quickly identify special deviations. A pre-set timer ensures that the hybrid car is charged on working days and has a heated / cooled indoor climate, just before departure.

Schedules

Every morning on workdays, HASS starts a morning ritual, whereby a preset music collection or radio station ensures that the day starts pleasantly with nice music and the latest news. Recently, this configuration has been expanded with a versatile Pioneer amplifier. It can stream commands and can be controlled via HASS. HASS displays the family agenda in the user interface, so that important things are not missed. In the evening, HASS ensures that the lighting in the living room and kitchen is switched on when darkness falls, but only when this living area is occupied. Outdoors, cozy mood lighting is also switched on and is automatically switched off at bed time. To keep the garden in good condition, HASS checks the buienradar every Friday to see if there is enough rain falling in the coming days. If this is less than 10 mm, the sprinkler system is switched on preventively.

Security

In addition to a traditional alarm installation indoors, a PTZ HD camera is set up at the driveway. The camera reports the movements on the driveway to HASS. In the back garden, the outbuildings have been expanded with movement sensors, which transmit the reports via HASS to the traditional alarm system. The carport and garage doors are automated so that they close / lock automatically when they are open, when nobody is home. HASS simultaneously sends a notification of this to the principals. Smoke developments are detected by 6 smoke detectors, and reported via HASS to the traditional alarm system. At the same time, notifications are sent and the panic setting is switched on, which ensures that all lamps flash, supplemented by a loud siren. In the event of inappropriate weather conditions, awning and roller shutters will be closed / opened to prevent damage.

Convenience

When you have smart devices at your disposal, I think you can make optimum use of their convenience. Via voice commands with Google Assistant I can, for example, switch lights on / off, activate sprinklers and control sun awning. I can control lights or carport / garage doors via my smartwatch. My smartwatch is connected via bluetooth to my smartphone where Tasker is installed. Tasker detects when I apply a button combination to my smartwatch, and sends the corresponding HTTP POST command to HASS. For security reasons it is wise to secure the case with TLS / SSL certificates and an authentication tokens. Once this is done, you can safely reach HASS anywhere in the world. When I like, I can speak to my JBL Google Assistant speaker to give a command like turning off a specific light. The speaker also brings me up to date on spoken 112 reports within a radius of 7.5 km from home.

Comfort

A rooted Toon thermostat is a pleasant added value in my smart home. Toon is integrated into HASS via a .custom component, allowing Toon to be monitored and adjusted at all times. But Toon also randomly shows entities on his display and shows when the waste is collected. In addition to the automated tasks via several temperature sensors, Home Assistant also keeps me informed. For example, if the hair salon or chillroom is kept at theme temperature, while the relevant rooms are no longer occupied, Home Assistant my notifies of this case.

Overview

To be able to clearly monitor all the smart components, I had made floor plans for each floor. These floor plans are interactive, so you can also operate the devices. Lamps light up in an air condition color depending on whether cooling / heating takes place. The security camera shows direct images of the driveway. The room / outside temperatures and moisture sensors show the current results. All housemates are shown by presence. The smart doors / shutters and awning light up when they are open. In the future, these floor plans will be shown on screen on the wall when the central heating automation is complete. But recently I use .pkozul’s custom lovelays card. With a transparent floor plan image in a SVG file, I set up a card as a dashboard on my old Samsung TAB3 tablet. This tablet is centrally located in the kitchen and displays all important entities, and can be controlled via custom component .browser_mod so that there is a custom evening theme after dusk. And also switches off at bedtime. Because the tablet is a very outdated model, I rooted it with a .custom Android, so version 6.0 is ready to receive voice commands via Google Assistant.

License

Copyright (c) 2019 AvdH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.