Home Assistant on a Raspberry Pi: The Full Beginner Setup Guide

Power-User · Level 3 of 3

Home Assistant’s Raspberry Pi guide starts with a supported Pi 4 or Pi 5 with at least 2 GB of RAM, suitable power, an A2 microSD card of at least 32 GB, and Ethernet. Raspberry Pi Imager writes the matching Home Assistant OS image; a browser handles onboarding afterward. Do not budget from a guaranteed setup duration. First preparation can take 20 minutes or more, and a failed flash, network issue, or restore adds work. This guide follows the documented route, with no claim of a performed hardware test.

Home Assistant runs on hardware you control, but an integration can still depend on a cloud service. A supported spare Pi can be useful if you are willing to maintain it. Check the current installation guide for your exact board and image rather than buying from an old price or a claim about typical household performance.

What to buy: the shopping list (and what it actually costs)

Home Assistant OS runs on a Raspberry Pi 4 or 5 with at least 2GB of RAM. Choose the board and resources for your planned integrations; no typical-house performance result was measured. The full list:

  • Use a power supply suitable for the exact Pi model and connected peripherals. Home Assistant warns that some phone chargers are unsuitable and computer USB ports must not be used. Follow Raspberry Pi’s current supply guidance; not every reboot is caused by power, and an official product name alone is not a diagnosis.
  • Storage: either a microSD card (32 GB minimum, Application Class 2 / “A2” rated) or a USB or PCIe SSD. See the reliability section below before deciding.
  • An Ethernet cable. Home Assistant supports Wi-Fi after setup, but Ethernet is required for the initial install and stays the more reliable connection for a device meant to run unattended.
  • Choose a case and cooling arrangement suitable for your exact board, supply, storage, and expected workload. Check the board maker’s installation guidance rather than assuming one enclosure fits every setup.

Build a current shopping list for the board, supply, storage, case or cooling, Ethernet, and any adapters. Check the actual seller, region, taxes, and delivery costs before comparing it with a ready-made hub. This guide removes the old board-price figures and overall budget range because they are not a current quote.

SD card or SSD? The reliability trade-off

Storage has model-specific endurance and failure modes. Home Assistant’s documented starter route uses a suitable microSD card; SSD booting needs the right adapter, firmware, image, and power setup for your board. Neither medium guarantees years of unattended service. Keep a restorable backup outside the device and check the exact storage manufacturer’s specifications before choosing.

 MicroSD cardSSD (USB or PCIe)
Upfront costLowerHigher
Write enduranceCheck exact card rating and backup planCheck exact SSD/adapter specifications
Setup complexityPlug in and flashOccasional EEPROM boot-order step on a first NVMe boot
Good enough forA test build or a short trialVerify supported boot path and backup plan

For a first install, follow the supported microSD route unless you have separately verified your board’s SSD boot procedure. Moving storage is not just a fresh flash: back up the existing installation, keep the backup and recovery information elsewhere, and follow the documented restore route. Test recovery before discarding the original storage.

How to flash Home Assistant OS with Raspberry Pi Imager

This is the only part of the setup that needs a second computer — a Windows, Mac, or Linux machine with an SD card slot or a USB adapter. The steps below follow Home Assistant’s official installation guide.

  1. Install the free Raspberry Pi Imager from raspberrypi.com/software on your computer.
  2. Insert the microSD card into the computer. Anything already on it will be overwritten, so back it up first if it holds other data.
  3. Open Raspberry Pi Imager and select Choose OS.
  4. Choose Other specific-purpose OS → Home automation → Home Assistant.
  5. Pick the Home Assistant OS image that matches the board — Raspberry Pi 4 and 5 use separate images, and using the wrong one is one possible reason a fresh install will not boot.
  6. Select Choose Storage and pick the microSD card.
  7. Select Next, then Write, and wait. Writing and verifying the image takes several minutes depending on the storage’s speed.
  8. When it finishes, eject the storage and move it to the Pi.

Booting it up and reaching the dashboard

Connect the imaged storage, Ethernet, and suitable power, then allow the Preparing Home Assistant step to finish. It downloads software; the size and duration can change. The official onboarding guide says preparation may take 20 minutes or more. Watch the displayed state and use the installation troubleshooting guidance before interrupting a working preparation.

Try the documented local address and port; if name resolution fails, check the IP address shown by your router. Confirm that the computer and Pi are on the intended network. A page not loading after five minutes does not establish a bad image. Check preparation status, network, image/board match, and power before deciding to reflash. Preserve any existing data before writing storage again.

Creating a Home Assistant account

The onboarding wizard runs entirely in the browser and takes a few minutes, following Home Assistant’s own onboarding steps:

  1. On the welcome screen, select Create my smart home to start a new installation (choose restore from backup instead when moving an existing setup to new hardware).
  2. Enter a name, a lowercase username with no spaces, and a password, then select Create account. This becomes the owner account, and the official onboarding guide warns that owner credentials cannot be recovered through that setup flow, so store the credentials somewhere they’ll actually be found again.
  3. Enter the home’s location. Home Assistant uses it to set the time zone, unit system, and currency, and to build a “home” zone that automations can trigger on, such as porch lights at sunset.
  4. Choose whether to share anonymized usage data, then select Next. This is optional and off by default.
  5. Select Finish to land on the default dashboard.

Adding the first integration

Home Assistant auto-discovers many devices on the network the moment it starts, and anything it finds shows up under Settings → Devices & Services → Discovered, ready to add with one click. But the fastest way to confirm the whole setup actually works, with no smart device required, is the Workday integration, which Home Assistant’s own getting-started guide uses for exactly this reason.

  1. Go to Settings → Devices & Services.
  2. Select Add integration in the bottom-right corner.
  3. Type “workday” and select the Workday integration.
  4. Give it a name, such as “Workday tomorrow,” pick the country, then select Submit and Finish.
  5. On the options screen, remove any day that isn’t a workday, and set Offset to 1 to check tomorrow instead of today. Select Submit.
  6. Pick an area, such as “office,” and select Finish.

That’s a working integration with an entity ready to reference in an automation, built without touching a single smart device. From here the pattern repeats for a real device: check Discovered first, then search for the brand or integration by name if it isn’t listed there.

Where this setup breaks

Work through the observed symptom rather than assuming one cause. If the dashboard does not open, check the address, network, preparation state, and documented troubleshooting. If the board restarts, inspect the power supply and peripherals along with logs and the image match. If performance changes over time, look at storage space, database growth, integrations, and available resources; do not diagnose a worn-out card from slowness alone. Keep Ethernet connected through the documented installation route.

What this actually costs, and who should skip the Pi route

Compare a complete current Pi shopping list with Home Assistant Green or another supported installation. A spare board may reduce purchases, but you still need suitable power, storage, networking, backups, and time to maintain it. No all-in price or performance ranking is promised here.

Home Assistant Green is a ready-made alternative with Home Assistant OS installed. Compare its current hardware, cost, and supported integrations with your complete Pi shopping list. It can remove the imaging step, but it does not remove account setup, backups, integration configuration, or maintenance.

Where to go next

With a working install and one test integration in place, the next step is deciding which automations to build first, not adding more integrations one at a time. 20 Home Assistant automations worth setting up first walks through the highest-payoff ones in order, starting with the same motion-light pattern the Workday integration above stands in for. For anyone still weighing whether the ongoing setup and maintenance is worth it against a simpler ecosystem, is Home Assistant worth it? breaks down the real cost and effort against the alternatives.

Evidence and verification

Full factual desk review, October 30, 2026: Home Assistant’s Pi installation guide, onboarding, integration tutorial, and backup guidance support the documented steps. No hardware setup, SSD endurance comparison, restore, performance, or setup-time test was performed. Verify your board, storage, supply, and current image before writing anything.