How to Install Home Assistant on Your Synology NAS

How to Install Home Assistant on Your Synology NAS

Home Assistant is a free and open-source home automation software written in Python with a focus on local-control and privacy. It has a very wide range of device support, and, as of May 2020, it features support for over 1600 modular plugins or add-ons with system integrations to different IoT technologies; systems and services are available as “integration components”. Actions, such as switching ON/OFF lights, are triggered by automation, voice commands, mobile apps, or controls on the Home Assistant web-based front-end user-interface. In this step by step guide I will show you how to install Home Assistant on your Synology NAS using Docker. You can also use HOOBS or Homebridge for your smart home devices.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

1 install docker synology dsm

  • STEP 3

Open the Docker Package. From the Docker Console, go to Registry and search homeassistant. Look for homeassistant/home-assistant and select it, then click Download or double click on it. You will be prompted to Choose Tag, select latest. Follow the instructions in the image below.

1 Home Assistant Synology NAS setup

  • STEP 4

After you click “Select”, the download process of the Home Assistant docker container will start. You can click on Image on the Docker Console to see the download progress. The current container is about 1 GB. Follow the instructions in the image below.

2 Home Assistant Synology NAS setup

  • STEP 5

After the download is completed from the Docker Console, go to Image, then select the homeassistant/home-assistant:latest container. Click Launch. Check “Execute container using high privilege”, then click Advanced Settings. Follow the instructions in the image below.

3 Home Assistant Synology NAS setup

  • STEP 6

Select Enable auto-restart. Follow the instructions in the image below.

4 Home Assistant Synology NAS setup

  • STEP 7

Go to File Station and open the docker folder. Inside the docker folder, create a new folder and name it homeassistant. Follow the instructions in the images below.

5 Home Assistant Synology NAS setup

6 Home Assistant Synology NAS setup

  • STEP 8

Now create one new folder inside the homeassistant folder that you created at STEP 7 and name it “config”. Follow the instructions in the image below.

7 Home Assistant Synology NAS setup

  • STEP 9

Now go back to the Docker Package. Next tab – “Volume“. Select Add Folder. Choose the config folder inside the homeassistant folder, then click Select. Follow the instructions in the image below.

8 Home Assistant Synology NAS setup

  • STEP 10

After you click Select, type /config inside Mount path for the config folder. Follow the instructions in the image below. Your Volume will look like this:

9 Home Assistant Synology NAS setup

  • STEP 11

Next tab – “Network“ move forward without doing anything (no action needed).
Next tab – “Port Settings“ on the Port settings area choose the + icon and type 8123 on Local Port – 8123 on Container Port and in the Type area select TCP. Follow the instructions in the image below.

10 Home Assistant Synology NAS setup

  • STEP 12

Next tab – “Links“ move forward without doing anything (no action needed).
Next tab – “Environment“. Click the + to add the variable and Value.
On the variable area type: TZ and on the Value Area add: Europe/Bucharest (Select your current Time Zone from this list). After that, click Apply. Follow the instructions in the image below.

11 Home Assistant Synology NAS setup

  • STEP 13

After clicking “Apply“on STEP 12, the screen below will open. Click “Next“. Follow the instructions in the image below.

12 Home Assistant Synology NAS setup

  • STEP 14

After clicking “Next“, the screen below will open. Select “Run this container after the wizard is finished” then click “Apply“. Follow the instructions in the image below.

13 Home Assistant Synology NAS setup

  • STEP 15

Your container will look like this:

14 Home Assistant Synology NAS setup

  • STEP 16

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 17

Now open your browser and type in http://Synology-ip-address:8123/ Follow the instructions in the image below. Choose Name, Username, Password and Confirm Password then click CREATE ACCOUNT.

15 Home Assistant Synology NAS setup

  • STEP 18

Choose a name for your home then click “DETECT“. Move your location point on the MAP and choose your location, then click NEXT.

16 Home Assistant Synology NAS setup

  • STEP 19

After clicking “Next“, the screen below will open. Click FINISH.

17 Home Assistant Synology NAS setup

  • STEP 20

Welcome to your Home Assistant Dashboard!

18 Home Assistant Synology NAS setup

  • STEP 21

Read the step by step guide on How to Allow Home Assistant to Work Over an HTTPS Connection.

Note: Hass.io Supervisor is a “bridge” between Home Assistant and the operating system. It allows Home Assistant to do things like ‘get hardware information’, and ‘restart hardware’. Home Assistant is, well, a home assistant. It’s what performs automations, displays the UI etc.
Note: Find out how to update Home Assistant container with the latest image.
Note: I recommend you use Reverse Proxy to allow Home Assistant to work over an HTTPS connection.
Note: Can I run Docker on my Synology NAS? See the supported models.

This post was updated on Saturday / August 22nd, 2020 at 2:20 AM