Homebridge-yeelight 程序报错


#1

打开灯/关闭灯,就报错了。请问如何解决?

found Yeelight Bedside lamp: f8:24:41:e5:f7:eb
[5/12/2018, 9:40:42 AM] [homebridge-yeelight.yeelight] cached accessory: f8:24:41:e5:f7:eb
connect ok: f8:24:41:e5:f7:eb
discovered services
ble notification on
[5/12/2018, 9:40:43 AM] [homebridge-yeelight.yeelight] accesseory reachable
[5/12/2018, 9:40:43 AM] [homebridge-yeelight.yeelight] dev connected f8:24:41:e5:f7:eb true
receive notify for did: f8:24:41:e5:f7:eb
receive notify for did: f8:24:41:e5:f7:eb
/usr/lib/node_modules/homebridge-yeelight/lib/yee.js:552
dev.propChangeCb(dev, ‘power’, 0);
^

TypeError: dev.propChangeCb is not a function
at exports.YeeAgent. (/usr/lib/node_modules/homebridge-yeelight/lib/yee.js:552:21)
at Characteristic. (/usr/lib/node_modules/homebridge-yeelight/lib/yee.js:506:43)
at emitTwo (events.js:106:13)
at Characteristic.emit (events.js:194:7)
at Noble.onRead (/usr/lib/node_modules/noble/lib/noble.js:316:20)
at emitMany (events.js:127:13)
at NobleBindings.emit (events.js:204:7)
at NobleBindings.onNotification (/usr/lib/node_modules/noble/lib/hci-socket/bindings.js:413:8)
at emitMany (events.js:127:13)
at Gatt.emit (events.js:204:7)