Building a small home lab with three HP mini PCs

How three small HP mini PCs became the server behind my smart home: what they run, what I upgraded, and what I would do differently.

Three HP EliteDesk mini PCs on shelves in a 10-inch rack

For a long time, a Home Assistant Green was the only thing in my house you could call a server. It sat next to the router, ran the house, and did little else.

Then I started thinking about what else I could do with a small server of my own. Years ago I worked in IT, and I used to spend a fair amount of time on Linux boxes. That was a long time ago, but it got me thinking.

What if I had somewhere to send scanned documents? Ad blocking for the whole network? A database for my energy data, so I could see just how quickly the Powerwall is paying for itself? A home dashboard?

Before long I had more jobs than one small box could sensibly do, so I bought an HP EliteDesk mini PC from eBay. That is also why there has been a delay in posting. The fun had started.

This is the first of four articles about what happened next. This one covers the hardware: three small HP mini PCs (yes, the plan was one to start with), what runs on them, and what I would do differently. The next three cover moving Home Assistant onto it, taking the Green to my second home in France, and finally replacing my Philips Hue and Aqara hubs with a single Zigbee stick.

This article contains Amazon affiliate links. As an Amazon Associate I earn from qualifying purchases. This does not affect the price you pay or my verdict.

The setup at a glance

  • three HP EliteDesk 705 G4 Mini PCs, identical apart from memory
  • two of them run Proxmox, which lets one PC do the job of many
  • the third stays on Windows 11 as a PC I can log in to remotely
  • 32GB of memory in the main machine and 16GB in each of the others
  • around a dozen small services, plus Home Assistant
  • a 5-port UniFi Flex Mini switch connecting them, which feeds back into my Dream Router 7
  • a 10-inch mini rack to keep it all in one place
  • nightly backups, with an encrypted copy kept off site

Why mini PCs?

I did not set out to build a home lab. The first mini PC was bought to see what I could do with it. That got me thinking about more, and as these things do, it cascaded.

The HP EliteDesk 705 G4 Mini is an ex-office machine. It is about 18cm square and a few centimetres tall, small enough to sit on a shelf in the study without anyone noticing it. Mine have AMD Ryzen 5 PRO processors, which are several years old now but more than enough for this kind of work.

All three came from eBay, second hand.

Having three of the same model has turned out to be useful. They share the same power supply, the same memory and the same shelf size. If one fails, I already know how the other two come apart.

What each machine does

Machine What it runs Memory
Mini PC 1 Proxmox. The main server, running twelve small services 32GB
Mini PC 2 Proxmox. Home Assistant, a backup DNS server and monitoring 16GB
Mini PC 3 Windows 11. A normal PC with no screen attached, which I connect to remotely. Most of what I do is on a Mac, so this gives me a Windows PC when I need one 16GB

The second machine has a history. It was originally bought for France and sat in a cupboard for months waiting for a trip. But once I started using the first one, it became clear I wanted more. In the end it made more sense to keep it here, and that decision is really what started this whole series.

What is Proxmox, and why use it?

Proxmox is free, open-source software that you install on a PC instead of Windows. It then lets that one PC behave like lots of separate small computers.

Each service gets its own sealed box. If I break the document system, the ad blocker carries on. If an update goes wrong, I can roll that one box back without touching anything else. And every box can be backed up as a single file.

To be fair, there is a learning curve. This is not what I used to do when I worked in IT, and it is not a plug-in-and-forget product like the Green.

I’ll be honest: I have had a lot of help from Claude (AI) in setting it up and looking after it, and I would not have got this far this quickly without it.

What actually runs on it

Here is what the two Proxmox machines are doing today:

  • Home Assistant, running as a virtual machine. That move is the next article;
  • two AdGuard Home servers, one on each machine, which block adverts for the whole house and give my devices proper names. Having two means one machine can restart without the internet appearing to stop;
  • Paperless-ngx, which files scanned documents and makes them searchable. This is likely to change in future, to something more flexible built around my Epson FastFoto scanner;
  • Homebridge, which puts my UniFi doorbell and cameras into Apple Home;
  • Nextcloud, for my own files;
  • a database and Grafana, which keep long-term energy and house data;
  • Caddy, which lets me reach everything by name with a proper padlock in the browser, not by typing numbers;
  • my own home dashboard;
  • and a few small tools: private web search, PDF tools and monitoring.

That sounds like a lot, and it has taken a lot of tinkering to get here. But it is not really stretching the machines at all.

When I checked this week, the main machine was using about 7.5GB of its 32GB of memory. The second was using about 6.5GB of its 16GB. Both had been running for 31 days without a restart.

The memory upgrade

The main machine came with 16GB of memory as two 8GB sticks. I replaced them with a Timetec 32GB kit from Amazon: two 16GB DDR4-2666 SO-DIMMs, the smaller laptop-style memory these machines use.

I chose 2666 speed over the faster 3200 on purpose. HP lists 2666 as the fastest this machine supports, so the faster kit would have cost more for no gain, and I wanted to be sure it would work.

With hindsight, I did not need it yet. Look at the numbers above: the main machine is using less than 8GB. The upgrade gives me room to grow, but if you are starting out, 16GB will take you a long way.

Connecting them up

All three plug in to a UniFi Flex Mini, a tiny 5-port switch that shows up in the same UniFi app as the rest of my network. I bought mine from Amazon. Each machine, and each service on it, has a fixed address and a name.

The back of the rack, showing the UniFi Flex Mini switch and network cables

The switch sits on a shelf of its own at the back of the rack. As the photo shows, a cable tidy-up is definitely needed. That is a job for another day.

The rack

For a while the three machines simply sat on a shelf. They now live in a GeeekPi DeskPi RackMate T1, a 10-inch, 8U mini rack, with three extra 1U vented shelves, one for each PC. Both came from Amazon, and together they cost £176.96.

The 10-inch mini rack holding three mini PCs, with power bricks at the bottom

One thing worth knowing if you go down the same route: these minis are too wide to sit two across on a 10-inch shelf, so each one needs a shelf of its own. Each also has a bulky power brick that needs a home.

Backups, because this now matters

Once Home Assistant and my documents live on these machines, losing one would hurt. So each Proxmox machine backs up everything on it every night to a second disk, and keeps a week of copies.

Once a week, an encrypted copy also goes off site to storage in Germany, with Hetzner. Choosing where that copy lives, and why I wanted a European company, deserved its own article: off-site home lab backups on a Hetzner Storage Box.

Was it worth it?

For me, yes. But not for everyone.

If you want a smart home that just works, a Home Assistant Green is still an excellent product. It did nothing wrong. I simply asked more of it than it was built for.

If you are thinking about doing something similar, this is what I would tell you:

  • Start with one machine. You can add a second later, and you will know far more about what you need by then.
  • Buy the same model again. Matching machines make spares, shelves and power supplies simple.
  • Do not over-buy memory. Check what you are using before you upgrade. I did it the other way round, although it does give me room to grow.
  • A second machine is worth more than a bigger one. It lets one restart while the other keeps the house running.
  • Be honest about the time. This is a hobby as well as a tool, and it takes up quite a bit of time. The upside is that everything is managed remotely, so I can do it from the sofa with a MacBook and the TV on.

What’s next

With the hardware in place, the next job was the big one: moving Home Assistant off the Green and onto a mini PC, without rebuilding everything from scratch. That is the next article.