All about Home Assistant: Setup + Integration + Operation
Home Assistant is a simple platform for controlling a wide range of smart home devices thanks to numerous integration options. Home Assistant scores with a quick start-up and easy implementation of new ideas.
What is Home Assistant?
Home Assistant is an open source home automation solution for connecting, controlling and monitoring a wide variety of devices, systems or communication standards. It can be run on almost any hardware, such as a Raspberry PI, a NAS or a mini PC.
Software | Core |
---|---|
GitHub | https://github.com/home-assistant/core |
current version | 2024.11.3 |
found | 2024-11-25 |
ioBroker >> Home Assistant (HA)
After a trip to other systems, I replaced my previously created setup, consisting of ioBroker, InfluxDB and Grafana, with Home Assistant. Compared to ioBroker the start with Home Assistant was much easier for me, see also: Smart Home Platform: Systems. While I was still searching for ioBroker, which frontend I could use for my dashboards, I had with Home-Assistant out of the box, I had a ready-made system. Home Assistant's Lovelance dashboards can be easily clicked together in the GUI and modified for special customizations in the Code Editor and with additional frontend packages to be adapted almost at will. I primarily use Home Assistant to control certain lights, my vacuum cleaner robot or the awning via smartphone. In addition, I use it to monitor the temperature and humidity of certain rooms, the water flow of my heating via ultrasonic sensors the electricity and water consumption the front door, a NAS and a web server. The automations range from a weather-dependent control of the robotic mower to the control of the pool pump, the heating and the dehumidifier when the pv plant or balcony power plant is producing enough electricity. In addition, I have on the basis of an old smartphone something like a weather station on the wall. I can now use it as an example to check the temperature, the weather or other values in passing or start certain actions on it.
Operation: HAOS >> Docker Container
The operating system of Home Assistant: HAOS enables the operation of Home Assistant and a variety of Docker-based Home Assistant add-ons with little to no knowledge of Linux or Docker. If you are confident enough to run Linux and Docker, you can also run Home Assistant as your own Docker container in addition to running HAOS as a VM. Here is an overview of the different installation variants: HAOS vs. Home Assistant Docker installation.
What hardware can be used for Home Assistant? Overview of the different installation variants. HAOS vs. Home Assistant Docker Container
Home Assistant (HA) can be run on its own dedicated hardware by using the Home Assistant Operating System (HAOS). If you want to run services outside of the HA Add-on Store on the same hardware as Home Assistant, you can also either create HAOS virtually as a VM or start it as a Docker container. ... continue reading
Start and overview
Home Assistant interface, operation and notification
After the first start, all connected devices are automatically displayed in the Home dashboard. The default view of Home Assistant is "Sections". The Sections view allows you to arrange and group the cards using drag and drop. ... continue reading
Integrate smart home devices
Besides some WLAN devices and certain DIY microcontrollers(ESP32), I use a Conbee 2 USB stick as Zigbee gateway. The integration of the Zigbee devices I originally implemented with Phoscon, then with Zigbee2MQTT and meanwhile I use Zigbee Home Automation ZHA.
Home Assistant integrations
The modular structure of Home Assistant enables communication with other devices or services and expands Home Assistant with additional functions. ... continue reading
Home Assistant + DIY Microcontroller + ESP Home (Docker)
With ESPHome it is very easy to program your own microcontroller for use in HomeAssistant. My first use for a self-programmed microcontroller was to record the water flow and temperature values of my heater, see: ESP32 programming, Arduino - install requirements. ... continue reading
Home-Assistant Display - Weather Station and more
After integrating more and more switches, lights and temperature sensors into Home Assistant, I had the idea to replace my classic weather station with a display for Home Assistant. I used an old cell phone, the Home Assistant app and a frame from the 3D printer as the display. ... continue reading
Automatisierung
Home Assistant Automation - Possibilities & Basics
From controlling the pool pump to the heating to the robotic mower, automations in Home Assistant offer a way to make things around your home really smart. ... continue reading
Home Assistant Templates / Statistics and Sensors
With the help of Home-Assistant templates, data from various sensors can be converted, combined or provided with your own formulas. Templates allow the creation of logic blocks for use in custom sensors, conditions or for customizing specific values in Lovelance Cards. The syntax used is Jinja2, a fully functional template engine for Python. ... continue reading
Deep Dive
HA history: more than 10 days? Long Time Statistic (LTS)
By default, the history in Home Assistant shows the status changes of the last 10 days and supplements older data for certain entities from the Long Time Statistic (LTS). ... continue reading
Home Assistant SQL - Integration - Queries
In addition to the option of creating template sensors, data can also be read directly from the database via SQL integration. This means, for example, that statistical data can also be queried retrospectively without having to create a corresponding sensor beforehand. ... continue reading
Home Assistant SQlite - Change statistics data
Originally, I had wrong values in the database every now and then when reading out the smart meter. I was able to correct the cause, but the wrong values do not look so good in the statistics. Only after I spent some time correcting the statistic data directly in the database, I discovered that wrong statistic values can be easily changed in Home-Assistant. ... continue reading
Home Assistant - Helper
In the world of home automation, Home Assistant offers impressive flexibility in the integration and management of sensors. possible sensors can be added not only via the configuration.yaml file, but also conveniently via a helper in the GUI. ... continue reading
Home Assistant Database MySQL vs. SQLite
Home Assistant uses SQLite as a database. In SQLite all data is stored in a simple file: home-assistant_v2.db. I had no problems with the database so far and I am very satisfied with the performance of Home Assistant. Nevertheless I wanted to try a MySQL database, because at least theoretically MySQL could achieve a better performance. In practice, however, I could not notice any difference. According to the manufacturer's page, SQLite is even recommended: ... continue reading