Using Synology Docker to install homebridge to use Yeelight LED


#1

equipment: Synology NAS, Yeelight LED (no xiaomi gateway)

config.json
{
“bridge”: {
“name”: “Homebridge”,
“username”: “CC:22:3D:E3:CE:56”,
“port”: 56688,
“pin”: “666-55-999”
},

“platforms”: [
{
“platform” : “yeelight”,
“name” : “Yeelight”
}
],

“accessories”: [
{
“accessory”: “Synology”,
“name”: “Synology_NAS”,
“ip”: “192.168.1.55”,
“mac”: “00:11:35:70:6F:68”,
“port”: “5000”,
“secure”: false,
“account”: “ptlzx”,
“password”: “1234567890”,
“version”: 6
}
]
}

install.sh

!/bin/bash
apt-get install libavahi-compat-libdnssd-dev
npm install -g homebridge-yeelight
npm install -g homebridge-synology

.
.
.
.
.
.

error:

[Yeelight] DidFinishLaunching
no ble cap, skip ble device discovery
Homebridge is running on port 56699.
add to multicast group
listen on 0.0.0.0
no did or loc found!
[Yeelight] found dev: 71df3f
already in device list!
connect ok!
[Yeelight] accesseory reachable
[Yeelight] dev connected 0x000000000371df3f true
send hb to: 0x000000000371df3f
{“id”:-1,“method”:“get_prop”,“params”:[“power”]}
send hb to: 0x000000000371df3f
{“id”:-1,“method”:“get_prop”,“params”:[“power”]}
send hb to: 0x000000000371df3f
{“id”:-1,“method”:“get_prop”,“params”:[“power”]}
send hb to: 0x000000000371df3f
{“id”:-1,“method”:“get_prop”,“params”:[“power”]}
send hb to: 0x000000000371df3f
{“id”:-1,“method”:“get_prop”,“params”:[“power”]}