A guide how to use Proxmox Scripts

How To Install Home Assistant On Proxmox.

  1. To Install Home Assistant, we are going to use this Script which will automate the process significantly

  2. Running this script will:
    Find, download and extract the official KVM (qcow2) Home Assistant OS image
    – Define user settings, import and attach disk, set boot order and start the VM automatically
    – Install the VM with Default Settings: 4GB RAM, 32GB Storage and 2vCPU cores
    – Settings can be tweaked during installation

  3. Click your VM on the left and select Shell

  4. Copy the following command to run the script and hit enter:

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)"

  1. The wizard will ask you to confirm that you want to create a Home Assistant OS VM
  2. Select Yes and click confirm

  1. On the next screen, choose either Default settings or Advanced
    – Default settings are fine for a Home Assistant OS install, but you can assign more RAM and Storage if you need to.
  2. If you choose Advanced Settings , you will be prompted to choose:
    – Home Assistant OS Version (Stable, Beta)
    – Hostname (cannot contain underscore ‘_’ )
    – VM Machine ID
    – Machine type
    – Allocated CPU Cores
    – Allocated RAM Memory
  1. Select the final Yes to confirm
  2. Wait for the script to download, extract and install the latest KVM image of HA OS
  3. Once you get a Completed Successfully message, HA is installed

  1. To see the IP address your router assigned to your Home Assistant VM instance, click your node on the left
  2. Select your newly created Home Assistant VM
  3. The IP address is displayed in the middle
    – Use it to access Home Assistant in your web browser 192.168.xxx.xxx:8123

  1. Finished, you just installed HA OS on Proxmox!

(Optional) USB Passthrough to Home Assistant VM

If you use a Zigbee or a Z-Wave dongle, there is one additional step you must do in order to allow the Home Assistant VM to read your attached USB device.

  1. Attach your USB Device (Zigbee dongle) to your server
  2. Select your Home Assistant VM on the left
  3. Select Hardware from the Menu
  4. Click Add at the top bar
  5. Select USB Device

  1. Select Use USB Vendor/Device ID from the menu
  2. Select your USB Device (Zigbee/Z-Wave Dongle)
  3. Click Add

  1. At the top corner, press the small arrow next to Shutdown
  2. Choose Reboot and confirm to restart the VM
  3. If you navigate to Home Assistant, you USB dongle will be auto-discovered
  4. Done