Skip to main content

Home Assistant OS [Helper Script]

Overview

This guide will walk you through the process of setting up Home Assistant OS with a Helper Script on Proxmox. This is a simple script that will help you set up Home Assistant OS on a Proxmox VM with a few simple commands. It will also help you set up the network and other settings for the VM.

Prerequisites

  • Proxmox VE 8.0 or later
  • Make sure you have the minimum requirements for Home Assistant OS

Install Home Assistant OS

The first step is to navigate to the Home Assistant OS Helper Script and copy the command.

script

Then, open the shell by ensuring your PVE is selected under the Datacenter and clicking on the Shell button in the top right corner.

shell

Paste the command you copied from the Home Assistant OS Helper Script and hit enter.

cmd

Click "Yes" to confirm the installation.

confirm

I prefer to use "Advanced" settings, so I will select "Advanced".

advanced

Select the "Stable" version of Home Assistant OS, then click "OK".

stable

I usually leave the Virtual Machine ID to the default, but you can change it if you want.

VMID

I recommend selecting "q35" for the machine type unless you have very old hardware.

machine

I leave the default of "Write Through".

write-through

Update or leave the hostname as the default.

hostname

For CPU Model, I usually select "Host" unless you have very old hardware.

cpu

For the resources I use the following: CPU Cores - 2 RAM - 8192MB (8GB)

Ultimately this will depend on your hardware and how many add-ons you plan to run. I recommend at least 4GB of RAM.

Leave the bridge as the default

bridge

Leave MAC Address as the default.

mac

Leave VLAN blank unless you are using VLANs.

vlan

Leave MTU Size blank

mtu

Select "Yes" for "Start VM when completed"

start

Select "Yes" for "Ready to Create"

create

It will now create the VM. This may take a few minutes.

creating

Once the VM is created, you will see a message that says "Completed Successfully".

completed

Access Home Assistant OS

To find the IP address of the VM, click on the VM and then click on the "Console" tab. This will open the console for the VM which should show the IP address of the VM.

You may be able to use the domain to access the VM, but I usually just use the IP address. access

Now you can click "Create My Smart Home" to get started, or restore from a backup.

smart

Next Steps

warning

There is an extra step required when setting up a reverse proxy for Home Assistant OS. Make sure to follow this guide: TODO

I recommend setting up a static IP address for the VM through your router. Once this is done, you can use a reverse proxy like Nginx Proxy Manager to access the VM via a domain. I recommend checking out: