Home Assistant
- You can support more guides like this
- Version
- Create Date June 10, 2024
- Last Updated June 12, 2024
- Installation Support Ask Support
-
Number of views
N/A
Open source home automation
About: https://www.home-assistant.io
In this guide i will show how to install HomeAssistant using Portainer.
If you already have docker and portainer installed, and you know your user id and group id, skip to Step 5
Follow this guide to install docker: How to install docker
Follow this guide to install portainer: How to install portainer
Follow this guide to connect to your NAS terminal to find your username ID and group ID: How to connect to NAS via terminal using putty
Find your current time zone on this website, as example for Brussels is:
TZ=Europe/Brussels
Open Portainer by typing in your web browser http://yournasip:19000
After you login on Portainer, go to Home, then click on your Local Environment
Go to Stacks and click on Add stack
On the name type homeassistant, select Web editor and paste the code below.
Make sure you replace the PUID and PGID with the values for your user found on Step 3
Make sure you replace the TZ value with the value for your specific zone found on Step 4
restart:
you can choose from always, unless-stopped, or on-failure[:number of retries]
services: homeassistant: image: lscr.io/linuxserver/homeassistant:latest container_name: homeassistant network_mode: host environment: - PUID=1000 - PGID=10 - TZ=Europe/Brussels volumes: - /volume1/DockerData/HomeAssistant:/config ports: - 8123:8123 restart: unless-stopped
Scroll down and click on Deploy the stack.
If everything goes well, you will get a message that the stack was successfully deployed.
You will see now the container running
Now on your web browser type http://yournasip:8123
and finish the setup.