Zum Hauptinhalt springen

Which hardware should I choose for Home Assistant?

·9 min
Home-Assistant Smarthome Home-Assistant
Autor
Markus

In January 2021, I already gave a hardware recommendation for Home Assistant. A lot has changed since then: Home Assistant has become more powerful and the chip crisis has meant that the Raspberry Pi is no longer as affordable as it was back then. In this article, I’ll tell you about possible platforms for Home Assistant and their pros and cons.

UPDATE 12.09.2024: Here is another article on the topic, which also discusses the advantages of virtualisation with Proxmox Selecting a Home Assistant server: 3 expansion stages with advantages and disadvantages

Raspberry Pi and Home Assistant
#

The Raspi was - and to some extent still is - the favoured hardware of many Home Assistant users. It is compact, comparatively powerful, requires little power and was cheap to buy.

During the chip crisis, prices for the popular single-board computer rose to absurd heights. A Raspberry Pi 4 with 4 GB RAM sometimes cost just under €200, if it was available at all. In the meantime, prices for the Raspi 4 with 4 GB RAM have levelled off at around €65 , which is slightly higher than before the chip crisis.

The new Raspberry Pi 5 has also been available for a few weeks now. The 4 GB model costs around €85 and the version with 8 GB RAM around €95 .

The interesting thing about the Raspberry Pi 5 is that it is not only more powerful than its predecessor, but also that it is now equipped with a PCI express interface, which allows the direct use of NVMe (M.2) SSDs. This requires a suitable shield, which costs an additional €20, and of course a corresponding M.2 SSD

The advantage of this solution is that it runs much faster and more stable than a micro SD card, which was often used as an installation target for the Raspberry 3 and 4. SSDs could also be used here. However, these were connected via USB3.0 and some configuration work was required to ensure that the system could also boot from the SSD.

From today’s perspective, I would no longer rely on the USB3 SATA adapter and a Raspi 4, unless you still have one lying around and absolutely want to use it.

If you add up the costs for the Raspi 5, the SSD shield, SSD (250 GB is more than enough), power supply unit, housing, etc., you end up with around €180 for the entire system. That’s no mean feat for a relatively limited performance.

That’s why I’ve been recommending the next option for a long time:

Home Assistant on cheap, used PC hardware
#

Cheap refurbished mini PCs are available on every corner these days. These compact computers also have a very low power consumption, but are usually more powerful than even a Raspberry Pi 5. What’s more, you have everything ready to go in a well-cooled compact housing.

Such a mini PC with an older Intel i5 CPU, 8 GB RAM and 250 GB SSD is often available for less than €100. Models with an i7 CPU and 16 GB RAM are available from around €240.

These computers have a sufficient number of USB ports and are an ideal basis for Home Assistant if, for example, you also want to integrate surveillance cameras via Frigate etc., which requires a lot of computing power.

If you want, you can also install virtualisation such as Proxmox on it and run several applications such as NAS, media servers etc. separately from each other - alongside Home Assistant.

I think this is the most suitable solution if you don’t have a Raspi to spare and want a powerful and stable system for Home Assistant. With external USB3 hard drives, you can also set up a small NAS or a backup server for the other devices in the house.

When buying, I’d also go for a tested, refurbished PC. I’ve been keeping an eye on the offers in the classified ads and it’s hardly worth buying from private sellers.

Inexpensive or disused notebooks are also interesting. Here you have two further advantages:

  1. The display, keyboard and touchpad are part of the hardware and therefore offer quick access to the console in an emergency.
  2. The battery practically gives you an in-built UPS that can also bridge longer power outages. When the display is switched off, notebooks are also often very energy efficient

Home Assistant on affordable new PC hardware
#

For a long time, the Intel NUC was the choice for Home Assistant on compact, energy-saving PC hardware. Intel has sold the series to ASUS. There are still remaining stocks of Intel NUCs, which nevertheless start at €260 and end at well over €600, with manageable performance.

In the meantime, there is also a large selection of Mini PCs based on Intel Alder Lake N100 CPUs for around €200. Powerful mini PCs with AMD Ryzen CPU and 16 GB RAM can often be found on offer here at similar prices.

I would also prefer this hardware to a Raspberry Pi.

The Mac Mini
#

The Mac Minis with Apple Silicon CPUs are compact, very economical and surprisingly powerful. Now, it doesn’t necessarily make sense to buy a Mac Mini specifically for Home Assistant, as even refurbished models still cost at least €400.

But perhaps you would like to swap your old Mac Mini for a current M3 model? Then the Mac Mini M1 or M2 can still provide good and economical service as a home assistant platform for a long time to come.

NAS and servers
#

Many NAS systems today are so powerful that you can install and run applications on them in Docker environments or even as virtual machines.

If you already have a suitable NAS system with the appropriate CPU and RAM, you can also install Home Assistant on it. However, these systems are comparatively expensive and the storage and distribution of data should be the primary application.

