So as I have posted elsewhere, I’ve been running HomeAssistant for a bit now. I started out like most do, a Home Assistant Operating System (HAOS) installation of a Raspberry Pi. When I first set all this up, the Pi 4b with 8GB RAM was the most powerful offered, and its getting a bit long in the tooth already for what I am throwing at it. I recently picked up a few Pi5 boards for a couple projects and debated using one and moving HAOS over to one of them. After doing some research, and crunching numbers I decided to build a Proxmox server on a small mini-PC.
I probably could have gotten away with a Pi5, but I wanted more flexibility and the ability to run other containers and VMs all on a single machine. This greatly simplifies my environment, provides more ‘umph’ to the system … and well inspired my inner geek.
The following is the start of a series of articles I am putting together to document what I did, why I did it, and maybe help you with your Home Assistant environment – you can learn from my mistakes — and some sucesses!
Why Migrate from the Pi to Proxmox?
The Raspberry Pi Charm?
- We all love Raspberry Pi for its affordability and accessibility. It’s like the Swiss Army knife of tech gadgets – small but mighty. However, as your smart home grows, so do the demands put on that board.
Enter Proxmox: A Game Changer
- Proxmox VE (Virtual Environment) offers a robust, scalable, and more stable platform for running Home Assistant. It’s like upgrading from a cozy cottage to a smart mansion.
Proxmox is a virtualization platform, allowing you to run multiple virtual machines (VMs) and containers on a single physical server. Think of it as having multiple mini-computers on one device.
Benefits of Proxmox for Home Assistant
- Comodity devices & hardware: You can install Proxmox on an old laptop or desktop – on up to server class rackmount machines.
- I installed my system on an Intel i9 based NUC (more on this below).
- Stability and Power: Proxmox provides a more stable and powerful environment than a Raspberry Pi, especially for larger, more complex smart home setups.
- Scalability: Easily scale your system as your needs grow without the need to buy new hardware.
- Flexibility: Run multiple services alongside Home Assistant without affecting performance.
- Snapshot and Backup: Proxmox offers advanced snapshot and backup features, crucial for a smart home system.
Measure once - deploy once (or twice 🤣)
Before starting any solution or deployment, no matter the scale, you really need to sit down and grab that napkin on the desk to work out what your plans are – and the hardware required to pull it off. How much CPU, RAM, storage do you need? Do you need a run a GPU or TPU for AI models? Do you want remote access? How is it connecting to your network and at what speed? These are just some of the considerations to think about.
Once you think you have a good idea on the hardware resources you will need – add 25-50% just in case. Today the difference is negligible from a cost perspective, and having headroom in your deployment’s resource utilization will save you time, money and headaches later.
After I sat down and noodled on this for about a week, I came up with the following list of services and VMs I wanted to deploy
- Home Assistant Operating System (HAOS) in a VM
- MQTT (Mosquitto)
- InfluxDB v2
- Cloudflared Zero Trust
- Kali Linux (Headless)
- Docker Host & Portainer on Ubuntu 22.04LTS
- MagicMirror (server)
Two days later (Yay Prime Shipping!) I got my hardware delivered, swapped out the RAM and installed the SSD drive in the case.
Conclusion (for now...)
Migrating from Raspberry Pi to Proxmox for Home Assistant is like moving from a bicycle to a sports car. It’s faster, more powerful, and gives you that “tech adrenaline” rush. Stay tuned for the next article, where we’ll dive into setting up Proxmox for your Home Assistant. It’s going to be a tech adventure, and we can’t wait for you to join us!
In the following articles in this series, I’ll cover:
- Setting Up Proxmox: From installation to creating your first VM.
- Backing Up Home Assistant on Raspberry Pi: Safeguarding your current setup.
- Installing Home Assistant on Proxmox VM: Laying the foundation of your new smart home.
- Restoring Home Assistant on Proxmox: Bringing your smart home to its new residence.
- Optimizing and Troubleshooting: Fine-tuning and problem-solving.
This is just the first part of a detailed series. The following articles will explore the migration process in depth, ensuring you have all the knowledge and tools at your disposal.
Articles in this Series:
- Migrating Home Assistant to Proxmox ← You are HERE
- Proxmox: Installation & Configuration
- Proxmox with a Home Assistant VM
- Home Assistant: Post Proxmox Install
- Extra Credit: Getting Zigbee2MQTT and other tools setup and integrated
There is also a "prequel" to this series: My Home Automation Journey.