How to Install Home Assistant on a Raspberry Pi

Raspberry PiBy December 5, 2026Fact-checked by Hugo Lindgren
Home Assistant website

By Fact-checked by Hugo Lindgren Published

A Raspberry Pi 4 or Pi 5 with at least 2 GB of RAM still runs Home Assistant well in December 2026. Both boards are officially supported for Home Assistant OS 18.5, and they idle at about 2 to 3 W. Memory shortages pushed Pi prices up this year, so the cheapest reliable build depends on which board you buy and what you store data on. If you only need the install, the six build steps sit right below the summary box. The full walkthrough follows the buying and parts sections.

Last checked: December 5, 2026, against the official Home Assistant installation docs and HAOS release notes.

BoardRaspberry Pi 5 or 4 (2 GB+)
DifficultyBeginner
TimeAbout 1 hour
CostAbout $95 to $155

Build notes

  • HAOS 18.5 officially supports only the Pi 4 and Pi 5 with 2 GB or more of RAM.
  • HAOS 17.0 dropped the 32-bit images. A 32-bit install quietly stops getting OS updates.
  • A 4 GB Pi 5 is all the RAM a typical home needs. The $385 16 GB model is wasted money for Home Assistant.
  • An NVMe or USB SSD plus off-device backups prevents the SD-card failures most owners fear.
  • Update the Pi 5 bootloader before big OS updates. HAOS 18 lets you do it from inside Home Assistant.

Build steps

  1. Install Raspberry Pi Imager on your computer.
  2. Choose your device, then the Home Assistant OS image for it.
  3. Write the image to the microSD card or SSD.
  4. Insert the storage, plug in Ethernet, then power.
  5. Wait, then open homeassistant.local:8123.
  6. Create your user, set location, add discovered devices.

On this page

  1. Can a Raspberry Pi run Home Assistant in 2026?
  2. Which Raspberry Pi should you use for Home Assistant?
  3. Pi vs Home Assistant Green vs N100 mini PC: what a complete setup really costs
  4. Parts list for a reliable Home Assistant Pi
  5. Install Home Assistant OS on a Raspberry Pi, step by step
  6. Booting Home Assistant from an SSD or NVMe
  7. Home Assistant OS vs Container on a Pi
  8. Running an old 32-bit install? How to move to 64-bit
  9. Your first maker project: an ESP32 sensor in Home Assistant
  10. More Pi + Home Assistant project ideas
  11. Keep it running: backups, updates and Pi firmware
  12. Troubleshooting common Raspberry Pi + Home Assistant problems
  13. FAQ

Fact-checked

We checked these key facts against the sources named, on December 05, 2026:

  • Third-party figures for the 8 GB model run from $130 to $180 (source: hwbusters.com)
  • That is more than three times its $120 launch price from January 2025 (source: raspberrypi.com)
  • Reported 4 GB prices range from $85 to $110 depending on which price round a retailer reflects (source: tomshardware.com)
  • The Zero 2 W has a 64-bit CPU but only 512 MB of RAM and no HAOS image, so it is far better used as a sensor node or display client (source: raspberrypi.com)

Can a Raspberry Pi run Home Assistant in 2026?

Official Home Assistant Raspberry Pi installation page listing a Pi 5 or Pi 4 with 2 GB RAM, an A2 microSD card and Ethernet
The official Home Assistant installation guide for the Raspberry Pi asks for a Pi 5 or Pi 4 with at least 2 GB of RAM, an A2 microSD card of 32 GB or more and an Ethernet cable. Screenshot: home-assistant.io

Yes. The official Home Assistant guide asks for a Raspberry Pi 4 or Pi 5 with at least 2 GB of RAM, an A2 microSD card of 32 GB or more, and an Ethernet cable for installation. The guide links the HAOS 18.5 images for both boards. According to the operating-system full-images releases on GitHub, the latest stable build at the time of writing pairs Home Assistant Core 2026.11.3 with OS 18.5. It was published on 23 November 2026.

Older boards are a different story. The Raspberry Pi 3 runs only the 64-bit image or Home Assistant Container. The Pi 2 and the Zero family aren’t worth the effort.

The Pi is still popular. In August 2026 the public analytics counter showed 661,887 active installations, and about 80% of them (527,462) ran Home Assistant OS. That is the full appliance-style system the Pi image installs.

