I'm trying to run homebridge in Docker on Synology. Vanilla install, homebridge boots up without error and UI is readily available, but is not visible in discovery bonjour browser or on any Apple device on same VLAN. Firewall on Synology is completely disabled, as are Synology Bonjour services. Here is output of netstat showing the the configured port is listening:
Thank you for using the oznu/homebridge docker image!
If you find this project useful please STAR it on GitHub:
https://github.com/oznu/docker-homebridge
Or donate to the project:
https://github.com/sponsors/oznu
https://paypal.me/oznu
[10/8/2021, 5:54:34 PM] [HB Supervisor] OS: Linux 3.10.102 x64
[10/8/2021, 5:54:34 PM] [HB Supervisor] Node.js v14.18.0 /usr/local/bin/node
[10/8/2021, 5:54:34 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge
[10/8/2021, 5:54:34 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[10/8/2021, 5:54:35 PM] [Homebridge UI] Homebridge Config UI X v4.41.2 is listening on :: port 8080
[10/8/2021, 5:54:35 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules
[10/8/2021, 5:54:35 PM] [HB Supervisor] Started Homebridge v1.3.5 with PID: 370
Initializing HAP-NodeJS v0.9.6...
[10/8/2021, 5:54:35 PM] Loaded config.json with 1 accessories and 1 platforms.
[10/8/2021, 5:54:35 PM] Loaded 0 cached accessories from cachedAccessories.
[10/8/2021, 5:54:35 PM] ---
[10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-aqualinkd@0.0.9
[10/8/2021, 5:54:36 PM] Registering platform 'homebridge-aqualinkd.aqualinkd'
[10/8/2021, 5:54:36 PM] ---
[10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-dummy@0.5.0
[10/8/2021, 5:54:36 PM] Registering accessory 'homebridge-dummy.DummySwitch'
[10/8/2021, 5:54:36 PM] ---
[10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-mqtt@1.0.1
homebridge API version: 2.7
[10/8/2021, 5:54:36 PM] Registering platform 'homebridge-mqtt.mqtt'
[10/8/2021, 5:54:36 PM] ---
[10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-vera@0.8.2
VeraLink initializing
[10/8/2021, 5:54:36 PM] Registering platform 'homebridge-vera.Vera'
[10/8/2021, 5:54:36 PM] ---
[10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-config-ui-x@4.41.2
[10/8/2021, 5:54:36 PM] Registering platform 'homebridge-config-ui-x.config'
[10/8/2021, 5:54:36 PM] ---
[10/8/2021, 5:54:36 PM] Loading 1 platforms...
[10/8/2021, 5:54:36 PM] [Config] Initializing config platform...
[10/8/2021, 5:54:36 PM] [Config] Running in Service Mode
[10/8/2021, 5:54:36 PM] Loading 1 accessories...
[10/8/2021, 5:54:36 PM] [DummySwitch] Initializing DummySwitch accessory...
Preparing Advertiser for 'Homebridge 1AAB AFBC' using bonjour-hap backend!
Setup Payload:
X-HM://00242GSOVTTZW
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 361-69-535 │
└────────────┘
Starting to advertise 'Homebridge 1AAB AFBC' using bonjour-hap backend!
[10/8/2021, 5:54:36 PM] Homebridge v1.3.5 (Homebridge 1AAB) is running on port 51455.
No sure what I am missing, but it is not visible on the network. WLAN clients are on same L2 VLAN as Synology. FW on Synology is off, and there are no MDNS restrictions on VLAN, all other MDNS/DLNA applications work fine. Any ideas on where this may be broken? I've been trying to figure it out for a while and I'm out of ideas.. Thanks!
I'm trying to run homebridge in Docker on Synology. Vanilla install, homebridge boots up without error and UI is readily available, but is not visible in discovery bonjour browser or on any Apple device on same VLAN. Firewall on Synology is completely disabled, as are Synology Bonjour services. Here is output of netstat showing the the configured port is listening:
bash-4.3# netstat -na | grep 51455 tcp6 0 0 :::51455 :::* LISTEN
The Synology system has a single LACP LAG interface (2 wired connections) to the network. homebridge is latest version. here is my config file:
}
And here is startup from console:
Thank you for using the oznu/homebridge docker image!
If you find this project useful please STAR it on GitHub:
[10/8/2021, 5:54:34 PM] [HB Supervisor] OS: Linux 3.10.102 x64 [10/8/2021, 5:54:34 PM] [HB Supervisor] Node.js v14.18.0 /usr/local/bin/node [10/8/2021, 5:54:34 PM] [HB Supervisor] Homebridge Path: /usr/local/lib/node_modules/homebridge/bin/homebridge [10/8/2021, 5:54:34 PM] [HB Supervisor] UI Path: /usr/local/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [10/8/2021, 5:54:35 PM] [Homebridge UI] Homebridge Config UI X v4.41.2 is listening on :: port 8080 [10/8/2021, 5:54:35 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules [10/8/2021, 5:54:35 PM] [HB Supervisor] Started Homebridge v1.3.5 with PID: 370 Initializing HAP-NodeJS v0.9.6... [10/8/2021, 5:54:35 PM] Loaded config.json with 1 accessories and 1 platforms. [10/8/2021, 5:54:35 PM] Loaded 0 cached accessories from cachedAccessories. [10/8/2021, 5:54:35 PM] --- [10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-aqualinkd@0.0.9 [10/8/2021, 5:54:36 PM] Registering platform 'homebridge-aqualinkd.aqualinkd' [10/8/2021, 5:54:36 PM] --- [10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-dummy@0.5.0 [10/8/2021, 5:54:36 PM] Registering accessory 'homebridge-dummy.DummySwitch' [10/8/2021, 5:54:36 PM] --- [10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-mqtt@1.0.1 homebridge API version: 2.7 [10/8/2021, 5:54:36 PM] Registering platform 'homebridge-mqtt.mqtt' [10/8/2021, 5:54:36 PM] --- [10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-vera@0.8.2 VeraLink initializing [10/8/2021, 5:54:36 PM] Registering platform 'homebridge-vera.Vera' [10/8/2021, 5:54:36 PM] --- [10/8/2021, 5:54:36 PM] Loaded plugin: homebridge-config-ui-x@4.41.2 [10/8/2021, 5:54:36 PM] Registering platform 'homebridge-config-ui-x.config' [10/8/2021, 5:54:36 PM] --- [10/8/2021, 5:54:36 PM] Loading 1 platforms... [10/8/2021, 5:54:36 PM] [Config] Initializing config platform... [10/8/2021, 5:54:36 PM] [Config] Running in Service Mode [10/8/2021, 5:54:36 PM] Loading 1 accessories... [10/8/2021, 5:54:36 PM] [DummySwitch] Initializing DummySwitch accessory... Preparing Advertiser for 'Homebridge 1AAB AFBC' using bonjour-hap backend! Setup Payload: X-HM://00242GSOVTTZW Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
Starting to advertise 'Homebridge 1AAB AFBC' using bonjour-hap backend! [10/8/2021, 5:54:36 PM] Homebridge v1.3.5 (Homebridge 1AAB) is running on port 51455.
Here is docker build config:
docker run -d --name=homebridge \ -e DSM_HOSTNAME=SYNOLOGY \ -v /volume1/docker/homebridge:/homebridge \ --net=host \ --restart always \ oznu/homebridge
No sure what I am missing, but it is not visible on the network. WLAN clients are on same L2 VLAN as Synology. FW on Synology is off, and there are no MDNS restrictions on VLAN, all other MDNS/DLNA applications work fine. Any ideas on where this may be broken? I've been trying to figure it out for a while and I'm out of ideas.. Thanks!