|
本帖最后由 ptlzx 于 2017-12-1 16:23 编辑
设备群晖、Yeelight灯泡(没有小米网关),未添加Yeelight灯泡时群晖NAS正常显示,按下面代码修改后群晖NAS也不能正常显示了。
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
|
|