In any case, you should install Home Assistant Core and the add-ons as individual Docker containers or - if the NAS is powerful enough - as a virtual machine.

I run Home Assistant as a virtual machine on an HP ProLiant Microserver Gen 8 with Intel E1230 V3 Xeon CPU, 16 GB RAM and 4 disks plus SSD for the system. These micro servers were ridiculously cheap a few years ago and the performance is still more than adequate today.

Tip: Security with a cold server
#

I also use a refurbished mini PC from Dell (older i5 CPU, 8 GB RAM, 256 GB SSD) as a so-called cold server. This is connected to power and network, but switched off.

It runs the same Proxmox environment as the (running) productive server. Every few weeks, the cold server - including the Home Assistant - receives an up-to-date backup. If the main server goes down, I can start the cold server within a very short time and have all services available again. The only thing I have to do is reconnect the ZigBee dongle and import the latest HA backup, which I store daily on a Microsoft OneDrive.

Of course, this also works without Proxmox. Simply equip another device with a Home Assistant installation and import the backup of the main system in the event of a failure.

Home Assistant Blue, Yellow and Green
#

The Home Assistant makers themselves have brought out a series of mini-computers that have been tailored directly to HA. It started with the Blue, complete with a stylish aluminium housing, which was based on an Odroid computer.

Then came the Yellow, with the Raspberry 4 compute module, built-in ZigBee and M.2 slot. However, the Rapi module was not available for a long time due to the chip crisis and the Yellow was therefore not an alternative. The Home Assistant Green is now also available.

The Home Assistant Green comes with built-in ZigBee, Thread and Matter support, costs $99, but is less powerful than its predecessors.

All were and are plug-and-play solutions with preconfigured Home Assistant. So all you need is power and a network and you can get started with Home Assistant.

Whether there is a real advantage to buying a preconfigured system for Home Assistant remains to be seen: The real complexity of HA is not the installation, but the configuration and maintenance.

Power consumption and costs of a Home Assistant system
#

The Home Assistant server usually runs around the clock, 365 days a year. That is why power consumption - especially in times of rising electricity prices - is an argument that should not be underestimated.

A Raspberry Pi 5 with NVMe and ZigBee stick can be assumed to consume around 5 watts. However, this is always very dependent on which other add-ons are installed.

5 watts * 24h * 365 days = 0.005 * 24 * 365 = 45.8 kWh

If we assume an electricity price of €0.30 per kWh, we arrive at €13.40 electricity consumption per year.

A modern mini PC draws about 10 watts from the mains and therefore costs €27 per year.

Although the Raspberry Pi5 consumes less power than an inexpensive mini PC, its lower acquisition costs relativise the higher power consumption compared to the Raspi over the years.

NAS systems and servers with several hard drives often require 30 or 50 watts (depending on how well the spin-down of the hard drives works) and then cost €100 per year or more.

Avoid power failures with a UPS
#

A sudden power failure shuts down the system hard. This is often accompanied by data loss or corrupt file systems. Especially with an application like Home Assistant, you want to avoid such failures. Therefore, every Home Assistant installation should also include an uninterruptible power supply.

Depending on the hardware used, connected devices and their power consumption, as well as the desired bridging time, you should also select the power of the UPS.

For a Raspberry Pi with SSD, even the smallest variants with 450 VA are sufficient. A power bank can also be used as a UPS for the Raspberry, provided it can supply 3A current.

If you have a UPS with a USB interface, you can also shut down the system automatically when the UPS runs out of charge. With Home Assistant, this is very easy with the NUT integration . If the power failure lasts longer than the UPS can bridge, the system is shut down cleanly beforehand.

These are my tips for a powerful and affordable hardware basis for Home Assistant and other services.

What is your Home Assistant installation running on and why? Write it in the comments!

Verwandte Artikel

DIY irrigation control with Home Assistant and ESPHome
·14 min
Electronics-&Amp;-Diy Home-Assistant Esphome Home-Assistant
This is my DIY hardware for controlling 24 volt irrigation valves with Home Assistant
Home Assistant: What is the difference between integrations, add-ons, HACS, HA Core and HAOS?
·5 min
Feature Home-Assistant Smarthome Home-Assistant
What do add-ons, HACS, integrations, HA Core and HA OS do? What are the differences? A brief explanation.
The 10 most common Home Assistant mistakes that you should definitely avoid
·7 min
Feature Home-Assistant Smarthome Home-Assistant
Smart home systems such as Home Assistant can make your life easier and offer you numerous options for automating and controlling your devices. However, many people make some mistakes when setting up Home Assistant, which can lead to frustration. Here are the 10 most common mistakes and how you can avoid them: Not consulting with family and partner # Before you even start setting up Home Assistant, you should make sure that all family members and your partner are in agreement. Everyone who will be using the system should know how it works and what benefits it offers. It is also important to consider the needs and preferences of all family members to ensure that the system is useful for everyone.