Mastering Home Assistant on Proxmox LXC: Setup Guide
Walk through installing Home Assistant on Proxmox LXC step by step, covering container configuration, storage, and performance tuning.
In this article 10
- Key Takeaways
- Introduction: Optimizing Your Smart Home with Home Assistant on Proxmox LXC
- A note from my own setup: I run Home Assistant as a VM
- Why Choose Home Assistant on Proxmox LXC?
- Prerequisites for Your Home Assistant Proxmox Install
- Step-by-Step: Creating the Proxmox LXC Container for Home Assistant
- Managing and Updating Your Home Assistant LXC
- Conclusion
- FAQ
- Recommended Gear
Key Takeaways
- Home Assistant on Proxmox LXC is a lightweight, efficient smart home hub option that shares the host kernel, cutting overhead significantly compared to traditional VMs.
- Users benefit from faster boot times, as LXC containers bypass the need to boot an entire guest OS kernel, enhancing system responsiveness.
- The Proxmox web interface makes Home Assistant in an LXC container easy to manage and maintain in 2026.
- Open-source blueprints are available on GitHub (Home Lab Automation Blueprints) to aid in setting up this optimized
home assistant proxmoxenvironment.
Introduction: Optimizing Your Smart Home with Home Assistant on Proxmox LXC
In 2026, smart home automation continues to evolve rapidly, and at its heart for many enthusiasts is Home Assistant. Running Home Assistant on dedicated hardware or a virtual machine (VM) is common, but Proxmox’s LXC (Linux Container) technology is a solid alternative. This guide will walk you through setting up Home Assistant on Proxmox LXC, providing a lightweight, efficient, and easily manageable environment for your smart home hub. By the end, you’ll have a working home assistant proxmox installation that makes good use of your server’s resources.
A note from my own setup: I run Home Assistant as a VM
This guide covers the LXC route, and it works. But it’s fair to say what I do myself: my Home Assistant runs as Home Assistant OS in a Proxmox VM, next to eleven LXC containers for everything else.
The reason is the supervisor. HAOS gives you add-ons, one-click updates and backups that restore the whole system, and in a house with solar panels, a battery, EV charging and dozens of Zigbee and Wi-Fi devices I want the boring, supported path. Running it as a VM also taught me one rule the hard way: never mount or edit the VM’s disk from the Proxmox host while it’s running. To reach the configuration files, use the Samba or SSH add-on instead.
If you want the lightest footprint and you’re happy to manage everything yourself, LXC is a fine choice. If you want the supervisor and its add-ons, use the VM.
Why Choose Home Assistant on Proxmox LXC?
Running home assistant proxmox within an LXC container offers several significant advantages over traditional VMs or bare-metal installations:
Open Source: The blueprints from this article are available on GitHub: Home Lab Automation Blueprints.
- Resource Efficiency: LXCs share the host kernel, resulting in significantly less overhead compared to VMs. This means more RAM and CPU cycles are available for Home Assistant and other services on your Proxmox server.
- Faster Boot Times: Without needing to boot an entire guest OS kernel, LXC containers start up much faster.
- Simplified Management: Proxmox’s web interface makes managing LXCs straightforward, including backups, snapshots, and resource allocation.
- Isolation: While sharing the kernel, LXCs provide a good level of isolation, keeping your Home Assistant instance separate from other services on your Proxmox host.
- Portability: LXC containers are relatively easy to move between Proxmox hosts, offering excellent flexibility for future upgrades or hardware changes.
For those seeking an efficient home assistant lxc setup, this method strikes an excellent balance between performance and ease of management.
Prerequisites for Your Home Assistant Proxmox Install
Before diving into the home assistant proxmox install process, ensure you have the following:
- Proxmox VE Installed: A running Proxmox VE 7.x or later instance (as of 2026, Proxmox 8.x is common) with internet access.
- Basic Linux Knowledge: Familiarity with the Linux command line will be beneficial.
- Sufficient Resources: Allocate at least 2GB of RAM (4GB recommended for a growing instance) and 2 CPU cores to your LXC. Storage depends on your needs, but 8-16GB is a good starting point.
- Static IP (Recommended): Plan to assign a static IP address to your Home Assistant LXC for consistent network access.
Step-by-Step: Creating the Proxmox LXC Container for Home Assistant
1. Download an LXC Template
First, you need a base operating system template for your container. Debian 12 (Bookworm) is an excellent choice for stability. Access your Proxmox web interface, navigate to your local storage, and click on “CT Templates”. Search for “debian-12” and download it. You can also do this from the Proxmox shell:
pveam update
pveam download local debian-12-standard_12.7-1_amd64.tar.zst
2. Create the LXC Container
In the Proxmox web UI, click “Create CT” in the top right. Fill in the fields:
- Hostname:
homeassistant - Password: set a root password for the container
- Template: select the Debian 12 template you just downloaded
- Disk: 16GB on your preferred storage
- CPU: 2 cores minimum
- Memory: 2048 MB (4096 MB recommended)
- Network: assign a static IP; DHCP works but a fixed address is easier to manage
Leave “Unprivileged container” checked. Once the container is created, go to its Options tab and enable “Nesting” under Features. Some Home Assistant integrations use cgroups and need it.
3. Start the Container and Install Home Assistant Core
Start the container from the Proxmox web UI, then open its console or SSH in as root.
Update the system and install dependencies:
apt update && apt upgrade -y
apt install -y python3 python3-dev python3-venv python3-pip \
bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev \
autoconf build-essential libopenjp2-7 libtiff6 \
tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev
Create a dedicated user and a virtual environment:
useradd -rm homeassistant
mkdir /srv/homeassistant
chown homeassistant:homeassistant /srv/homeassistant
sudo -u homeassistant -H -s
cd /srv/homeassistant
python3 -m venv .
source bin/activate
pip install homeassistant
Run Home Assistant once manually to generate the initial configuration:
hass
Wait for Starting Home Assistant in the output, then open http://<container-ip>:8123 in a browser and complete the onboarding wizard. Once confirmed, stop it with Ctrl+C and exit the homeassistant shell.
4. Run Home Assistant as a Service
Create a systemd unit so Home Assistant starts on boot:
cat > /etc/systemd/system/homeassistant.service << 'EOF'
[Unit]
Description=Home Assistant
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=homeassistant
WorkingDirectory=/srv/homeassistant
ExecStart=/srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant"
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable homeassistant
systemctl start homeassistant
Verify it is running with systemctl status homeassistant.
Managing and Updating Your Home Assistant LXC
Updates in a Home Assistant Core install are manual. Before each upgrade, take a Proxmox snapshot of the LXC; it takes under a minute and gives you a clean rollback if something breaks.
systemctl stop homeassistant
sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate
pip install --upgrade homeassistant
exit
systemctl start homeassistant
Check the Home Assistant release notes before major version bumps, as breaking changes in integrations or configuration syntax do appear. For backups, either use the Proxmox backup scheduler to snapshot the entire LXC on a schedule, or copy /home/homeassistant/.homeassistant to network storage. Home Assistant Core does not include the supervisor’s backup system, so this is entirely your responsibility.
For USB or Zigbee dongles, pass the device through to the LXC by adding the device path in the container’s Options under “Resources”. For example, a Sonoff Zigbee dongle at /dev/ttyUSB0 on the host needs the entry c 188:* rwm added to the container’s device list, plus the device mount point configured.
Conclusion
Home Assistant Core in a Proxmox LXC is a genuinely lightweight setup: low memory overhead, fast startup, and easy to snapshot or move. The cost is that you own updates, backups, and anything the supervisor normally handles for you. For a simple installation with a limited set of integrations and no add-ons, that trade-off is worth it. If your needs grow and you want the full HAOS experience, migrating to a Proxmox VM is straightforward: your configuration.yaml and other files move directly, and the HAOS onboarding wizard picks them up from a backup restore.
FAQ
What is Home Assistant on Proxmox LXC?
Home Assistant on Proxmox LXC refers to running the Home Assistant smart home automation platform within a Linux Container (LXC) on a Proxmox server. This setup provides a lightweight, efficient, and easily manageable environment compared to traditional virtual machines or dedicated hardware.
Why choose LXC over a VM for Home Assistant?
LXC containers offer several advantages, including significantly greater resource efficiency by sharing the host kernel, leading to less overhead and more available RAM and CPU. They also boast faster boot times because they don’t need to boot an entire guest operating system kernel.
Are there blueprints available for this setup?
Yes, open-source blueprints for this Home Assistant on Proxmox LXC setup are available on GitHub under “Home Lab Automation Blueprints”. These resources can assist users in configuring and automating their home lab environment effectively.
What are the key benefits of this setup in 2026?
This setup gives your smart home hub a resource-efficient, manageable environment. It maximizes server resources, offers faster boot times, and simplifies administration through the Proxmox web interface, aligning with evolving smart home needs.
Recommended Gear
If you want to build this setup, this is where I would start:
- Beelink Mini PC (Intel N100): a quiet, low-power box for a home lab
Affiliate links: if you buy through them I earn a small commission, at no extra cost to you.
The end. Thanks for reading.