Here is a quick recommendation by budget and goal:

  • Lowest cost, you already own a Pi 4 or 5 (2 GB+): use it. Add an SSD later.
  • Buying new, maker-minded, want GPIO and tinkering: a 4 GB Pi 5 with an NVMe drive.
  • You want a box that just works: Home Assistant Green from Nabu Casa.
  • You plan camera recording (Frigate), local voice with an LLM, or many apps: an Intel N100 mini PC such as the Beelink S12 Pro.

Did you know?

According to the HAOS 17.0 release notes on GitHub, the 32-bit Raspberry Pi 2, Pi 3 and Pi 4 images were removed. A 32-bit install doesn’t show an error. It simply stops being offered OS updates.

Which Raspberry Pi should you use for Home Assistant?

Raspberry Pi 5 board for Home Assistant with USB-C power, two micro HDMI ports, USB 3 ports and Gigabit Ethernet
A Raspberry Pi 5: USB-C power and two micro HDMI ports along the bottom edge, USB and Ethernet on the right. Photo: SimonWaldherr, CC BY 4.0, via Wikimedia Commons (source)

For a new build, choose a Pi 5 with 2 GB or 4 GB of RAM. A Pi 4 with 2 GB or more is still fine if you already own one. Ignore anything older or smaller for HAOS. RAM matters less than storage and power: HAOS needs 2 GB, and a typical home with a few dozen devices and a handful of apps runs comfortably in 4 GB.

Raspberry Pi models and Home Assistant support (Dec 2026)

Model HAOS supported? Container supported? Minimum RAM Verdict
Raspberry Pi 5 (2/4/8 GB) Yes, rpi5-64 image Yes 2 GB Best Pi choice; buy 4 GB
Raspberry Pi 5 1 GB No (below 2 GB minimum) Technically 2 GB Skip for Home Assistant
Raspberry Pi 5 16 GB Yes Yes 2 GB Overkill at $385
Raspberry Pi 4 (2 GB+) Yes, rpi4-64 image Yes 2 GB Keep it if you own one
Raspberry Pi 4 32-bit install No updates since HAOS 17.0 n/a n/a Move to 64-bit
Raspberry Pi 400 Uses the rpi4-64 image Yes 2 GB Works, awkward as a server
Raspberry Pi 3 64-bit variant only, not in official Pi guide Yes (64-bit OS) 1 GB on board Stopgap; plan an upgrade
Raspberry Pi 2 No No n/a Retire it
Raspberry Pi Zero 2 W No Not listed 512 MB on board Use it for sensors instead

Raspberry Pi 5: is it overkill?

For most homes, a 4 GB Pi 5 is the right size. The 8 GB and 16 GB models are overkill. The Pi 5’s faster CPU makes dashboards, restarts and backups noticeably quicker than on a Pi 4. Its PCIe connector lets you boot from NVMe through the Raspberry Pi M.2 HAT+.

RAM is where you overspend. Raspberry Pi Ltd, led by CEO Eben Upton, has raised prices several times in 2026 and blames LPDDR4 memory costs. The Register reported that the 2 GB Pi 5 rose $12.50 to $77.50 on 1 October 2026, while the 1 GB model stayed at $45. Reported 4 GB prices range from $85 to $110 depending on which price round a retailer reflects. Third-party figures for the 8 GB model run from $130 to $180.

Did you know?

According to TechBriefly, the 16 GB Raspberry Pi 5 reached $385 in November 2026. That is more than three times its $120 launch price from January 2025. Raspberry Pi says it intends to reverse the increases when memory costs fall.

8 GB starts to make sense only if you plan heavy apps on the same board, such as several databases, a Node-RED flow farm or occasional Frigate testing. Even then, an N100 mini PC is usually the better buy at these prices.

Maker tip

Buy the 4 GB Pi 5 rather than the 8 GB or 16 GB. HAOS needs only 2 GB, and the 2026 price rises make extra memory the most expensive part of the board.

Raspberry Pi 4: still a good choice?

If you already own a Raspberry Pi 4 with 2 GB or more, it is still a good, supported Home Assistant host. Flash the 64-bit rpi4-64 image and add a USB SSD. Buying a new one makes less sense: the 2 GB Pi 4 went to $67.50 in October 2026, only $10 less than a 2 GB Pi 5. The Pi 4 has no PCIe connector, so SSD boot runs over USB 3. A 1 GB Pi 4 is below the 2 GB HAOS minimum.

