-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Issue with BLE bed side lights #57
Comments
@davidbutler62 Yes, my PR should fix this! |
@Marcocanc How can I install the new version with the fix? I already have 0.0.18 installed |
@davidbutler62 I think you can do the following
Can't test it right now though |
I tried, but the installation did not work sudo npm install -g https://github.com/vvpossible/homebridge_yeelight/tarball/master npm ERR! Linux 4.9.41-v7+ npm ERR! Cannot read property 'path' of null npm ERR! Please include the following file with any support request: |
@Marcocanc / @davidbutler62 , I am having the same issue, can you please help? |
Easiest fix would be for @vvpossible to tag a new version on npm |
I have gone back to 0.0.16 which seems not to crash when accessing the BLE bed side lights |
Launched with 0.0.16 - nice more or less, though conversion from HSV to RGB doesn't really work which makes color change non-working as well. I think it was fixed in the upcoming versions though |
Have you tested with last version (0.0.21) ? |
yeelight atmosphere lamp |
I have 2 BLE bedside side lights and they were working great.
I have noticed they are causing homebridge to restart now when i access them from the home app
Log message here:
May 14 18:28:23 homebridge homebridge[18146]: /usr/lib/node_modules/homebridge-yeelight/lib/yee.js:552
May 14 18:28:23 homebridge homebridge[18146]: dev.propChangeCb(dev, 'power', 0);
May 14 18:28:23 homebridge homebridge[18146]: ^
May 14 18:28:23 homebridge homebridge[18146]: TypeError: dev.propChangeCb is not a function
May 14 18:28:23 homebridge homebridge[18146]: at exports.YeeAgent. (/usr/lib/node_modules/homebridge-yeelight/lib/yee.js:552:21)
May 14 18:28:23 homebridge homebridge[18146]: at Characteristic. (/usr/lib/node_modules/homebridge-yeelight/lib/yee.js:506:43)
May 14 18:28:23 homebridge homebridge[18146]: at emitTwo (events.js:106:13)
May 14 18:28:23 homebridge homebridge[18146]: at Characteristic.emit (events.js:194:7)
May 14 18:28:23 homebridge homebridge[18146]: at Noble.onRead (/usr/lib/node_modules/noble/lib/noble.js:316:20)
May 14 18:28:23 homebridge homebridge[18146]: at emitMany (events.js:127:13)
May 14 18:28:23 homebridge homebridge[18146]: at NobleBindings.emit (events.js:204:7)
May 14 18:28:23 homebridge homebridge[18146]: at NobleBindings.onNotification (/usr/lib/node_modules/noble/lib/hci-socket/bindings.js:413:8)
May 14 18:28:23 homebridge homebridge[18146]: at emitMany (events.js:127:13)
May 14 18:28:23 homebridge homebridge[18146]: at Gatt.emit (events.js:204:7)
May 14 18:28:23 homebridge homebridge[18146]: at Gatt.onAclStreamData (/usr/lib/node_modules/noble/lib/hci-socket/gatt.js:115:16)
May 14 18:28:23 homebridge homebridge[18146]: at emitTwo (events.js:111:20)
May 14 18:28:23 homebridge homebridge[18146]: at AclStream.emit (events.js:194:7)
May 14 18:28:23 homebridge homebridge[18146]: at AclStream.push (/usr/lib/node_modules/noble/lib/hci-socket/acl-stream.js:35:10)
May 14 18:28:23 homebridge homebridge[18146]: at NobleBindings.onAclDataPkt (/usr/lib/node_modules/noble/lib/hci-socket/bindings.js:286:15)
May 14 18:28:23 homebridge homebridge[18146]: at emitThree (events.js:116:13)
May 14 18:28:23 homebridge systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
May 14 18:28:23 homebridge systemd[1]: homebridge.service: Unit entered failed state.
May 14 18:28:23 homebridge systemd[1]: homebridge.service: Failed with result 'exit-code'.
May 14 18:28:33 homebridge systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
May 14 18:28:33 homebridge systemd[1]: Stopped Node.js HomeKit Server.
Any ideas? I did add a Yeelight desk lamp recently and also updated Homebridge-Yeelight, but i can't remember what the old version was :/
The text was updated successfully, but these errors were encountered: