What you'll build
A local smart-home hub running Home Assistant OS: lights, sensors, energy monitoring and automations that keep working when the internet doesn't.
- Difficulty
- Beginner
- Build time
- About an hour
- Parts
- 9 parts to choose
Build total
$276.19
Shopping list
One recommended part for each job, checked against the others. Swap any of them, or skip what you already own.
Your setup
Tell us what you have. We check the build against it and change the steps to match.
-
See all Raspberry Pi Boards
Board Required
Home Assistant OS runs on Raspberry Pi 5 and Raspberry Pi 4 with at least 2GB of memory. 4GB runs it and a sensible set of apps comfortably. Change the board and the power supply, case and storage change with it.
-
See all Power Supplies
Power Required
Use the official supply made for your board: 27W for Raspberry Pi 5, 15W for Raspberry Pi 4. Home Assistant warns that a computer's USB port can't supply enough power.
-
See all Storage
Storage Required
Home Assistant writes history all day. Its guide asks for an A2 microSD card of at least 32GB. On Raspberry Pi 5 an NVMe SSD on the M.2 HAT+ lasts longer, but needs a case with room for the HAT.
-
See all Cases
Case Required
Each case fits one board. The official Raspberry Pi 5 case has a built-in fan; with the SSD kit choose a case with room for the M.2 HAT+.
-
See all Cables & adapters
Ethernet Required
Home Assistant needs Ethernet to install, and stays more dependable on a cable than on Wi-Fi. A ZigStar Zigbee gateway needs its own lead to your router too.
Up to 5 -
See all Networking & PoE
Zigbee coordinator Optional
Zigbee devices talk to Home Assistant through a coordinator. The ZigStar UZG-01 is a network gateway: it sits on your router by Ethernet, powered by PoE or USB-C, and Home Assistant's Zigbee integration finds it on the network. Home Assistant advises against running a coordinator over Wi-Fi.
-
See all Sensors for Raspberry Pi
Sensor Optional
Home Assistant no longer reads a BME680 wired to the Pi itself, so this one reports through ESPHome on a Pico WH over Wi-Fi. Choosing it adds the Pico WH and the wires; you solder the sensor's header.
-
See all Raspberry Pi Pico
Sensor board Optional
A Raspberry Pi Pico W runs ESPHome, which Home Assistant talks to directly on your network.
-
See all Prototyping & components
Jumper wires Optional
Four female-to-female wires join the sensor to the Pico WH's pins.
Your build
Raspberry Pi 5 4GB
- Raspberry Pi 5 4GB $178.42
- Raspberry Pi 27W USB-C Power Supply White $26.37
- Raspberry Pi A2-Class microSD Card, 32GB, Blank $47.00
- Raspberry Pi 5 Case Red/White $17.95
- Ethernet Lead CAT 5E 3m $6.45
Worth checking
- No backup location chosen yet. Backups kept only on the Pi are lost with its card or SSD.
Fits are checked against the makers' documentation and our own case records. Anything we haven't confirmed says “Not checked”.
Link to this build: bookmark or share it to come back to these choices.
5 parts
$276.19
How the build goes
For the parts in your shopping list. Change a part and these change with it.
-
Write Home Assistant OS to the microSD card
On your computer, open Raspberry Pi Imager and select OS, then Other specific-purpose OS › Home automation › Home Assistant, and choose the Home Assistant OS for your board (RPi 5 or RPi 4). Select the microSD card, then Next and Write.
It worked if Imager finishes the write and lets you eject the card.
-
Close it up in the case
Put the board in its case as the case's instructions describe, then put the card in if you're using one.
-
Plug in Ethernet, then power
Connect the Pi to your router with the Ethernet lead (Home Assistant needs it to install), then plug in the power supply.
-
Open Home Assistant
On a computer or phone on the same network, go to homeassistant.local:8123. On Raspberry Pi 4 or 5 it should appear within a minute; if it hasn't after 5 minutes, write the card again.
It worked if the Home Assistant welcome screen opens.
-
Create your smart home
Choose to create a new smart home (or restore one from a backup), create your account, which is the administrator, and set your home location, which sets the time zone, units and currency.
It worked if you see the devices Home Assistant found on your network, or All set!
-
Build your first automation
Go to Settings › Automations & scenes and select Create automation › Create new automation. Start with the one below.
It worked if testing the automation does what you set it to.
-
Back it up off the Pi
Go to Settings › System › Backups and select Set up backups. Download the emergency kit, which holds the encryption key, and keep it somewhere safe; set the schedule; and choose a location that isn't only the Pi. Home Assistant recommends a copy on another system and ideally one off-site.
It worked if a backup shows in the location you chose. To restore onto a new card or Pi, choose to restore from a backup on the welcome screen, enter the encryption key, then log in as you did on the old system.
Checked against these on 22 October 2026
Where the makers' instructions differ from ours, follow theirs.
- Home Assistant — Raspberry Pi installation
- Home Assistant — Onboarding
- Home Assistant — Your first automation
- Home Assistant — Backups
- Home Assistant — Zigbee (ZHA)
- Home Assistant — Z-Wave
- Home Assistant — Thread
- Home Assistant — Matter
- Home Assistant — ESPHome
- ESPHome — RP2040 (Pico W)
- ESPHome — BME680
- Raspberry Pi — M.2 HAT+ (booting from NVMe)
Your first automation
Lights on before sunset
- When
- 30 minutes before sunset
- Then
- Turn on the lights in an area
Without the internet: Home Assistant's own first automation. Sunset is worked out on the Pi. Lights whose integration says Local Push or Local Polling keep working without the internet; Cloud Push or Cloud Polling ones don't.
Guides for this build
Questions
Raspberry Pi 5 or Raspberry Pi 4?
Both run Home Assistant OS. Raspberry Pi 5 is two to three times faster and can boot from an NVMe SSD, so it's the better buy for a new hub. While it's out of stock the list switches to Raspberry Pi 4, with its own power supply and case.
Which radios do I need?
Wi-Fi and Ethernet devices need nothing extra. Zigbee needs a coordinator, Z-Wave a Z-Wave adapter, and Thread a Thread border router. Tick what you have under "What will Home Assistant control?" and the list adds what we sell and names what we don't.
Does it need the internet?
No. Home Assistant runs on the Pi. Each integration's page on home-assistant.io gives its IoT class: Local Push and Local Polling talk to the device directly, Cloud Push and Cloud Polling need the internet. Updates and Home Assistant Cloud need it too.
Can I install it with Docker or Supervised instead?
Home Assistant ended support for Supervised and Core installs with release 2025.12. Home Assistant OS, which this build uses, is the installation it recommends; Container is the other supported one, without apps.
Why doesn't the BME680 plug into the Pi?
Home Assistant removed its BME680 integration, so a sensor wired to the Pi's own pins isn't read by Home Assistant OS. ESPHome on a Pico WH reads it and sends it to Home Assistant over your network.
More for this build
Show only parts that fit Raspberry Pi 5Raspberry Pi M.2 HAT+
SKU: RP-SC1166 | Brand: Raspberry Pi
The Raspberry Pi M.2 HAT+ connects M.2 peripherals like NVMe drives and AI accelerators to your Raspberry Pi 5 through its PCIe 2.0 interface, enabling data transfers up to 500 MB/s. It's the official solution for add...
Delivered by Wed 9 Dec
NVMe Base for Raspberry Pi 5
SKU: PI-PIM699 | Brand: Pimoroni
Add super-fast NVMe storage to your Raspberry Pi 5 for lightning-fast boots, snappy applications, and NAS builds. NVMe Base is a PCIe extension board that mounts under your Pi for a compact, high-performance storage s...
Delivered by Wed 9 Dec
Raspberry Pi 5 M.2 HAT+ (Compact)
SKU: RP-SC1771 | Brand: Raspberry Pi
Need fast storage without sacrificing space or cooling? The Compact M.2 HAT+ is purpose-built for the Raspberry Pi 5 Official Case, making it the smallest 2230 SSD add-on you can get. Using the Pi 5's PCIe 2.0 lane, t...
Delivered by Wed 9 Dec
Argon ONE V3 M.2 NVME Raspberry Pi 5 Case
SKU: PH-105844 | Brand: Pi Australia
The Argon ONE V3 M.2 NVMe case is the flagship enclosure for Raspberry Pi 5 from Argon40. Combining premium aluminium construction with M.2 NVMe storage support, it delivers fast boot times and excellent thermal manag...
Delivered by Wed 9 Dec
ZigStar UZG-01 - Universal Zigbee Gateway
SKU: EC-CQA23922K002 | Brand: ZigStar
A versatile Zigbee coordinator that connects to your network via Ethernet (with PoE support), WiFi, or USB. Based on the powerful CC2652P7 chip with +20dB transmit power, it supports up to 300 Zigbee devices and works...
Delivered by Wed 9 Dec
KKSB Case for Raspberry Pi 5 and M.2 NVMe HAT
SKU: PH-106463 | Brand: PiHut
A premium aluminium enclosure for your Raspberry Pi 5 with M.2 NVMe HAT. Crafted from sandblasted black anodised aluminium, this case provides excellent protection, efficient heat dissipation, and a sleek professional...
Delivered by Wed 9 Dec
Raspberry Pi 27W USB-C Power Supply
SKU: RP-SC1155 | Brand: Raspberry Pi
The Official Raspberry Pi 27W USB-C Power Supply is designed specifically to power the Raspberry Pi 5 at its full potential. With a dedicated 5V/5A mode delivering 25W to your Pi, plus standard USB Power Delivery mode...
Delivered by Wed 9 Dec
Raspberry Pi 5
SKU: RP-SC1111 | Brand: Raspberry Pi
Raspberry Pi 5 is the current flagship Raspberry Pi. Its 2.4GHz quad-core Arm Cortex-A76 processor gives two to three times the CPU performance of Raspberry Pi 4, enough for a smooth desktop, a home server running sev...
Delivered by Wed 9 Dec
Raspberry Pi 5 Case
SKU: RP-SC1160 | Brand: Raspberry Pi
The Official Raspberry Pi 5 Case combines stylish protection with smart cooling for your Pi 5. Building on the popular Pi 4 case design, this version features an integrated variable-speed fan to keep your Pi running c...
Delivered by Wed 9 Dec
Raspberry Pi Active Cooler
SKU: RP-SC1148 | Brand: Raspberry Pi
The official Raspberry Pi Active Cooler is your essential companion for high-intensity Raspberry Pi 5 projects. Featuring a premium metal heatsink paired with a variable-speed blower, it keeps your Pi 5 running cool d...
Delivered by Wed 9 Dec
Raspberry Pi SSD Kit
SKU: RP-SC1675 | Brand: Raspberry Pi
The Raspberry Pi SSD Kit is everything you need to add NVMe storage to a Raspberry Pi 5: a Raspberry Pi M.2 HAT+ and a Raspberry Pi SSD, with the header, spacers and screws to mount them. It suits input/output-heavy w...
Out of stock
Raspberry Pi SSD
SKU: RP-SC1439 | Brand: Raspberry Pi
The Raspberry Pi SSD is Raspberry Pi's own NVMe solid-state drive, in the small M.2 2230 size that fits the Raspberry Pi M.2 HAT+. Fitted to a Raspberry Pi 5, it is built for input/output-heavy work such as home serve...
Out of stock
Argon NEO 5 Case for Raspberry Pi 5
SKU: PH-105839 | Brand: Argon40
The Argon NEO 5 is a premium aluminium alloy case designed specifically for the Raspberry Pi 5. Featuring both active and passive cooling, it keeps your Pi running cool during demanding tasks while remaining silent du...
Out of stock
The Home Assistant Book
SKU: LB-HABOOK | Brand: Pi Australia
Master smart home automation with The Home Assistant Book . This comprehensive, digitally delivered guide takes you from initial setup to advanced automations, helping you create a powerful central hub for all your sm...
Out of stock
Argon NEO 5 M.2 NVME Case for Raspberry Pi 5
SKU: PH-105840 | Brand: Argon40
The Argon NEO 5 M.2 NVMe case combines the premium cooling of the standard NEO 5 with M.2 NVMe SSD support via the Raspberry Pi 5's PCIe header. Add fast storage up to 2280 size and boot directly from NVMe for dramati...
Out of stock