Installing home assistant on a Raspberry Pi is really simple.
The Official recommended way is to use Home Assistant Operating System (HA OS).
Things you will need:
- A Raspberry Pi, preferably version 4, 3B+ is also OK.
- A Micro SD card, 32GB or higher.
- SD card reader for your Computer.
- Ethernet cable, connected to the Pi and your router. Wifi is not recommended.
- A good and stable power supply. This is a crucial item – using unsuitable one will cause you many, many troubles!!! You can go with the official one or alternatives.
Let’s start!
- Insert SD card to your card reader and connect it to your computer.
- Download Balena Etcher, select “Flash from URL”
- Copy the right url for your Pi:
- Pi 4 – 64-bit
https://github.com/home-assistant/operating-system/releases/download/6.5/haos_rpi4-64-6.5.img.xz
- Pi 4 – 32-bit
https://github.com/home-assistant/operating-system/releases/download/6.5/haos_rpi4-6.5.img.xz
- Pi 3 – 64-bit
https://github.com/home-assistant/operating-system/releases/download/6.5/haos_rpi3-64-6.5.img.xz
- Pi 3 – 32-bit
https://github.com/home-assistant/operating-system/releases/download/6.5/haos_rpi3-6.5.img.xz
- Paste the URL in BelenaEtcher.
- It will now download the image, when that is done – click on “Select Target”
- Select the SD card – make sure to select the right one!
- Click on Flash! and wait for the flash to complete.
- When the flash is complete, remove the SD card from computer and plug it in to the Pi. Connect your Pi to Ethernet and only then – turn it on / connect it to the power supply.
- Wait a few minutes and you should be able to reach homeassistant.local:8123
- If you can’t reach it, you may need to look for your Pi internal Ip address (http://x.x.x.x:8123)
- If you see this screen – you can now start configuring your Home assistant:
- Fill in the Details and click Create Account. Try to remember those details as they are a little bit hard to recover.
- Now – configure your timezone and location.
- Configure your detected devices. You can skip this screen as everything can be configured later.
- You are done!