Difference between revisions of "Automation - Home-Assistant"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(Created page with "fffff")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
fffff
= 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:
<pre class="code" data-lang="bash">
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)" 
</pre>
* 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 <strong> Summary tab</strong> in the Proxmox GUI to find the IP address assigned by DHCP.
* Access Home Assistant at <code>http://'''[VM_IP]''':8123</code> to complete setup.
 
<span style="color: rgb(186, 55, 42);">IMO...</span>
 
<span style="color: rgb(186, 55, 42);">This script may, or may not be safe to actually run blindly on your server.</span>
 
<span style="color: rgb(186, 55, 42);">I have yet to dig all the way into it & verify what it's ACTUALLY doing all the way through.</span>
 
But, it does seem to do the job (albeit likely while taking your own needs for granted)...
 
<span style="color: rgb(132, 63, 161);" >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...</span>

Latest revision as of 17:04, 4 March 2026

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]:8123 to 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...