hardware-para-home-assistant-raspberry-pi-mini-pc

Hardware for Home Assistant: Raspberry Pi, Mini PC, or Green

  • 7 min

Hardware for Home Assistant is the machine that will continuously run our home automation server. It can be a Raspberry Pi, a Mini PC, or an official unit like Home Assistant Green.

Home Assistant runs continuously. Therefore, we are looking for low power consumption, reliable storage, and sufficient performance for our setup.

Historically, the default answer in the maker community was always a Raspberry Pi. However, the hardware landscape has changed dramatically in recent years. Let’s technically analyze the real options we have on the table.

The Classic Option: Raspberry Pi (ARM)

The Raspberry Pi (versions 4 or 5) has traditionally been the entry-level hardware for home automation. It’s small, consumes only about 3-5W at idle, and its ARM architecture is perfectly supported by the Home Assistant development team.

However, if you intend to use a Raspberry Pi for a production environment (your home), you must immediately confront the biggest design flaw of this setup: microSD card storage.

The Database and Wear Problem

Home Assistant is not static software. It is constantly logging events. Every time a Zigbee sensor reports temperature, or a relay changes state, HA writes that data to a SQLite database (the home-assistant_v2.db file). This generates a massive volume of continuous writes and rewrites.

The quality of microSD cards varies greatly, and their controllers typically offer less endurance and recovery mechanisms than an SSD. The continuous database writes can accelerate wear or leave the system more exposed to corruption after an unexpected shutdown.

If you install Home Assistant on a microSD card, the card will die. It’s not a question of “if,” but “when” (usually between 6 and 18 months). The NAND flash memory sectors will degrade from write fatigue, and your system will suddenly crash, corrupting the database.

The Solution: Booting from an SSD

If you decide to use a Raspberry Pi, it is absolutely mandatory to boot the operating system from an SSD connected via USB 3.0 (using a SATA-USB or NVMe-USB adapter), completely abandoning the microSD.

Additionally, the problem mentioned in the article about Zigbee appears: the USB 3.0 ports on the Raspberry Pi emit electromagnetic interference that affects Zigbee dongles. Therefore, you’ll need to use USB extenders and manage a “tangle” of cables and external interfaces that compromises the board’s compactness.

The x86 Alternative: Mini PC and NUC

Given the inflated prices of Raspberry Pis and the need to connect hard drives via USB, the maker community pivoted towards an infinitely superior engineering solution: x86_64 architecture Mini PCs.

We are talking about Ultra Small Form Factor (USFF) devices, like Intel NUCs, or refurbished office equipment (Lenovo ThinkCentre Tiny, Dell OptiPlex Micro, HP EliteDesk). Also included here are modern Mini PCs based on low-power processors like the Intel N100.

The advantages of this architecture for our home automation server are very clear:

  1. Native PCIe/SATA Storage: These devices typically have an M.2 or SATA port on the motherboard. An SSD provides better sustained performance and more comprehensive wear management than a microSD.
  2. Processing Power: A Mini PC offers headroom for large databases, ESPHome compilations, video, or local voice recognition. For a simple Home Assistant setup, both a modern Raspberry Pi and a Mini PC have plenty of power.
  3. RAM Expansion: A simple setup needs little memory, but database, graphical, video, or compilation tasks can increase consumption. Many Mini PCs allow installing 8 or 16 GB of RAM.

The Myth of Power Consumption

The main argument against Mini PCs is power consumption. It’s true that a laptop processor’s TDP (Thermal Design Power) is higher than an ARM’s, but TDP indicates maximum consumption under stress, not idle consumption.

A modern Mini PC (like an Intel N100 or a 7th/8th gen i5) running Home Assistant will spend 95% of its life in idle states (Intel C-States). The real power draw measured at the wall for an optimized Mini PC usually ranges from 6W to 10W. This is a negligible difference (1-2 euros per year on the electricity bill) in exchange for multiplying the power and reliability of our machine tenfold.

Dedicated Hardware: Home Assistant Green and Yellow

To complete the picture, it’s necessary to mention the official hardware sold by Nabu Casa (the company behind HA).

  • HA Green: A “plug and play” device based on ARM, which comes with the system pre-installed on eMMC memory (much more durable than a microSD).
  • HA Yellow: A board based on a Raspberry Pi Compute Module that includes an NVMe port and an integrated Zigbee/Thread radio. It’s a more specialized product, and its availability may vary.

These are excellent options if you want to gift home automation to someone non-technical, but in our case, building it ourselves gives us greater flexibility.

The Definitive Recommendation

At this point, the architectural decision we make in this course is clear:

If you already have a Raspberry Pi 4 in a drawer: use it. For a durable setup, pair it with an SSD, or at least a high endurance microSD and good backups.

If you need to buy hardware from scratch: consider a refurbished x86 Mini PC or a modern low-power unit with 8 GB of RAM and an SSD. Compare the total price with a Raspberry Pi, including the power supply, case, and storage.

Furthermore, having an x86 Mini PC opens the door to virtualization. Instead of installing Home Assistant directly on the “bare metal,” we could install a hypervisor like Proxmox VE and run HAOS as a virtual machine. This way, if our server has plenty of resources, we can use the same computer to run a NAS (TrueNAS) or a Plex server in parallel.

Small Details That Prevent Big Problems

Server hardware isn’t just CPU, RAM, and disk. In a real home automation setup, boring details like the power supply, ventilation, and physical location also matter.

A Mini PC stuffed inside a closed cabinet, next to the router, switch, fiber ONT, and three hot Chinese power supplies might work… until August arrives. It’s wise to place it in a ventilated spot, use a decent power supply, and keep radio dongles separated using USB extension cables.

If your home relies on Home Assistant for lights, heating, or alarms, it’s worth adding a small UPS. You don’t need to power half the house. Just keeping the Mini PC, router, and switch running for a few minutes prevents many silly blackouts and disk corruptions.