Configurazione completa della VM Home Assistant su Proxmox.
VMID: 101
Name: homeassistant
OS: Home Assistant OS
Type: QEMU/KVM Virtual Machine
BIOS: OVMF (UEFI)
Machine: q35
vCPU: 2 cores (x86-64-v2-AES)
Sockets: 1
NUMA: Disabled
RAM: 4096 MB
EFI Disk: local-zfs:vm-101-disk-0 (1 MB)
Boot Disk: local-zfs:vm-101-disk-1 (32 GB SCSI)
- Discard: on
- IO Thread: 1
Used Space: 5.17 GB
Controller: VirtIO SCSI Single
Interface: virtio
Bridge: vmbr0
Firewall: Enabled
MAC: BC:24:11:8D:25:74
IP: 192.168.178.53/24 (DHCP)
Gateway: 192.168.178.1
USB Device: Zigbee Coordinator
- Vendor ID: 10c4:ea60
- Type: Silicon Labs CP210x USB to UART Bridge
- Usage: Zigbee2MQTT integration
SMBIOS UUID: 14ea89d5-2c18-414c-885a-448b997b4b40
VM Gen ID: 215f31ff-e13e-4e2b-93db-7f379b855962
Creation Date: (ctime: 1757778619)
QEMU Version: 9.2.0
Web UI: http://192.168.178.53:8123
Username: leo13388
Password: *Tredici131313
SSH (if enabled):
ssh root@192.168.178.53 -p 22222
Home Assistant: (check in UI: Settings → System → About)
OS Version: (check in UI)
Supervisor: (check in UI)
Purpose: Zigbee device integration
MQTT Broker: 192.168.178.54:1883
MQTT User: leo13388
MQTT Password: *Tredici131313
USB Device: /dev/ttyUSB0 (Zigbee coordinator)
Vendor: Silicon Labs CP210x
Status: ✅ Connected
Configuration:
- Path: /config/zigbee2mqtt/
- Web UI: http://192.168.178.53:8099 (if addon)
Broker: 192.168.178.54
Port: 1883
Username: leo13388
Password: *Tredici131313
Protocol: MQTT 3.1.1
Status: ✅ Connected
Purpose: Zigbee2MQTT communication, IoT devices
[To document as configured:]
- Mobile App
- Google Assistant / Alexa
- Weather
- Energy monitoring
- etc.
- File Editor
- Terminal & SSH
- Samba Share
- [Others to document]
- Zigbee2MQTT (if using addon vs Docker)
- Node-RED (if installed)
- [Others to document]
# Start
qm start 101
# Stop (graceful)
qm stop 101
# Force stop
qm stop 101 --skiplock
# Reboot
qm reboot 101
# Status
qm status 101
# Text console (from Proxmox)
qm terminal 101
# Or via Web UI:
# Proxmox UI → VM 101 → Console
# Monitor commands
qm monitor 101
# Ping VM
qm guest cmd 101 ping
# Get network info
qm guest cmd 101 network-get-interfaces
# Execute command (if agent installed)
qm guest exec 101 -- <command>
# View full config
qm config 101
# Edit config
qm set 101 --memory 8192 # Change RAM
qm set 101 --cores 4 # Change CPU
USB Device: host=10c4:ea60
Type: Silicon Labs CP210x
Status: ✅ Passed through to VM
# From Proxmox, list USB devices
lsusb | grep -i "10c4:ea60"
# Should show:
# Bus XXX Device XXX: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
# Remove and re-add USB device
qm set 101 --delete usb0
qm set 101 -usb0 host=10c4:ea60
# Or via Web UI:
# VM 101 → Hardware → Add → USB Device → Select device
# If SSH enabled, check device
ls -la /dev/tty*
# Should show /dev/ttyUSB0 or similar
# This is used by Zigbee2MQTT
# Backup VM (from Proxmox)
vzdump 101 --mode snapshot --storage local --compress zstd
# Backup location
/var/lib/vz/dump/vzdump-qemu-101-<date>.vma.zst
# Schedule backup via Proxmox Web UI:
# Datacenter → Backup → Add
# Or via CLI (edit crontab)
# Example: Daily at 2 AM
0 2 * * * vzdump 101 --mode snapshot --storage local --compress zstd --mailto admin@example.com
Via HA UI:
Settings → System → Backups → Create Backup
Backup includes:
- Configuration files
- Addons
- Automation
- Integrations config
Location: /config/backups/
1. Via Web UI:
Settings → System → Updates → Install
2. Via SSH (if enabled):
ha core update
ha supervisor update
ha os update
# From Proxmox
qm status 101
# Memory/CPU usage
qm monitor 101
# Then: info status, info memory
# Proxmox VM logs
journalctl -u qemu-server@101 -f
# Home Assistant logs
# Via Web UI: Settings → System → Logs
# Check logs
journalctl -u qemu-server@101 -xe
# Verify config
qm config 101
# Try starting with debug
qm start 101 --debug
# Check locks
qm unlock 101
# Verify bridge
qm config 101 | grep net
# Inside VM (if accessible)
# Check DHCP lease at Fritz!Box
# Or set static IP in Home Assistant
# Verify device present on host
lsusb | grep 10c4:ea60
# Restart VM
qm stop 101
qm start 101
# Check in Home Assistant
# Settings → System → Hardware → Three dots → All Hardware
# Check MQTT broker
pct exec 102 -- systemctl status mosquitto
# Ping from Home Assistant to MQTT
# Terminal addon:
ping 192.168.178.54
# Test MQTT connection
# Use MQTT integration to verify broker is reachable
# Verify credentials in Zigbee2MQTT config
# Verify IP
# From Proxmox:
qm guest cmd 101 network-get-interfaces
# Or check Fritz!Box DHCP leases
# Verify VM is running
qm status 101
# Check firewall
pve-firewall status
# Already configured:
- VirtIO SCSI (fast disk I/O)
- IO Thread enabled
- Discard enabled (TRIM support)
- NUMA disabled (not needed for small VM)
# Optional improvements:
# Add more RAM if needed:
qm set 101 --memory 6144
# Add more CPU if needed:
qm set 101 --cores 4
# Inside VM, check I/O
# (if SSH enabled)
dd if=/dev/zero of=/tmp/test bs=1M count=1000
# From Proxmox, I/O stats
qm monitor 101
# info blockstats
# Location
/etc/pve/qemu-server/101.conf
# Backup config
cat /etc/pve/qemu-server/101.conf > /root/vm-101-config-backup.txt
Inside VM:
/config/configuration.yaml → Main config
/config/automations.yaml → Automations
/config/scripts.yaml → Scripts
/config/scenes.yaml → Scenes
/config/.storage/ → Internal storage
Backup via HA UI:
Settings → System → Backups → Create Backup
# Create backup
vzdump 101 --mode stop --storage local --compress zstd
# Copy backup to safe location
scp /var/lib/vz/dump/vzdump-qemu-101-*.vma.zst user@backup-server:/backups/
# Restore from backup
qmrestore /var/lib/vz/dump/vzdump-qemu-101-<date>.vma.zst 101 --storage local-zfs
# Or restore to new VMID
qmrestore /var/lib/vz/dump/vzdump-qemu-101-<date>.vma.zst 201 --storage local-zfs
1. Download Home Assistant OS image
https://www.home-assistant.io/installation/linux
2. Upload to Proxmox:
Datacenter → Storage → local → ISO Images → Upload
3. Create new VM with:
- UEFI BIOS
- VirtIO SCSI disk
- 32GB disk minimum
- 4GB RAM
- 2 CPU cores
4. Install Home Assistant OS
5. Restore backup:
Settings → System → Backups → Upload backup → Restore
6. Re-add USB device:
qm set 101 -usb0 host=10c4:ea60
# Essential commands
qm start 101 # Start VM
qm stop 101 # Stop VM
qm status 101 # Check status
qm terminal 101 # Console access
qm config 101 # View config
# Backup
vzdump 101 --mode snapshot --storage local --compress zstd
# USB device
lsusb | grep 10c4:ea60
qm set 101 -usb0 host=10c4:ea60
Last Updated: 15 November 2025
VM Status: ✅ Running
Zigbee Status: ✅ Connected
MQTT Status: ✅ Connected