Add Home Assistant

2025-12-22 17:03:51 +00:00
parent 6bf8ed40e8
commit 79d4d9c2f7

28
Home-Assistant.md Normal file

@@ -0,0 +1,28 @@
# Home Assistant
Install virtlib:
```
sudo apt update
sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
```
Download haos KVM:
https://www.home-assistant.io/installation/linux/
then **UNZIP**
```
xz -d haos_ova-16.2.qcow2.xz
```
and move the image to /var/lib/libvirt/images/haos_ova-16.2.qcow2 and update permissions.
Installation using virtlib:
```
virt-install --name haos --description "Home Assistant OS" --os-variant=ubuntu24.04 --ram=4096 --vcpus=2 --disk /var/lib/libvirt/images/haos_ova-16.2.qcow2,bus=scsi --controller type=scsi,model=virtio-scsi --import --graphics none --boot uefi --network bridge=br0
```
It goes to UIFC, need to go to device manager and disable secure boot https://www.reddit.com/r/homeassistant/comments/198yg1a/trying_to_install_ha_as_a_virtual_machine_in/
A new ip will be assigned to vm, can be checked at router config panel.