How to Install Homebridge on Your Synology NAS

How to Install Homebridge on Your Synology NAS

Homebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. Homebridge allows you to integrate with smart home devices that do not support the HomeKit protocol. After installing Homebridge, it remains running and connected to your network, ready to service requests from Siri. In this step by step guide I will show you how to install Homebridge on your Synology NAS using Docker. You can also use HOOBS 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 homebridge. Look for oznu/homebridge 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 Homebridge Synology NAS setup

  • STEP 4

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

2 Homebridge Synology NAS setup

  • STEP 5

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

3a Homebridge Synology NAS setup

  • STEP 6

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

3b Homebridge 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 Homebridge. Follow the instructions in the images below.

3 Homebridge Synology NAS setup

4 Homebridge Synology NAS setup

  • STEP 8

Your docker folder will look like this:

5 Homebridge Synology NAS setup

  • STEP 9

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

6 Homebridge Synology NAS setup

  • STEP 10

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

7 Homebridge Synology NAS setup

  • STEP 11

Next tab – “Network“. Choose “Use the same network as Docker Host“.

8 Homebridge Synology NAS setup

  • STEP 12 A

Next tab – “Port Settings“ move forward without doing anything (no action needed).
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: DSM_HOSTNAME and on the Value area add: Your Nas Server Name Read STEP 12 B below on how you can find this value.
On the variable area HOMEBRIDGE_CONFIG_UI change the Value from 0 to 1. After that, click Apply. Follow the instructions in the images below.

10 Homebridge Synology NAS setup

  • STEP 12 B

How can I find my DSM_HOSTNAME Value? Go to Control Panel / Info Center / Network. Search for Server name. Follow the instructions in the image below.

9 Homebridge Synology NAS setup

  • STEP 13

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

11 Homebridge 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.

12 Homebridge Synology NAS setup

  • STEP 15

Your container will look like this:

13 Homebridge 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:8080/ Follow the instructions in the image below. Username and Password are admin and admin.

14 Homebridge Synology NAS setup

  • STEP 18

You can change Username and Password after the first login. Follow the instructions in the image below.

Homebridge Synology NAS change admin password and user

  • STEP 19

Enjoy your Homebridge hosted on your Synology NAS!

15 Homebridge Synology NAS setup

  • STEP 20

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

Note: You can easily change the admin user and password by clicking the 3 dots at the top right in homebridge home.
Note
: Find out how to update Homebridge container with the latest image.
Note: I recommend you use Reverse Proxy to allow Homebridge to work over an HTTPS connection.
Note: Can I run Docker on my Synology NAS? See the supported models.

This post was updated on Thursday / August 20th, 2020 at 12:33 AM