Error bedside lamp ble with homebridge


#1

hi
in homebridge the bedside lamp connected true but if i touch anything on the lamp or by the homekit homebridge chrashes:
found Yeelight Bedside lamp: f8:24:41:ea:0c:d9
[2018-2-3 07:35:30] [yeelight] cached accessory: f8:24:41:ea:0c:d9
connect ok: f8:24:41:ea:0c:d9
discovered services
ble notification on
[2018-2-3 07:35:32] [yeelight] accesseory reachable
[2018-2-3 07:35:32] [yeelight] dev connected f8:24:41:ea:0c:d9 true
receive notify for did: f8:24:41:ea:0c:d9
stop this round of scan
stop discovering
start new round of scan
receive notify for did: f8:24:41:ea:0c:d9
/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 Characteristic.emit (events.js:160:13)
at Noble.onRead (/usr/lib/node_modules/noble/lib/noble.js:312:20)
at NobleBindings.emit (events.js:160:13)
at NobleBindings.onNotification (/usr/lib/node_modules/noble/lib/hci-socket/bindings.js:413:8)
at Gatt.emit (events.js:160:13)
at Gatt.onAclStreamData (/usr/lib/node_modules/noble/lib/hci-socket/gatt.js:115:16)
at AclStream.emit (events.js:165:20)
at AclStream.push (/usr/lib/node_modules/noble/lib/hci-socket/acl-stream.js:35:10)

what i can do?
thanks


#2

solved by my self


#3

I encountered the same issue as you. Can you tell me how to resolve this issue? Thanks a lot.