Home Assistant Core (Python) on Armbian

Tags: #<Tag:0x00007f739b4e9c68>

:warning: This guide has been migrated from our website and might be outdated. Feel free to edit this guide to update it, and to remove this message after that.

armbian runs on a wide variety of ARM development boards. Currently, there are around 50 boards supported inclusive the OrangePi family, Cubieboard, Pine64, and ODROID.

Setup Python and pip:

sudo apt-get update
sudo apt-get install python3-dev python3-pip libffi-dev libssl-dev

Now that you installed python, there are two ways to install Home Assistant:

  1. It is recommended to install Home Assistant in a virtual environment to avoid using root, using the VirtualEnv instructions
  2. Alternatively, you can install Home Assistant for the user you created when first booting Armbian:
sudo pip3 install homeassistant
hass --open-ui

Running these commands will:

  • Install Home Assistant
  • Launch Home Assistant and serve the web interface on http://localhost:8123
  • The configuration files will be created in /home/{user}/.homeassistant