Raspberry Pi 3 after the 32-bit cut-off

A Pi 3 still works, but only as a stopgap. Home Assistant’s May 2025 deprecation announcement covers this case. It said that more than half of armv7 systems ran on 64-bit-capable hardware such as the Pi 3 and Pi 4. Home Assistant’s unsupported-architecture page confirms that Pi 3 and Pi 4 owners on 32-bit can install the 64-bit variants of HAOS.

The Pi 3 has 1 GB of RAM, which is below today’s 2 GB HAOS minimum. Home Assistant OS supports the Pi 3 Model B and B+, though the main Pi install guide centers on the Pi 4 and Pi 5. Move to 64-bit now to keep updates flowing, then budget for a Pi 5 or a Green. The Pi 3 also uses a micro USB power input. If you reuse its supply on a newer board, read up on micro USB vs USB-C first, because the Pi 4 and Pi 5 need USB-C supplies rated for their higher current.

Pi 2, Pi Zero 2 W and Pi 400/500: what works and what doesn’t

The Pi 2 is 32-bit armv7 hardware. Neither HAOS nor Container supports it now. The Zero 2 W has a 64-bit CPU but only 512 MB of RAM and no HAOS image, so it is far better used as a sensor node or display client. The Pi 400 is a Pi 4 inside a keyboard and boots the rpi4-64 image. The Pi 500 is Pi 5-based, but a keyboard computer makes a clumsy always-on server. Use a bare board instead.

Pi vs Home Assistant Green vs N100 mini PC: what a complete setup really costs

Once you add a power supply, cooling and storage, a Pi 5 build costs roughly $95 to $155. A Home Assistant Green costs $199 to $219 ready to run. An N100 mini PC such as the Beelink S12 Pro costs around $360 in late 2026. Comparing a bare $77.50 board with a finished box is misleading, so the table counts everything you need to boot.

What a complete Home Assistant box costs

Option Board/unit price PSU Storage Case/cooling Total Idle power Best for
Pi 5 2 GB, SD card $77.50 Official 27 W, about $12 to $17 A2 microSD, 32 GB+ Active Cooler, about $5 to $12 About $95 to $107 plus card About 2 to 3 W Tight budgets, existing parts
Pi 5 4 GB, NVMe About $85 to $110 (reported) Official 27 W, about $12 to $17 M.2 HAT+ (about $17 to $21) plus NVMe SSD Active Cooler, about $5 to $12 About $120 to $160 plus SSD About 2 to 3 W plus SSD Makers who want speed and GPIO
Home Assistant Green $199 list ($219 at Amazon around Black Friday) Included 32 GB eMMC built in Included $199 to $219 Low, ARM class Plug-and-play households
Beelink S12 Pro (Intel N100) About $359 to $369 (late-2026 trackers) Included 500 GB NVMe included Included About $360 to $370 About 10 W Frigate, voice, Proxmox, many apps

Add $49 to any row if you want a Home Assistant Connect ZBT-2 Zigbee/Thread adapter.

The Green’s list price comes from Nabu Casa, which raised it to $199 (€179) in January 2026 because of component costs. It launched at $99. The Green uses a Rockchip RK3566 with 4 GB of RAM and is Nabu Casa’s plug-and-play entry model. The Home Assistant Yellow was a different idea: a build-your-own hub around a Raspberry Pi Compute Module. Nabu Casa’s support pages now list the pre-assembled Yellow as no longer manufactured. They also say existing units keep receiving software updates, and they point new buyers who want easy setup to the Green.

Running cost: does 7 W matter?

Not much. A mini PC idling at 10 W uses about 7 W more than a Pi 5. Over a year (8,760 hours) that adds up to about 61 kWh. At an illustrative 17 cents per kWh, the difference is roughly $10 a year. Buying cost matters far more than electricity, and in 2026 the mini PC’s price has climbed far more than the Pi’s.

When a Pi is not enough

A Pi is the wrong host for some jobs. Skip it if you want:

  • Local camera recording and object detection with Frigate on more than one or two cameras.
  • Fully local voice with a language model. Speech-to-text and LLM inference need x86 or GPU muscle.
  • Several heavy apps at once, such as InfluxDB, Grafana, Frigate and a media server.
  • Proxmox or other virtual machines next to Home Assistant.

For “Is it worth paying Pi 5 prices now, or just buy an N100 mini PC?”, the honest answer depends on those four points. If none applies, a 4 GB Pi 5 with an SSD is cheaper and uses less power. If two or more apply, buy the mini PC once rather than upgrading later.

Parts list for a reliable Home Assistant Pi

Raspberry Pi 5 fitted with the official Raspberry Pi Active Cooler heatsink and fan for an always-on Home Assistant server
A Raspberry Pi 5 with the official Active Cooler, the heatsink and fan that keep an always-on Home Assistant box from throttling. Photo: SimonWaldherr, CC BY 4.0, via Wikimedia Commons (source)

A reliable build needs five things: the board, the official power supply, good storage, cooling and an Ethernet cable. Most “Pi 5, huge disappointment” stories come down to a weak power supply or a cheap SD card, not the board itself.

Part Recommended Why it matters
Board Raspberry Pi 5 4 GB (or 2 GB) Officially supported, fast enough, PCIe for NVMe
Power supply Official Raspberry Pi 27 W USB-C (Pi 5) or 15 W USB-C (Pi 4) Prevents undervoltage crashes and corruption
Storage NVMe on M.2 HAT+ or USB SSD; A2 microSD 32 GB+ at minimum Speed and resistance to write wear
Cooling Raspberry Pi Active Cooler or a case with a fan Avoids thermal throttling in cupboards
Network Ethernet cable to your router Required for installation; most stable link
Radio (optional) Home Assistant Connect ZBT-2, $49, on a USB extension cable Local Zigbee or Thread devices

Power check

The Pi 5 needs a 5 V, 5 A (27 W) USB-C supply to power USB drives at full current. Phone chargers and computer USB ports cause undervoltage resets and corrupted storage.

SD card, USB SSD or NVMe?

Use an SSD if you can. An NVMe drive on a Pi 5 is the best option. A USB SSD works on a Pi 4 or Pi 5. An A2 microSD card is acceptable for getting started, as long as backups leave the device. Home Assistant writes to its database constantly, and that is what wears out cheap cards.

Storage Works on Speed Wear risk Extra hardware Setup difficulty
A2 microSD, 32 GB+ Pi 4, Pi 5 Slowest Highest None Easiest
USB 3 SSD Pi 4, Pi 5 Fast Low SSD plus USB 3 enclosure or cable Easy, may need bootloader update
NVMe via M.2 HAT+ Pi 5 only Fastest Low M.2 HAT+ plus NVMe SSD Moderate

Do you need a Zigbee or Thread dongle?

You need one only if you buy Zigbee or Thread devices. Wi-Fi gear, ESPHome boards and many Matter-over-Wi-Fi devices connect without a dongle. The ZBT-2 from Nabu Casa runs either Zigbee or Thread firmware. It works with the built-in ZHA integration or with Zigbee2MQTT, and it can act as a Thread radio for Matter devices.

Maker tip

Put the Zigbee/Thread dongle on a USB extension cable, away from the Pi’s USB 3 ports and any SSD. USB 3 generates noise in the 2.4 GHz band that Zigbee and Thread use.

Install Home Assistant OS on a Raspberry Pi, step by step

Raspberry Pi Imager download page showing the Select your Raspberry Pi device step used to flash Home Assistant OS
Raspberry Pi Imager on the official Raspberry Pi software page. The first step in the app is choosing your device, such as the Raspberry Pi 5 or Raspberry Pi 4. Screenshot: raspberrypi.com

Flash the HAOS image for your board onto the SD card or SSD with Raspberry Pi Imager. Then boot the Pi on Ethernet and open homeassistant.local:8123 in a browser. The whole job takes about 30 to 45 minutes, and most of that is waiting. The six-step summary near the top of this page covers the same sequence. The sections below add the detail for each step.

Flash the image with Raspberry Pi Imager

  1. Open Raspberry Pi Imager on Windows, macOS or Linux.
  2. Under device, select Raspberry Pi 5 or Raspberry Pi 4.
  3. Under operating system, go to Other specific-purpose OS > Home automation > Home Assistant and pick the HAOS image for your board.
  4. Select your card or SSD as storage. Skip the OS customisation prompts, because HAOS does not use them.
  5. Write and wait for verification to finish.

If Imager gives you trouble, use Balena Etcher. Download the image for your board from the HAOS releases on GitHub: haos_rpi5-64-18.5.img.xz for the Pi 5 or haos_rpi4-64-18.5.img.xz for the Pi 4. Etcher handles the compressed .img.xz file directly. Pick the 64-bit -64 image for your board.

First boot and finding homeassistant.local

Insert the storage and connect Ethernet, then plug in power. On first boot, HAOS expands the file system and downloads the current Home Assistant Core. A “Preparing Home Assistant” page appears in the browser while this happens.

Open http://homeassistant.local:8123 on a computer on the same network. If the name doesn’t resolve, use the Pi’s IP address from your router’s client list instead, for example http://192.168.1.50:8123. If you connect an HDMI display, the HAOS console also prints the address.

Maker tip

If homeassistant.local doesn’t load, try the full http address with :8123 or the Pi’s IP. If nothing answers after about 5 minutes on a Pi 4 or 5, reflash the image or try a different card.

Onboarding: user, location, discovered devices

Onboarding takes three screens. First, create the owner account and store the password in a password manager. Second, set your home location. It drives sunrise and sunset triggers, weather and time zone, so wrong coordinates mean lights switching at the wrong time. Third, Home Assistant lists devices it found on your network, such as Chromecasts, printers, Hue bridges and ESPHome boards. Add the ones you recognise. The onboarding screen also offers a restore option, which you will use when migrating.

Booting Home Assistant from an SSD or NVMe (and moving off an SD card)

To boot from NVMe or USB, write HAOS to the SSD instead of a card, check that the bootloader is current, and restore a backup. “My SD card died and took my whole setup with it” is the most common Pi complaint. An SSD plus off-device backups fixes both halves of that problem.

  1. Back up the current install. Go to Settings > System > Backups, create a full backup and download it to your computer.
  2. Update the bootloader. Since HAOS 18.0, the Pi bootloader can be checked and updated from inside Home Assistant. Core 2026.7 shows it as a firmware update entity under Settings > System > Updates. Older Pi 5 bootloaders may not boot NVMe reliably.
  3. Flash the SSD. Connect the NVMe drive (in a USB adapter) or the USB SSD to your computer and write the rpi5-64 or rpi4-64 image with Raspberry Pi Imager.
  4. Fit the hardware. On a Pi 5, mount the M.2 HAT+ and the NVMe drive with the power off. On a Pi 4 or Pi 5, a USB SSD goes in a blue USB 3 port.
  5. Remove the SD card and boot. The bootloader falls through to NVMe or USB when no card is present.
  6. Restore. On the onboarding screen, choose to restore and upload the backup file.

Restores bring back integrations, automations, dashboards and apps. Zigbee devices paired through the same dongle keep working, because the network data lives on the radio and in the backup.

Home Assistant OS vs Container on a Pi

Choose Home Assistant OS unless the Pi must also run other services. HAOS includes the Home Assistant Supervisor, which manages apps (formerly called add-ons), backups and updates. Container gives you Home Assistant Core in Docker and leaves the rest to you.

Feature HAOS Container
Supported Pi models Pi 4, Pi 5 Pi 3, Pi 4, Pi 5
Apps (Mosquitto, Zigbee2MQTT, Z-Wave JS, Matter server, ESPHome Device Builder) One-click install Not available; run your own containers
Backups UI with restore at onboarding Yes No; you back up the config folder
OS and Pi bootloader updates From inside Home Assistant You manage Raspberry Pi OS yourself
Other software on the same Pi Not intended Yes (Pi-hole, OctoPrint and others)
Requirements Flash an image 64-bit OS plus Docker Engine 23.0.0 or later

Container makes sense when the Pi already runs Pi-hole or a 3D-printer host and you are comfortable with Docker. The official docs require Docker Engine 23.0.0 or later. Docker Desktop is not supported. A working run command looks like this:

docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  --stop-timeout 60 \
  -e TZ=America/New_York \
  -v /home/pi/homeassistant:/config \
  -v /run/dbus:/run/dbus:ro \
  --network=host \
  ghcr.io/home-assistant/home-assistant:stable

The /run/dbus mount lets Bluetooth integrations work. --network=host makes discovery possible, and --stop-timeout 60 gives the database time to close cleanly on shutdown. Change TZ to your own time zone and /home/pi/homeassistant to a folder that exists on your system. Everything an app would do (an MQTT broker, Z-Wave JS, a Matter server) becomes a separate container that you maintain yourself.

Running an old 32-bit install? How to move to 64-bit

