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.

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 variantsHAOS vs. Home Assistant Docker installation.

Communication: primarily WLAN and Zigbee

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.

Preview Hardware for home assistant? Variants: HAOS vs. Docker

What hardware can be used for Home Assistant? Overview of the different installation variants. HAOS vs. Home Assistant Docker Container

changed: 2023-06-23 from Bernhard (Initial Release: 2023-03-07)

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

Preview Home Assistant integrations

Home Assistant integrations

created: 2023-03-07 from Bernhard

The modular structure of Home Assistant enables communication with other devices or services and expands Home Assistant with additional functions. ... continue reading

Preview Home Assistant interface, operation and notification

Home Assistant interface, operation and notification

created: 2023-03-07 from Bernhard

After the first start,all integrated devices areautomatically displayed in the home dashboard. ... continue reading

Preview Home Assistant Automation - Possibilities & Basics

Home Assistant Automation - Possibilities & Basics

changed: 2024-01-07 from Bernhard (Initial Release: 2023-04-26)

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

Preview Home-Assistant Display - Weather Station and more

Home-Assistant Display - Weather Station and more

created: 2022-12-14 from Bernhard

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

Preview Home Assistant + DIY Microcontroller + ESP Home (Docker)

Home Assistant + DIY Microcontroller + ESP Home (Docker)

created: 2023-01-10 from Bernhard

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

Preview Home Assistant Templates / Statistics and Sensors

Home Assistant Templates / Statistics and Sensors

created: 2023-09-05 from Bernhard

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

Preview HA history: more than 10 days? Long Time Statistic (LTS)

HA history: more than 10 days? Long Time Statistic (LTS)

created: 2023-12-27 from Bernhard

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). In this article you will find out which entities these are and how the data is stored in the Home Assistant. ... continue reading

Preview Home Assistant SQlite - Change statistics data

Home Assistant SQlite - Change statistics data

created: 2023-02-27 from Bernhard

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 Database MySQL vs. SQLite

Home Assistant Database MySQL vs. SQLite

created: 2022-05-09 from Bernhard

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

Smart-Home-Plattform - ioBroker vs. Home-Assistant | Smart Home | ioBroker install - Docker

Top articles in this section


Monitor water meter, record consumption: ESP32-Cam

First of all a big thank you to the creators of the "AI-on-the-edge-device" digitizer. The project allows to digitize the water consumption of an analog water meter with a 10 € cheap ESP32 cam. I describe exactly how this works in this article.


Commissioning Zigbee2MQTT in Docker - step by step

Zigbee2MQTT is an open source Zigbee bridge which can be easily integrated into existing smart home solutions thanks to the MQTT network protocol. As an example, Zigbee2MQTT combined with MQTT broker Mosquitto and Home Assistant can collect, display, record and control data from Zigbee devices. The setup described here uses Docker as a base. Manufacturer's website: https://www.zigbee2mqtt.io


ioBroker install - Docker

With ioBroker different automation solutions or devices can be combined in one system. To address specific gateways or devices, different adapters are used in ioBroker;

By continuing to browse the site, you agree to our use of cookies. More Details