本帖最后由 ptlzx 于 2017-12-6 20:31 编辑
设备:群晖、小米网关、Yeelight灯泡(已开启局域网控制),启动后意外终止。错误信息和配置文件如下,请大神帮忙看看问题出在哪?
config.json
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:56", "port": 56688, "pin": "666-55-999" }, "platforms": [ { "platform": "AqaraPlatform", "sid": [ "7831DCA37FBE" ], "password": [ "no3z3xi60572c3cx" }, { "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-aqara
npm install -g homebridge-yeelight
npm install -g homebridge-synology
.
.
.
.
.
.
===========================================
错误日志:
=========================================== {"id":-1,"method":"get_prop","params":["power"]} /usr/local/lib/node_modules/homebridge-aqara/lib/AqaraAccessoryFactory.js:75 var gatewaySid = this.gatewaySids[accessory.UUID]; TypeError: Cannot read property 'UUID' of undefined at AqaraAccessoryFactory.autoRemoveAccessory (/usr/local/lib/node_modules/homebridge-aqara/lib/AqaraAccessoryFactory.js:75:48) at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-aqara/lib/AqaraPlatform.js:103:15) at ontimeout (timers.js:469:11) at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:264:5)
|