“My 32-bit install simply won’t show me an update” has a simple explanation. HAOS 17.0 removed the rpi2, rpi3 and rpi4 32-bit targets, so those systems are no longer offered new OS releases. “Update 2026.02.3 dropping most Pi support?” is a misreading of the same change. 64-bit Pi 4 and Pi 5 installs are fully supported.

To check your architecture, open Settings > System > Repairs, then System information from the three-dot menu. aarch64 means 64-bit. armv7 means you need to migrate.

  1. Create a full backup and download it off the Pi.
  2. Flash the 64-bit image (rpi4-64, or rpi5-64 if you are upgrading boards) to fresh storage. This is a good moment to switch to an SSD.
  3. Boot, choose restore at onboarding and upload the backup.
  4. Check that apps start and that Zigbee or Z-Wave devices respond.

Owners of a 64-bit-capable Pi 3 can follow the same steps, but 1 GB of RAM leaves little headroom. Treat it as a bridge to new hardware.

Your first maker project: an ESP32 sensor in Home Assistant

A good first project is an ESP32 with a BME280 temperature, humidity and pressure sensor, set up through the ESPHome Device Builder app. It reports to Home Assistant over Wi-Fi with no cloud involved, and you can build it in about 30 minutes.

From (BME280) To (ESP32 DevKit) Wire purpose
VIN 3V3 3.3 V power
GND GND Ground
SDA GPIO21 I2C data
SCL GPIO22 I2C clock

Use a BME280 board that accepts 3.3 V. ESP32 pins are not 5 V tolerant. If the pin numbering on your board is confusing, a guide to general purpose input output pins explains the difference between GPIO numbers and physical pins.

Create and flash the device

Install ESPHome Device Builder from Settings > Apps, open it and create a new device called office-climate. The wizard generates a config with the esphome, esp32, logger, api (with an encryption key), ota and wifi blocks already filled in. Keep all of those as they are. Plug the ESP32 into your computer’s USB port and do the first flash from the browser.

Then edit the device and add the i2c and sensor blocks below to the end of the generated config. Both are top-level keys, so they start at the left margin with no indentation:

i2c:
  sda: GPIO21
  scl: GPIO22 sensor:
  - platform: bme280_i2c
    address: 0x76
    update_interval: 60s
    temperature:
      name: "Temperature"
    humidity:
      name: "Humidity"
    pressure:
      name: "Pressure"

Click Validate, then Install, and choose the wireless option. After the first USB flash, every later update goes over the air.

If readings don’t appear, change the address to 0x77, which some boards use. Also check the wiring with a multimeter for continuity testing. Home Assistant discovers the device automatically. Add it, then put the three sensors on a dashboard card.

Add a humidity alert

Now add one automation that alerts you when the room gets damp. Go to Settings > Automations & scenes, create a new automation, open the three-dot menu, choose Edit in YAML and paste this:

alias: "Office too humid"
triggers:
  - trigger: numeric_state
    entity_id: sensor.office_climate_humidity
    above: 65
    for: "00:10:00"
actions:
  - action: notify.notify
    data:
      message: "Office humidity is {{ states('sensor.office_climate_humidity') }}%"

Check the exact entity ID under Settings > Devices before saving. If you use the Home Assistant Companion app, swap notify.notify for your phone’s own service, which looks like notify.mobile_app_ followed by the phone’s name. Next, add the ZBT-2 through ZHA and pair a Zigbee button or plug, so your sensor can switch a dehumidifier.

More Pi + Home Assistant project ideas

Once the hub runs, the most useful next projects reuse cheap parts you probably already own: a spare Pi, a few ESP32 boards, a Zigbee sensor or a smart plug. Each idea below uses only local control, and the difficulty ratings assume you have finished the ESP32 sensor above.

