AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

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

Review the parts
Raspberry Pi 5

Shopping list

One recommended part for each job, checked against the others. Swap any of them, or skip what you already own.

Everything for Raspberry Pi 5

Your setup

Tell us what you have. We check the build against it and change the steps to match.

What will Home Assistant control?

Tick every kind you have or plan to buy. Each needs something different to talk to it, and the list and steps change to match.

  1. 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 Raspberry Pi Boards
    Board: choose one
  2. 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 Power Supplies
    Power: choose one
  3. 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 Storage
    Storage: choose one
    View
    View
  4. 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 Cases
    Case: choose one
  5. 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.

    See all Cables & adapters
    Ethernet: choose one
    Up to 5
  6. 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 Networking & PoE
    Zigbee coordinator: choose one
  7. 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 Sensors for Raspberry Pi
    Sensor: choose one
  8. Sensor board Optional

    A Raspberry Pi Pico W runs ESPHome, which Home Assistant talks to directly on your network.

    See all Raspberry Pi Pico
    Sensor board: choose one
  9. Jumper wires Optional

    Four female-to-female wires join the sensor to the Pico WH's pins.

    See all Prototyping & components
    Jumper wires: choose one
Where the backup will live

A backup is only as good as where it lives. Home Assistant keeps backups on the Pi by default, so a failed card takes them with it. Choose somewhere else, and keep the emergency kit with its encryption key: you need it to restore.

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
Build total $276.19

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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!

  6. 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.

  7. 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.

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

Fits Raspberry Pi 5
Maddy from the Pi Australia team

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.