Automation - Home-Assistant
Installation
While it would be rather nice to be able to simply install Home Assistant straight onto a LXC, it seems that the maintainers feel otherwise.
The only straightforward install that actually seems to work is installing their own version of Linux onto either bare metal or a VM.
As a bonus silly point, rather than just setting up a VM as usual, it is recommended that you run a community-supplied script on your Proxmox host to build the VM.
(Their instructions...)
- Run this command in the Proxmox shell:
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)"
- Follow the on-screen prompts. Use default settings unless you need custom configurations (e.g., network bridge, VLAN).
- The script downloads the latest HAOS qcow2 image, creates the VM, imports the disk, configures UEFI, and starts the VM.
- Once complete, check the VM’s Summary tab in the Proxmox GUI to find the IP address assigned by DHCP.
- Access Home Assistant at
http://[VM_IP]:8123to complete setup.
IMO...
This script may, or may not be safe to actually run blindly on your server.
I have yet to dig all the way into it & verify what it's ACTUALLY doing all the way through.
But, it does seem to do the job (albeit likely while taking your own needs for granted)...
There are also 2 scripts to allegedly do the same job using Debian (12 & 13) in that folder, but neither of them seems to actually set up HA once they've built the VM...