By Jeremy Koski · September 16, 2026
Home Assistant is the most powerful open-source smart home platform available. It runs locally, supports over 2,000 device integrations, and does not send your data to the cloud. Running it on a Raspberry Pi gives you a dedicated, low-power hub that stays on 24/7. This guide covers everything you need to get Home Assistant running on a Raspberry Pi in 2026, from hardware selection to your first automation.
Home Assistant needs a Raspberry Pi with enough RAM and storage to handle your device count and automation complexity. Here is what we recommend:
The Pi 5 with 8GB RAM is the best choice in 2026. It handles large integrations, multiple add-ons, and complex automations without breaking a sweat. Cost: $80 to $120 for the board, or $150 to $200 for a complete kit with case, power supply, and cooling.
The Pi 4 with 4GB or 8GB RAM works well for most homes with under 100 devices. It costs less ($60 to $90 for the board) and is widely available. If you are just starting out, the Pi 4 is a solid choice.
Skip the SD card. SD cards fail under the constant write load that Home Assistant produces. Use a USB SSD or an NVMe drive with a USB adapter instead. A 128GB SSD costs $20 to $30 and will last years. If you must use an SD card, get a high-endurance card (SanDisk High Endurance or Samsung PRO Endurance) in 64GB or larger.
Use the official Raspberry Pi power supply for your model. The Pi 5 requires a 5V/5A USB-C supply. The Pi 4 needs a 5V/3A USB-C supply. Cheap phone chargers cause random reboots and data corruption.
There are three ways to install Home Assistant on a Raspberry Pi. Each has trade-offs.
HAOS is the official appliance-style installation. It runs a dedicated operating system with Home Assistant and its add-ons managed as a single unit. This is the easiest path and the one most people should take.
If you already run Docker on your Pi (or prefer a container-based approach), you can run Home Assistant as a Docker container. This gives you more flexibility but requires more setup. You lose access to add-ons unless you set them up as separate containers, and supervisor features are limited.
Install Docker on your Pi, then run:
docker run -d \ --name homeassistant \ --privileged \ --restart=unless-stopped \ -e TZ=America/Chicago \ -v /path/to/config:/config \ -v /run/dbus:/run/dbus:ro \ --network=host \ ghcr.io/home-assistant/home-assistant:stable
Then access it at http://your-pi-ip:8123.
The supervised method gives you full add-on support on a generic Debian system. It is the most flexible option but also the most fragile. Updates can break it, and the Home Assistant team officially supports it only on specific Debian installations. Use this only if you have Linux experience and understand the trade-offs.
Once HAOS is flashed and the Pi is powered on, the first boot takes 5 to 10 minutes. During this time, Home Assistant is initializing its database and setting up default integrations. When it is ready, the web interface appears at http://homeassistant.local:8123.
The onboarding wizard walks you through:
Home Assistant discovers many devices automatically through network scanning. For devices that need manual setup:
For Zigbee devices, you need a Zigbee coordinator. A SONOFF Zigbee 3.0 USB Dongle Plus or a SkyConnect stick works well. For Z-Wave, the Zooz Z-Wave 800 USB stick is the current standard.
For more on smart home devices and protocols, see our smart home automation page.
Automations are where Home Assistant shines. Here is a simple example: turn on a light when motion is detected after sunset.
You can chain multiple conditions and actions. For example, turn the light off after 5 minutes of no motion, but only if no one is watching TV (using a media player state condition).
Backups are critical. If your Pi dies, a backup lets you restore everything to a new device in minutes.
Once Home Assistant is running, explore the add-on store for features like Node-RED (advanced automation flows), ESPHome (custom DIY sensors), and Matterbridge (Matter device support). For VPN remote access so you can control your home from anywhere, see our guide on tech basics and VPN setup.
If you want professional help setting up Home Assistant, book an on-site visit and we will handle hardware selection, installation, device pairing, and automation setup for you.
For more on our approach to practical technology, read our post on why we keep using AI that breaks things.