From d88c9249eff644c414bb48fc2c654d5c437a1dbe Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Sat, 15 Jan 2022 17:09:43 +0100 Subject: [PATCH] Beatify --- Readme.md | 84 ++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 26 deletions(-) diff --git a/Readme.md b/Readme.md index 7ee9ead..9097ec0 100755 --- a/Readme.md +++ b/Readme.md @@ -5,41 +5,73 @@ Follow https://www.home-assistant.io/installation/alternative/: The steps would be: -Install “Docker” package on your Synology NAS -Launch Docker-app and move to “Registry”-section -Find “homeassistant/home-assistant” within registry and click on “Download”. Choose the “stable” tag. -Wait for some time until your NAS has pulled the image -Move to the “Image”-section of the Docker-app -Click on “Launch” -Choose a container-name you want (e.g., “homeassistant”) -Click on “Advanced Settings” -Set “Enable auto-restart” if you like -Within “Volume” click on “Add Folder” and choose either an existing folder or add a new folder. The “mount path” has to be “/config”, so that Home Assistant will use it for the configs and logs. It is therefore recommended that the folder you choose should be named “config” or “homeassistant/config” to avoid confusion when referencing it within service calls. -Within “Network” select “Use same network as Docker Host” -To ensure that Home Assistant displays the correct timezone go to the “Environment” tab and click the plus sign then add variable = TZ & value = Europe/London choosing your correct timezone -Confirm the “Advanced Settings” -Click on “Next” and then “Apply” -Your Home Assistant within Docker should now run and will serve the web interface from port 8123 on your Docker host (this will be your Synology NAS IP address - for example http://10.0.0.142:8123) +* Install “Docker” package on your Synology NAS +* Launch Docker-app and move to “Registry”-section + +* Find “homeassistant/home-assistant” within registry and click on “Download”. Choose the “stable” tag. + +* Wait for some time until your NAS has pulled the image + +* Move to the “Image”-section of the Docker-app + +* Click on “Launch” + +* Choose a container-name you want (e.g., “homeassistant”) + +* Click on “Advanced Settings” + +* Set “Enable auto-restart” if you like + +* Within “Volume” click on “Add Folder” and choose either an existing + folder or add a new folder. The “mount path” has to be “/config”, so + that Home Assistant will use it for the configs and logs. It is + therefore recommended that the folder you choose should be named + “config” or “homeassistant/config” to avoid confusion when + referencing it within service calls. + +* Within “Network” select “Use same network as Docker Host” + +* To ensure that Home Assistant displays the correct timezone go to +the “Environment” tab and click the plus sign then add variable = TZ & +value = Europe/London choosing your correct timezone + +* Confirm the “Advanced Settings” + +* Click on “Next” and then “Apply” + +* Your Home Assistant within Docker should now run and will serve the + web interface from port 8123 on your Docker host (this will be your + Synology NAS IP address - for example http://10.0.0.142:8123, dethlefsen:8123) -dethlefsen:8123 -(claus og Moulin Rouge) ## Update and restart HA on Synology in Docker Remark: to update your Home Assistant on your Docker within Synology NAS, you just have to do the following: -Go to the Docker-app and move to “Registry”-section -Find “homeassistant/home-assistant” within registry and click on “Download”. Choose the “stable” tag. -Wait until the system-message/-notification comes up, that the download is finished (there is no progress bar) -Move to “Container”-section -Stop your container if it’s running -Right-click on it and select “Action”->“Reset”. You won’t lose any data, as all files are stored in your configuration-directory -Start the container again - it will then boot up with the new Home Assistant image +* Go to the Docker-app and move to “Registry”-section + +* Find “homeassistant/home-assistant” within registry and click on + “Download”. Choose the “stable” tag. + +* Wait until the system-message/-notification comes up, that the + download is finished (there is no progress bar) + +* Move to “Container”-section + +* Stop your container if it’s running + +* Right-click on it and select “Action”->“Reset”. You won’t lose any + data, as all files are stored in your configuration-directory + +* Start the container again - it will then boot up with the new Home + Assistant image + Remark: to restart your Home Assistant within Synology NAS, you just have to do the following: -Go to the Docker-app and move to “Container”-section -Right-click on it and select “Action”->“Restart”. +* Go to the Docker-app and move to “Container”-section + +* Right-click on it and select “Action”->“Restart”. ## Install git on Synology via SynoCommunity (https://synocommunity.com/)