Synology NAS

Step-by-step guide to installing Homebridge on Synology DiskStations: Native SPK package for DSM 7 or Container Manager (Docker) for Plus-series models.

How to Install Homebridge on a Synology NAS

A Synology DiskStation works well as a Homebridge host: The NAS runs continuously, usually connects to your router over Ethernet, and saves having a separate server.

This guide covers setup on DiskStations running DSM 7 (DSM 7.0 through DSM 7.2 and newer).


Which installation method fits your NAS?

You have two options on a Synology DiskStation:

  • Native DSM Package (Recommended for most users):
    Installs through the DSM Package Center and runs on almost all DiskStations with DSM 7, including the j-, Value-, and Play-series. It requires neither Docker nor terminal experience, runs as a background service, and is maintained directly by the Homebridge project.

  • Container Manager / Docker (For users with an existing container setup):
    Available on Plus- and XS-series models with Intel or AMD processors. This route is convenient if you already manage other services using Docker Compose.


The native package integrates Homebridge directly into DSM and creates a folder on your primary storage volume for configuration and plugin data.

Install Node.js 22 from Package Center

Homebridge relies on a current Node.js runtime, which Synology provides in Package Center:

  1. Open your NAS web desktop in a browser.
  2. Launch Package Center.
  3. Search for Node.js.
  4. Click Install next to the Node.js v22 package.

Download the Matching Package (.spk)

The Homebridge project provides precompiled packages (.spk) tailored to the processor architecture of each Synology series:

  1. Open the project download directory: synology.homebridge.io.
  2. Download the file that matches your DiskStation architecture:
Processor PlatformTypical DiskStation ModelsPackage File
x86_64 (Intel / AMD 64-Bit)DS224+, DS220+, DS720+, DS920+, DS423+, DS1522+, DS1621+, DS1821+homebridge-x86_64-...spk
rtd1619b (Realtek armv8)DS223, DS223j, DS124, DS423homebridge-rtd1619b-...spk
rtd1296 (Realtek armv8)DS220j, DS420j, DS218, DS218play, DS118, RS819homebridge-rtd1296-...spk
armada37xx (Marvell armv8)DS120j, DS119jhomebridge-armada37xx-...spk
armada38x (Marvell armv7)DS218j, DS419slim, DS216, DS216j, DS116, RS217homebridge-armada38x-...spk
alpine (Annapurna armv7)DS1817, DS1517, DS416, DS1515, DS715, DS215+homebridge-alpine-...spk
evansport (Intel 32-Bit)DS214play, DS414play, DS415playhomebridge-evansport-...spk

If your model is not listed above, check Control Panel > Info Center in DSM. The Processor field displays your device's exact CPU type.

Alternative: Add Package Source
Instead of downloading the package manually, you can add https://synology.homebridge.io under Package Center > Settings > Package Sources. Homebridge will then appear directly in Package Center searches under Community.

Install the Package Manually in DSM

  1. In Package Center, click Manual Install in the top right corner.
  2. Click Browse and select the downloaded .spk file.
  3. Acknowledge the third-party package notice by clicking Agree.
  4. Ensure Run after installation is checked, then click Done.

The package registers the background service automatically and stores configuration files and plugin data under /volume1/homebridge.

On entry-level units such as the DS120j or DS223j, the first startup can take several minutes while initial dependencies unpack and start.


Method 2: Container Manager (Docker) for Plus Models

If you operate a Plus- or XS-series model with an Intel or AMD processor and prefer containerized workflows, you can run Homebridge in the Synology Container Manager.

Always use host networking (network_mode: host) for the container. In standard isolated bridge networks, mDNS discovery packets (Bonjour) cannot leave the container, preventing Apple Home from finding the bridge.

Setup with Docker Compose

  1. Open File Station and create a subfolder named homebridge inside your shared docker directory.
  2. Open Container Manager and click Project in the left sidebar.
  3. Click Create and complete the project fields:
    • Project Name: homebridge
    • Path: /docker/homebridge
    • Source: Create docker-compose.yaml
  4. Paste the following configuration:
