Difference between revisions of "Automation - Home-Assistant"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 5: Line 5:


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.
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 ==
== (Their instructions...) ==


*<p class="svelte-x57wqa"><span class="svelte-x57wqa">Run this command in the Proxmox shell:</span></p><pre class="code svelte-x57wqa" data-lang="bash"><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></pre><div class="copy-container svelte-clssou"><br></div>
*Run this command in the Proxmox shell:
*<p class="svelte-x57wqa"><span class="svelte-x57wqa">Follow the on-screen prompts. Use default settings unless you need custom configurations (e.g., network bridge, VLAN).</span></p>
<pre class="code" data-lang="bash">
*<p class="svelte-x57wqa"><span class="svelte-x57wqa">The script downloads the latest HAOS qcow2 image, creates the VM, imports the disk, configures UEFI, and starts the VM.</span></p>
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/haos-vm.sh)"  
*<p class="svelte-x57wqa"><span class="svelte-x57wqa">Once complete, check the VM’s </span><strong class="svelte-x57wqa"><span class="svelte-x57wqa">Summary tab</span></strong><span class="svelte-x57wqa"> in the Proxmox GUI to find the IP address assigned by DHCP.</span></p>
</pre>
*<p class="svelte-x57wqa"><span class="svelte-x57wqa">Access Home Assistant at </span><code class="svelte-x57wqa">http://[VM_IP]:8123</code><span class="svelte-x57wqa"> to complete setup. </span></p>
* 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 class="svelte-x57wqa"><span>ccckkk</span></span> ==
<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...