Home Assistant, your DIY Smart Home Hub
You can find more information on Home Assistant on home-assistant.io, DockerHub or GitHub.
Introduction
In this Post I want to show you how to set up Home Assistant on Docker with Portainer.
It’s very simple and easy to use.
1. Public Access Installation
You will need Traefik installed for this to work!
Once you have done, create a subdomain and point it at the server.
Go to your Portainer installation and create a new Container.
Fill in the name and publish port 8123.
Map the Volume “/etc/localtime” as read only!
You can add an Environment Variable like the TZ, but it’s not strictly necessary.
The labels are the same as I already explained in the Traefik post.
Don’t forget to change your-domain.com!
I put the Restart Policy on Always.
Don’t forget to enable Privileged mode!
Now hit deploy and you’re done.
2. Home Network Installation
Go to your Portainer installation and create a new Container.
Fill in the name and publish port 8123.
Map the Volume “/etc/localtime” as read only!
Choose the Macvlan network we created in this post.
And give it an IPv4 Address of your liking.
You can add an Environment Variable like the TZ, but it’s not strictly necessary.
Don’t forget to enable Privileged mode!
I put the Restart Policy on Always.
Now hit deploy and you’re done.
3. How to Use
When visiting the IP or the domain you provided you will be greeted with this:
Create your user and you’re done!
3.1 Downloading the App
You don’t have to access your Home Assistant via the Browser, you can also download the App for IOS and Android.