services:
  homebridge:
    image: homebridge/homebridge:latest
    container_name: homebridge
    restart: unless-stopped
    network_mode: host
    volumes:
      - /volume1/docker/homebridge:/homebridge
    environment:
      - TZ=Europe/Berlin
      - PUID=1000
      - PGID=1000
      - HOMEBRIDGE_CONFIG_UI_PORT=8581
  1. Click Next and finish the setup. The container will download and start automatically.

Connecting and Initial Setup

Once the service is running, Homebridge is available on your local network. The web interface (homebridge-config-ui-x) acts as the browser dashboard and provides the API that Homemanager connects to.

The instance runs unencrypted over port 8581 by default.

Because this is a fresh setup without existing accounts, you create an administrator account during the first connection. You can do this in the app or in a browser:

Setup with Homemanager

Homemanager lets you manage instances on iPhone and iPad, monitor live logs, and configure plugins.

Discover the server

Open Homemanager while connected to the same Wi-Fi network as your DiskStation. Tap Connect to Server during initial launch (or Add Platform in the platform list). The app scans the local network using mDNS and Bonjour.

Select the instance

Choose the detected server from the list. It shows the Homebridge icon and port 8581.

Create an administrator account

Homemanager detects the new server and opens the Create new User screen. Enter a display name, username (such as admin), and password, then tap Create and Log In.

The account is created directly on the server, credentials are saved securely in your iOS Keychain, and Homemanager connects immediately.

Discovery issues or blocked by the DSM firewall? Refer to Connecting Servers to Homemanager for manual IP and port configuration and network troubleshooting.

Setup in the Web Browser

To configure the server from a computer, open the interface in a desktop browser.

Open the URL

Navigate to the web interface in your browser:

http://<your-nas-ip-address>:8581

(Example: http://192.168.1.50:8581 or http://homebridge.local:8581).

Create an account or restore a backup

Enter a username and password for the admin account. If migrating from an earlier setup, you can restore a backup archive here instead.

After signing in, the dashboard displays the HomeKit pairing code.


Network Settings and DSM Firewall

For reliable communication between Apple Home, Homemanager, and your DiskStation, check these settings:

1. Adjust DSM Firewall Rules

If the DSM firewall is enabled under Control Panel > Security > Firewall, add allow rules for these ports:

  • Port 8581 (TCP): Management interface and Homemanager API.
  • Port 51826 (TCP): Default port for the main Apple Home bridge.
  • Port Range for Child Bridges (TCP, e.g. 51827 to 51850): When running plugins as isolated Child Bridges, each bridge claims its own TCP port. The port is assigned upon creation or chosen dynamically. You can check the active port for any plugin inside Homemanager under Bridge Settings (or within the plugin settings on the web dashboard).
  • Port 5353 (UDP): For mDNS multicast discovery (Bonjour).

2. Use Local IP Instead of QuickConnect

Apple Home, Homemanager, and Homebridge communicate using local network multicast protocols. Always use the local IP address of your DiskStation. Remote tunnels like Synology QuickConnect cannot relay these local multicast packets.


File Paths and Maintenance (Native Package)

When using the native SPK package, DSM stores configuration and plugin data in the shared homebridge folder:

ItemPath or Command
Configuration File/volume1/homebridge/config.json
Data Directory & Plugins/volume1/homebridge
Node.js Binary/volume1/@appstore/homebridge/app/bin/node
Restart Service (SSH)sudo hb-service restart
Reset Password (SSH)sudo hb-service reset-admin
View Live Logs (SSH)sudo hb-service logs
Open Homebridge Shell (SSH)sudo hb-shell

Frequently Asked Questions & Troubleshooting


Next Steps

With Homebridge running on your DiskStation, complete your setup:

  1. Pair with Apple Home:
    Find the HomeKit setup QR code on the dashboard or in Homemanager. Open Apple Home on your iPhone, tap the plus icon, select Add Accessory, and scan the code.
    Guide to Pairing with Apple Home

  2. Install Plugins:
    Search the plugin catalog in Homemanager or the web interface for integrations supporting your smart devices (such as Tuya, Ring, Fritz!Box, Hue, or Shelly).
    Tips on Finding and Evaluating Plugins

  3. Configure Child Bridges:
    Run larger plugins in dedicated child processes to keep individual accessory issues from affecting your remaining devices.
    Learn more about Child Bridges


Further Resources

Guides in Homemanager Docs

Official Resources