关于依托群晖Docker安装homebridge来使用Yeelight灯的问题
设备群晖、Yeelight灯泡(没有小米网关),未添加Yeelight灯泡时群晖NAS正常显示,按下面代码修改后群晖NAS也不能正常显示了,iphone的homekit也找不到Yeelight灯。帮忙看看问题出在哪?
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
apt-get install libavahi-compat-libdnssd-dev
npm install -g homebridge-yeelight
npm install -g homebridge-synology
.
.
.
.
.
.
===========================================
日志:
===========================================
[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"]}
最后更新:2017-12-03 18:17:55