Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Home Assistant Raspberry Pi Setup

Home Assistant - Raspberry Pi

ssh pi@ipaddress
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev -y
sudo useradd -rm homeassistant -G dialout,gpio,i2c
cd /srv
sudo mkdir homeassistant
sudo chown homeassistant:homeassistant homeassistant
sudo -u homeassistant -H -s
cd /srv/homeassistant
python3 -m venv .
source bin/activate
python3 -m pip install wheel
pip3 install homeassistant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment