Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homebridge crashes after interaction #31

Open
MIGI10 opened this issue May 5, 2020 · 0 comments
Open

Homebridge crashes after interaction #31

MIGI10 opened this issue May 5, 2020 · 0 comments

Comments

@MIGI10
Copy link

MIGI10 commented May 5, 2020

Hello,

Whenever I try to change colour or turn off/on my led strips, Homebridge crashes with this message:

TypeError: Cannot read property '0' of undefined
at LightBulb.setToCurrentColor (/homebridge/node_modules/homebridge-magichome-platform/src/accessories/lightBulb.js:188:38)
at LightBulb.setBrightness (/homebridge/node_modules/homebridge-magichome-platform/src/accessories/lightBulb.js:160:10)
at Characteristic.Brightness.emit (events.js:310:20)
at Characteristic.Brightness.Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:321:10)
at Bridge. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:882:22)
at Array.forEach ()
at Bridge.Accessory._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:822:8)
at HAPServer.emit (events.js:310:20)
at HAPServer._handleCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:974:10)
at HAPServer. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:209:39)

What can the problem be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant