Table of Contents

Setup

For addons I needed HA with Supervisor, that is only on the OS version, so I used KVM:

https://www.home-assistant.io/installation/linux#install-home-assistant-container

and for Raspbery Pi 3/4:

https://www.home-assistant.io/installation/raspberrypi

  
## Vissie KVM script files
  
vmName="haos_ova-9.4"
vnc_Port=5912                                                                                

sudo virt-install --name $vmName \
    --description "Home Assistant OS" \
    --os-variant=generic \
    --ram=2048 \
    --vcpus=2 \
    --disk /kvm/hdds/$vmName.qcow2,bus=sata \
    --graphics vnc,listen=0.0.0.0,port=$vnc_Port \
    --boot uefi\

sudo virsh list --all
sudo virsh vncdisplay $vmName

Then enable advanced mode under username/settings

Then add Terminal & SSH

Install HACS

https://www.youtube.com/watch?v=lwqjPu8uC4c

From ssh:

wget -O - https://get.hacs.xyz | bash -

Install SonOff

https://www.youtube.com/watch?v=yQYObXTdhCI