First, let me introduce you to Home Assistant.
It pretty much is, what its name suggests, a web-panel that assists you with your automatic home. With its currently 1700 integration (At publishing date of this post) you most certainly can connect most IOT devices and services to it.
After you added your devices and services, you are greeted with a dashboard to control all those devices and services like Google / Nest Home, Sonos, LIFX & Hue lights and many more. The Dashboard is fully customizable and you can add automation's to it.
You have some options regarding installing the system:
- Installing it with Hassbian OS on a raspberry pi
- Installing it with a docker container
- Installing the supervisor
- Running it via venv, Python
Now since my Server is not only for Home Assistant and not a Raspberry Pi either, i have the two options of either installing a single docker container or the supervisor. The benefit of the supervisor are support for addons and updates over the web-ui.
So the next step is to download / follow the steps described on their GitHub page and as soon as you run the script, it installs the necessary things:
curl -Lo installer.sh https://raw.githubusercontent.com/home-assistant/supervised-installer/master/installer.sh bash installer.sh
Now, be warned, you have to install network-manager what is somewhat not a ideal thing since i manage my network manually with files.
After you installed everything, you can enter your instance at $your-ip:8123 and register yourself.
You should be greeted with automatically found integrations and you can proceed to add new ones when you browse to configuration on the right nav-bar. Then go to integrations and use the +-symbol on the right lower corner.
That's how you setup Home Assistant on a existing server.
In later posts i will show you how i did create certain things and got it into Home Assistant.