Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
homeautomation:home_assistant [2025/03/13 10:10] – external edit 127.0.0.1 | homeautomation:home_assistant [2025/06/04 08:43] (current) – [Install Home Assistant] willy | ||
---|---|---|---|
Line 5: | Line 5: | ||
==== Which Home Assistant edition? ==== | ==== Which Home Assistant edition? ==== | ||
- | Home Assistant comes in different flavours and so called | + | Home Assistant comes in different flavours and so called |
+ | * Dedicated hardware. Best solution! | ||
+ | * Virtual Machine, like using dedicated hardware but on shared hardware. | ||
+ | * Docker container, but it does not support direct Add-On integration (there are workarounds) | ||
- | There are three ways: | + | The Virtual Machine approach can be useful if you don't have or don't want to use dedicated hardware, but it comes with the downside |
- | * Dedicated hardware | + | |
- | * Virtual Machine | + | |
- | * Docker container | + | |
- | + | ||
- | The docker container approach has some limitations, | + | |
I choose to use dedicated hardware because i want my smart home to be independent from my home-server services. In a way, the smart home needs to be operative even if/when my home IT services are down or the internet is not working. | I choose to use dedicated hardware because i want my smart home to be independent from my home-server services. In a way, the smart home needs to be operative even if/when my home IT services are down or the internet is not working. | ||
Line 19: | Line 17: | ||
==== Where to run Home Assistant ==== | ==== Where to run Home Assistant ==== | ||
- | Home Assistant offers different ways to self-host a standalone instance of Home Assistant on dedicated hardware. The easiest, which is also a good way to support the project itself, is tu buy a [[https:// | + | Home Assistant offers different ways to self-host a standalone instance of Home Assistant on dedicated hardware. The easiest, which is also a good way to support the project itself, is to buy a [[https:// |
The green is a fully functional hardware with small form factor ready to plug & run. The yellow is quite similar, but you provide yourself a Raspberry Pi4 CPU board. | The green is a fully functional hardware with small form factor ready to plug & run. The yellow is quite similar, but you provide yourself a Raspberry Pi4 CPU board. | ||
- | I choose | + | I did three different installations over time, and here is why: |
+ | * I started with an old repurposed laptop (see [[homeautomation: | ||
+ | * Then i purchased an Orange Pi 3B (see [[homeautomation: | ||
+ | * At last, i purchased a Home Assistant | ||
+ | |||
+ | As requirements, | ||
* One wired ethernet card (as WiFi will interfere with ZigBee and similar networks) | * One wired ethernet card (as WiFi will interfere with ZigBee and similar networks) | ||
- | * 8GB RAM (officially, | + | * 4GB RAM (officially, |
- | * Any (even small) SSD/ | + | * Any (even small) |
* At least one, better two or three, USB ports | * At least one, better two or three, USB ports | ||
You can place this computer in a strategic point in your house, to maximize the ZigBee or Z-Wave rage and signal distribution. You can start anywhere, and then move it if needed, this is specially easy on a laptop where you don't have to power it down. | You can place this computer in a strategic point in your house, to maximize the ZigBee or Z-Wave rage and signal distribution. You can start anywhere, and then move it if needed, this is specially easy on a laptop where you don't have to power it down. | ||
- | |||
==== Install Home Assistant ==== | ==== Install Home Assistant ==== | ||
- | Follow the official | + | Follow the [[homeautomation:green|C.1) HA: setup Home Assistant |
- | + | ||
- | As a general note, Home Assistant | + | |
- | + | ||
- | I already had a Linux installed, so i just downloaded the IMG file from Home Assistant download page and flashed it with a typical: | + | |
- | <code bash> | + | |
- | dd if=home-assistant.img of=/ | + | |
- | </ | + | |
- | + | ||
- | **Beware:** the above command will **destroy** your computer operating system and replace it with Home Assistant. You will not even be able to reboot, only power cycling will work. | + | |
- | + | ||
- | Make sure your wired network is plugged, as after the first boot you will need to fire up a web browser and locate your Home Assistant IP (see your DHCP logs...). In any case, you can check Home Assistant console output | + | |