Kvm

Add Zigbee Dongle to Home Assistant VM (Raspberry Pi 5)

This guide shows how to pass through the SONOFF Zigbee 3.0 USB Dongle Plus to a Home Assistant OS (HAOS) virtual machine running on Raspberry Pi 5 using KVM/libvirt. This allows you to use Zigbee devices directly within your virtualized Home Assistant setup.

Installing Home Assistant OS in KVM on Raspberry Pi 5

Installing Home Assistant OS in KVM on Raspberry Pi 5

Running Home Assistant directly on a Raspberry Pi is the default, but what if you want KVM virtualization on the same Pi 5? Virtualizing HAOS gives you snapshots, easy backup, and the ability to run other services alongside it. This guide walks through the full setup — from installing libvirt and KVM on a Pi 5 to getting Home Assistant accessible on your LAN.