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.
fffuuu
Run this command in the Proxmox shell:
<code class="svelte-x57wqa">bash -c <span class="hljs-string">"<span class="hljs-subst">$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)</span>"</span></code>
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.
ccckkk
- Run this command in the Proxmox shell:
<code >bash -c <span class="hljs-string">"<span class="hljs-subst">$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)"</code>
- 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.