home assitant on rpi setup
chmod 600 ~/.ssh/id_rsa
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker walther
mkdir ~/homeassistant
docker run -d
--name homeassistant
--privileged
--restart=unless-stopped
-e TZ=Europe/Amsterdam
-v ~/homeassistant:/config
-v /run/dbus:/run/dbus:ro
--network=host
ghcr.io/home-assistant/home-assistant:stable
curl https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/zerotierone-archive-keyring.gpg >/dev/null
RELEASE=$(lsb_release -cs)
echo "deb [signed-by=/usr/share/keyrings/zerotierone-archive-keyring.gpg] http://download.zerotier.com/debian/$RELEASE $RELEASE main" | sudo tee /etc/apt/sources.list.d/zerotier.list
sudo apt update
sudo apt install -y zerotier-one
sudo zerotier-cli join [NETWORKID]
sudo systemctl enable zerotier-one
sudo touch /var/lib/zerotier-one/networks.d/[NETWORKID].conf