Latest

Home Assistant on a mini PC or Raspberry Pi 5: which hardware to choose, how to install it and how to back it up

Raspberry Pi 5, a used mini PC or Home Assistant Green: what changes in performance, power use and reliability. Installing Home Assistant OS step by step, the choices to make straight away (fixed IP, Zigbee dongle, SSD) and a backup plan that does not depend on an SD card.

By 5 min read
Home Assistant on a mini PC or Raspberry Pi 5

Home Assistant is the control centre of the home: it must stay on day and night, respond instantly and not lose its configuration at every power cut. The choice of hardware matters more than it seems, and the most common mistake, installing it on a microSD card, is also the main reason systems stop booting after a few months. Here is what to choose, how to install Home Assistant OS and how to set up backups from day one.

First choice: the installation method

Home Assistant can be installed in several ways, but today two make sense for a home. In May 2025 the project deprecated the Core and Supervised methods and 32-bit systems.

Method For whom Add-ons Updates and backups from the interface
Home Assistant OS Almost everyone: a computer dedicated to Home Assistant Yes Yes
Home Assistant Container People who already run a Docker server and know how to manage it No, extra services run as separate containers Updates and backups are up to you

Unless you have a specific reason to use Docker, choose Home Assistant OS on a dedicated device: you get add-ons (Zigbee2MQTT, Mosquitto, Frigate, file editor), one-click updates and full backups.

Second choice: the hardware

Raspberry Pi 5 (4–8 GB) x86-64 mini PC (used is fine) Home Assistant Green
Performance Good for an average home The best, with headroom for Frigate and large databases Enough for a home without video surveillance
Storage To be added: NVMe SSD with an M.2 HAT, or a USB SSD Internal SSD already there Built-in eMMC
Typical idle power A few watts From 6–10 W for recent models to 20 W or more for old ones A few watts
Assembly Case, official 27 W power supply, SSD: to be assembled Ready Ready, plug it in and go
When to choose it You want something small and silent and enjoy assembling You plan cameras, many devices, local AI You want to start without hassle

For a mini PC check three things: a 64-bit processor with UEFI boot, at least 8 GB of RAM if you plan heavy add-ons, and an SSD that supports 512-byte logical sectors (the Home Assistant documentation notes that 4Kn-only drives are not suitable). Choose recent low-power processors: over a year of continuous running, the difference between 8 and 25 W is worth tens of euros on the bill.

Why not the microSD card

Home Assistant writes constantly to its state database and logs. microSD cards are not made for that load and fail, often silently: one day the system just does not start. On a Raspberry Pi 5 use an NVMe SSD on an M.2 adapter or a USB 3 SSD; on a mini PC use the internal drive.

Installing Home Assistant OS on a mini PC

  1. BIOS: enter it with the key shown at power-on (often F2, Del or F10), enable UEFI boot and disable Secure Boot.
  2. Prepare an Ubuntu USB stick and boot the mini PC from it, choosing Try Ubuntu without installing it.
  3. Download the “generic x86-64” image of Home Assistant OS from the official site.
  4. Open the Disks app, select the internal drive, choose Restore Disk Image and pick the downloaded file. The drive is erased.
  5. Shut down, remove the stick, connect the network cable and switch on again. On first boot Home Assistant downloads its components: it takes a few minutes.
  6. From another computer open http://homeassistant.local:8123 or the mini PC’s IP address followed by :8123.

On a Raspberry Pi 5 it is simpler: in Raspberry Pi Imager choose Other specific-purpose OS > Home assistants and home automation > Home Assistant, write the image to the SSD and boot from it.

Five things to do straight away

  1. Fixed IP address: set a DHCP reservation on the router so Home Assistant’s address never changes.
  2. A strong username and password for the administrator, and a non-admin user for everyday family use.
  3. Zigbee or Thread dongle on a USB extension cable, away from the computer and from USB 3 ports, whose radio noise disturbs the 2.4 GHz band. See Zigbee sensors that keep dropping.
  4. Remote access without opening ports: use Home Assistant Cloud, a VPN such as WireGuard or Tailscale, or a tunnel. Never expose port 8123 to the internet.
  5. A lighter database: in configuration.yaml, under recorder:, reduce purge_keep_days and exclude entities that change often and that you don’t need in history.

The backup plan

Home Assistant OS creates full backups of the configuration, add-ons and database. The point is not to keep them only on the device itself.

Level How Frequency
Automatic local backup Settings > System > Backups, automatic backups on Daily, keeping the last 7
Network copy A network location on a NAS (Samba or NFS) set as backup destination Daily
Off-site copy Home Assistant Cloud or a linked cloud service Weekly
Encryption key Stored in your password manager Once

Without the encryption key, backups cannot be restored: store it straight away somewhere safe, outside Home Assistant. Test a restore at least once on a second device or a virtual machine: it is the only way to know it works. It is the same logic as the 3-2-1 backup rule.

Updates without surprises

  • Read the release notes before updating, especially the breaking changes section.
  • Let Home Assistant create a backup before the update: the option appears in the update dialog.
  • Wait a few days after the first release of the month: fixes usually arrive in the .1 and .2 versions.
  • Update Home Assistant OS and the add-ons too, not just Home Assistant Core.

Sources