Skip to content

Install Home Assistant on Proxmox

Obtain the VM image

  1. Go to Home Assistant website and copy KVM/Proxmox link.

imgur.png

  1. Go to proxmox console and run following commands
1
2
3
wget <ha_download_address>

unxz </path/to/file.qcow2.xz>

Create the VM

  1. General

  2. Select your VM name and ID

  3. Select Start at boot

  4. OS

  5. Select Do not use any media

  6. System

  7. Change Machine to q35

  8. Change BIOS to OVMF (UEFI)
  9. Select the EFI storage (typically local-lvm)
  10. Uncheck Pre-Enroll keys

  11. Disks

  12. Delete the SCSI drive and any other disks

  13. CPU

  14. Set minimum 2 cores

  15. Memory

  16. Set minimum 4096 MB

  17. Network

  18. Leave default unless you have special requirements (static, VLAN, etc)

Confirm and finish. Do NOT* start the VM yet.

Add the image to the VM

In the proxmox console run following commands

1
qm importdisk <VM_ID> </path/to/file.qcow2> <EFI location>

For example

1
qm importdisk 105 /home/user/haos_ova-12.0.qcow2 local-lvm

Configure HA VM

  1. Select your HA VM

  2. Go to the Hardware tab

  3. Select the Unused Disk and click the Edit button

  4. Check the Discard box if you're using an SSD then click Add
  5. Select the Options tab
  6. Select Boot Order and hit Edit
  7. Check the newly created drive (likely scsi0) and uncheck everything else

Finish Up

  1. Start the VM
  2. Check the shell of the VM. If it booted up correctly, you should be greeted with the link to access the Web UI.

imgur.png