homebridge-magichome-platform icon indicating copy to clipboard operation
homebridge-magichome-platform copied to clipboard

Homebridge crashes after interaction

Open MIGI10 opened this issue 4 years ago • 0 comments

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?

MIGI10 avatar May 05 '20 18:05 MIGI10