Rpi 4 installation

I’m new to both raspberry pi and hassio (and these forums), but I managed to install hassio on my new raspberry pi 4 running raspbian. Posting details in case it helps someone.

Install docker (instructions taken from this thread on docker ) :
$ sudo curl -sL get.docker.com | sed 's/9)/10)/' | sh

Install hassio dependencies (instructions taken from here)
$ sudo apt-get install apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common

Install hassio (this part I fiddled with until I got something that worked)

  1. Save hassio installer to file: $ curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" >> hassio_install.sh
  2. Modify install script. Open up hassio_install.sh in your favorite text editor and change it as follows. Where it says “armv7l”, change that section so it looks like this:
"armv7l")
        HOMEASSISTANT_DOCKER="$DOCKER_REPO/raspberrypi3-homeassistant"
        HASSIO_DOCKER="$DOCKER_REPO/armhf-hassio-supervisor"
    ;;

This (https://pastebin.com/fc64mDnm) is what mine looked like after I modified it.

  1. Run install script: $ sudo bash hassio_install.sh

After that, hassio should be available.

16 Likes