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.