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)
Operation: HAOS >> Docker Container
Conbee 2: Phoscon >> Zigbee2MQTT >> Zigbee Home Automation (ZHA)

What hardware can be used for Home Assistant? Overview of the different installation variants. HAOS vs. Home Assistant Docker Container
Home Assistant can be run on its own dedicated hardware by using the Home Assistant Operating System (HAOS). In addition, those who want to run other services on the same hardware besides Home Assistant can either create HAOS virtually as a VM, or start it as a Docker container. The latter requires fewer system resources (CPU and RAM), but loses the ability to install Home Assistant add-ons. Using Docker means that the add-ons cannot be installed in Home Assistant, but must also be started and m... ... continue reading

Home Assistant: Docker startup + SSL Internet access
Besides installing it on its own hardware, the second recommended installation option for Home Assistant is to use Docker, see also: HAOS vs. Home Assistant Docker Installation. To run Home Assistant in Docker, a Docker setup is of course required, see: Docker. Those who already have Docker setup can start Home-Assistant with the following command: ... continue reading

Home Assistant integrations
Home Assistant uses so-called integrations to connect devices. The integrations allow direct communication to the devices, or the connection of other gateways. As an example, for ZigBee devices there are several possibilities how to integrate them: ... continue reading

Home Assistant interface, operation and notification
After the first start,all integrated devices areautomatically displayed in the home dashboard. ... 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

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

Read out smart meter of the network operator KAIFA MA309M
Knowledge of current consumption data helps to optimize electricity consumption in a meaningful way. For this purpose, an additional smart meter can be installed or, even better, the smart meter of the network operator can be read out. As an example, the smart meter of my network operator, Salzburg AG, can be queried via the M-Bus customer interface and the data can thus be used in other systems. The values read out include the energy consumption and, if a PV system is used, the feed-in power, a... ... continue reading

PV balcony power plant commissioning and HA integration
The hype about PV systems has not passed me by without a trace, so I have - to gain some experience - put together an 800Watt balcony power plant: Cost in total about 600$. Balcony power plants are often offered as a set, which usually consists of an inverter and two PV modules including cables. The power of the inverter limits the maximum generation power of the plant. In Austria, balcony power plants with a generation capacity of up to a maximum of 800 watts are currently allowed, Germany sho... ... continue reading

ZigBee2MQTT vs. ZHA: Commissioning and relocation
First Phoscon, then Zigbee2MQTT (Z2M) and most recently Zigbee Home Automation (ZHA): I have extensively tested all three ZigBee gateway software solutions with Home Assistant and am now using ZHA, which is also the primary topic of this article. Switching from one gateway solution to another can be a bit of a pain, depending on the number of connected devices. As an example, when I switched from Phoscon to ZigBee2MQTT, I had to reconnect all the devices, which is not really fun especially with... ... 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 + 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: www.script-example.com/topic/arduino. Although I was able to program the microcontroller relatively quickly, not least thanks to numerous examples in Arduino, the implementation with ESPHome is even easier. The program code with similar functionality in ESPHome has, compared to my Ardu... ... 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

{{percentage}} % positive

THANK YOU for your review!
Top articles in this section
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.
For home automation, there are numerous different standards and a large number of different platforms. Open source platforms often offer the possibility to connect different automation standards with each other. As an example, a small mini-computer, a Raspberry Pi or a NAS equipped with multiple receivers could control different automation solutions via one platform.
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
Questions / Comments
(sorted by rating / date) [all comments(newest first)]