Files
homeAutomation/Server.md
2022-06-12 23:34:30 +02:00

894 B

Server setup

Installation docker

Setup VPN client

Follow this tutorial

NOTE: on ubuntu, you need to add a symbolic link in order to enable the VPN (source)

ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf

Setup Home Assistant

sudo docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/Brussels \
  -v /home/willem/homeassistant:/config \
  --network=host \
  ghcr.io/home-assistant/home-assistant:stable

Now, home assistant can be accessed at http://:8123

To Do

  • Now, you can only connect to the home assistant server when you are connected to the VPN - is this OK or should this be changed?
  • Start the VPN client automatically after reboot