Hass.io via Docker

How to Install Hass.IO in OMV?

  • I’m currently running OMV on an ODROID XU4/HC2 (ARMV7)
  • Open your OMV webpage
  • Enable SSH
  • Connect via SSH to the OMV
  • Execute the following cmd:
apt-get install -y apparmor-utils apt-transport-https avahi-daemon ca-certificates curl dbus jq network-manager socat software-properties-common
  • Then:
curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-build/master/install/hassio_install" | bash -s -- -m odroid-xu -d "/sharedfolders/AppData/HA"

Note: The above share ( "/sharedfolders/AppData/HA” ) it’s a share that I can access remotely later via SMB(as example) to have access to the HA configuration.
Also, the above Hass.IO version it’s special for my device ( odroid xu4 ), you can check in the following page, what’s the version according your device: https://github.com/home-assistant/hassio-build/tree/master/install

  • After the installation finishes, in your browser enter the IP of your OMV and the port number 8123 (192.168.1.30:8123). You should see the following:

  • Wait around 20 minutes. Depends on device performance and Network link speed. During this waiting period, you can check in the Docker Container the Log for the Supervisor to track the progress. Open your docker in OMV and you should see something like this:

  • Open your docker in OMV and you should see something like this:

  • Everything should be running smoothly now. If you open your Home Assistant page, after setup your username and password, you should see the Home Assistant Dashboard page and in the left side, the Hass.IO tools:

  • If something goes wrong with your setup, you can also connect via SSH and remove all repositories and containers related to HA with the following cmdlets:
    List the Containers and repositories:
    docker container ls
    docker image ls
    <take note of the image ID of HA&HAsupervisor>
    Remove all the Containers and Reprositories associated with HA:
    docker rm --force <IMAGE ID>
    docker rm --force <IMAGE ID>
    docker rmi --force <IMAGE ID>
    docker rmi --force <IMAGE ID>
    List again the Containers and repositories to double check if any remaining are left from previus installations
    docker container ls
    docker image ls

More Info:
-> https://github.com/home-assistant/hassio-build/tree/master/install
-> https://www.home-assistant.io/hassio/installation/

12 Likes