Home Assistant Supervised install on an ISCSI boot RPi3; Note-to-self article with links.
This is Step 2 in a HA Supervised Setup. In Step 1, we setup an RPi with the boot disk on a Synology NAS.
The steps involved are provided below
$ sudo apt update && sudo apt upgrade
- Install docker using apt (and not through get.docker.com)
$ sudo apt install docker.io $ sudo systemctl enable --now docker $ sudo usermod -aG docker <username>
DO NOT USE THIS COMMAND: curl -sSL https://get.docker.com | sh
Login in again for permissions to take effect.
- Install portainer
- Install Home Assistant dependencies
$ sudo apt-get install -y software-properties-common apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat $ sudo systemctl disable ModemManager
- Ok, We're all set - Install Home Assistant using the "Supervised Method" below. Note that the installer.sh script requires a "--machine" (machine type parameter) which depends on the hardware you are using. In my case it was raspberrypi3
$ sudo su # curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh # bash installer.sh --machine raspberrypi3
Note that there are several "official" methods to install home assistant. I am using the Supervised because I prefer the easy-of-use of Hassio add-ons, but would still like the "under-the-hood" access through portainer.
All done! In step 3. we will configure external access to your home assistant server - stay tuned.