Project Difficulty Parts What it does
Wall-mounted kiosk dashboard Beginner Spare Pi 3/4 or Zero 2 W, small HDMI or DSI touchscreen, Raspberry Pi OS with Chromium in kiosk mode Shows a Home Assistant dashboard full-screen by the door or in the kitchen
ESP32 Bluetooth proxy Beginner Any ESP32 board, USB power supply Extends Bluetooth range so BLE thermometers, plant sensors and locks far from the Pi reach Home Assistant
Porch light at sunset with a door sensor Beginner ZBT-2 dongle, Zigbee door contact sensor, smart bulb or Zigbee relay Turns the porch light on at sunset, or for 5 minutes when the door opens after dark
Energy monitoring with a smart plug Beginner Smart plug with power metering (Zigbee, Matter or ESPHome-based) Feeds kWh data into the Energy dashboard so you see what a fridge or PC really costs
Presence-based room lighting Intermediate ESP32 plus a PIR or mmWave presence sensor (such as an LD2410), smart lights Lights a room when someone is in it and switches off after it stays empty
Solar or tariff-triggered appliance Intermediate Solar inverter or energy integration, smart plug or relay Runs a dehumidifier, water heater or charger only when solar output is high or power is cheap

A few notes make these easier. The Bluetooth proxy needs no wiring at all: ESPHome publishes ready-made proxy firmware you can flash from the browser, and the ESPHome docs recommend the ESP-IDF framework for ESP32 proxies. Home Assistant’s Bluetooth integration then merges every proxy and USB adapter automatically, so you never pair a device to a specific proxy. For the porch light, use a sun trigger with the sunset event, which relies on the home location you set during onboarding. For the kiosk, a Pi that can’t run HAOS is fine, because it only shows a browser page.

Power check

Wiring a relay into a porch light or water heater means working on mains voltage. Have a qualified electrician do any fixed mains wiring, and use certified smart plugs or switches instead of bare relay boards.

Keep it running: backups, updates and Pi firmware

Set automatic backups to off-device storage on day one. Then update in a fixed order: Pi bootloader and firmware first when it is offered, then HAOS, then Core. Most lost setups had backups saved only on the same card that failed.

Backups

In Settings > System > Backups, turn on automatic backups and add a network storage location (a NAS share) or Home Assistant Cloud from Nabu Casa. Keep several copies and save the encryption key somewhere other than the Pi.

Maker tip

If you start on an SD card, use one with the A2 logo and at least 32 GB. Set automatic backups to a NAS or cloud location before you add a single device.

Updates and the HAOS 18.0 firmware lesson

HAOS updates and Pi bootloader updates are separate items. HAOS 18.0 moved every target from Linux kernel 6.12 to 6.18 and made images smaller. It also added bootloader checks and updates from inside the OS. Then it was pulled from the stable channel. According to the GitHub release discussion and the 18.1 notes, OS updates failed on old Pi 5 firmware, and 18.0 needed a bootloader from February 2025 or later. Users who had already installed 18.0 were told to update their Pi 5 firmware before the next OS update. On HAOS 18.5, apply any pending firmware update first and read the release notes before major OS jumps.

Reduce writes to storage

The recorder database causes most writes. Trim it in configuration.yaml:

recorder:
  purge_keep_days: 7
  commit_interval: 30
  exclude:
    domains:
      - automation
      - update

Add this only once. If your configuration.yaml already has a recorder: key, merge these lines into it instead. Restart Home Assistant from Settings > System afterwards.

Always shut down from Settings > System, using the power menu in the top right. Never pull the plug. Abrupt power loss is the second-biggest killer of SD cards.

Troubleshooting common Raspberry Pi + Home Assistant problems

Most problems trace back to the network name, power or storage. Work through the list below in order.

  • homeassistant.local won’t resolve: Some routers and Android devices don’t support mDNS. Use the IP address from your router, and give the Pi a fixed DHCP reservation.
  • No UI after 5 minutes: Connect HDMI to read the console. Reflash, try a different card, and confirm you used the -64 image for your exact board.
  • Undervoltage warnings or random reboots: Replace the supply with the official 27 W (Pi 5) or 15 W (Pi 4) unit. Power SSDs from the Pi only when using the 27 W supply.
  • Wi-Fi drops: Installation needs Ethernet. You can set up Wi-Fi later in Settings > System > Network, but a wired link stays more stable for a hub.
  • Slow UI or full storage: Shorten purge_keep_days, remove unused apps and move to an SSD.
  • Zigbee devices dropping off: Move the dongle onto a USB extension cable away from USB 3 ports, and pick a Zigbee channel away from your busy Wi-Fi channel.
  • ESPHome config won’t validate: Check that every top-level key (i2c:, sensor:, wifi:) starts at the left margin on its own line, and use spaces, never tabs.
  • Matter or Thread broken after HAOS 18 on a Pi 5: Community reports tied some failures to the Ethernet interface name changing from eth0 to end0. Check network settings and app configuration after the update.

FAQ

Can Raspberry Pi handle Home Assistant?

Yes. A Pi 4 or Pi 5 with 2 GB or more runs HAOS 18.5 smoothly for a typical home with dozens of devices and several apps. It struggles with multi-camera Frigate and local LLM voice.

Is the Raspberry Pi 5 overkill for Home Assistant?

The board isn’t, but large RAM sizes are. A 2 GB or 4 GB Pi 5 is well matched. The 8 GB and the $385 16 GB models add cost without benefit for Home Assistant alone.

Is Raspberry Pi 3 enough for Home Assistant?

Only as a stopgap. It must run 64-bit HAOS or Container, and its 1 GB of RAM is below the current 2 GB HAOS minimum.

What Raspberry Pi should I use for Home Assistant?

Buy a Pi 5 with 4 GB, the official 27 W supply, an Active Cooler and an NVMe drive on the M.2 HAT+. If you already own a Raspberry Pi 4 with 2 GB or more, use it with a USB SSD.

How much RAM does Home Assistant need on a Raspberry Pi?

The official minimum is 2 GB. 4 GB leaves headroom for apps such as Zigbee2MQTT, Mosquitto and ESPHome Device Builder.

Can I run Home Assistant on a Raspberry Pi Zero 2 W?

No. It has 512 MB of RAM and no HAOS image. Use it as a sensor node or display client instead.

Should I use an SD card or SSD for Home Assistant on a Pi?

Use an SSD for anything long-term. An A2 microSD card of 32 GB or more works for getting started if backups go off the device.

Raspberry Pi 5 or Home Assistant Green: which is better?

The Green ($199 to $219) is better if you want a finished box with no setup. A Pi 5 build is cheaper, faster with NVMe and better for makers who want GPIO and other uses later.

Is the Home Assistant Yellow still an option?

Not as a new purchase for most people. Nabu Casa lists the pre-assembled Yellow as no longer manufactured, though existing units still get software updates. For a ready-made box, Nabu Casa points buyers to the Green.

Can I run Home Assistant and other software (Pi-hole, etc.) on the same Pi?

Yes, with Home Assistant Container on Raspberry Pi OS. You give up apps and the backups UI, so you manage MQTT, Zigbee2MQTT and backups yourself.

Can Home Assistant on a Raspberry Pi use Wi-Fi instead of Ethernet?

After setup, yes. Ethernet is required for installation, and a wired connection stays the more reliable choice for an always-on hub.

What are good Home Assistant projects for a Raspberry Pi?

Start with an ESP32 climate sensor, then add a wall-mounted dashboard on a spare Pi, an ESP32 Bluetooth proxy, a sunset porch-light automation, smart-plug energy monitoring and presence-based lighting. Each one needs only a few inexpensive parts.

Your next step

If you already own a Pi 4 or Pi 5, flash HAOS 18.5 tonight. Set up backups, then build the ESP32 sensor this weekend. You will learn more from that than from any spec sheet. If you are buying from scratch, decide on cameras and local voice first. A “no” points to a 4 GB Pi 5 with NVMe, while a “yes” points straight to an N100 mini PC.

Notes on this article

Written by

Samir covers Raspberry Pi, ESP32 and IoT projects, coding for microcontrollers and small robots. He likes projects that solve a real problem at home and writes them up so you can follow along with the same parts.

Covers: Raspberry Pi, ESP32 & IoT

  • Fact-checked by Hugo Lindgren against the sources listed below before publication.
  • Published

Fact-checking

  • Researched from 8 sources, listed below.
  • Every claim is checked by Hugo Lindgren; anything we cannot confirm is corrected, labelled or removed.
Sources (8)
  1. Raspberry Pi – Home Assistant installation (home-assistant.io)
  2. Advanced Raspberry Pi installation – Home Assistant (home-assistant.io)
  3. Home Assistant Operating System 17.0 release (github.com)
  4. Home Assistant OS 18.0 Released with Linux Kernel 6.18 LTS (linuxiac.com)
  5. Home Assistant Operating System 18.1 release notes (newreleases.io)
  6. HAOS issue #4811 Raspberry Pi 5 bootloader update (github.com)
  7. HAOS 18 regression on Raspberry Pi 5: Matter Server and OTBR connectivity (community.home-assistant.io)
  8. More memory-driven price rises – Raspberry Pi (raspberrypi.com)