homebridge-rm-mini3 icon indicating copy to clipboard operation
homebridge-rm-mini3 copied to clipboard

homebridge crashes with "RangeError"

Open djh1202 opened this issue 8 years ago • 3 comments

I'm probably screwing something up: I've installed the plugin and have homebridge running, but when I try switch the accessory on or off, homebridge crashes with the following error:

dgram.js:273 throw new RangeError('Offset + length beyond buffer length'); ^

RangeError: Offset + length beyond buffer length at Socket.send (dgram.js:273:11) at module.exports (/usr/local/lib/node_modules/homebridge-rm-mini3/sender.js:12:10) at Object.RMMini3Accessory.setPowerState (/usr/local/lib/node_modules/homebridge-rm-mini3/index.js:29:7) at emitMany (events.js:108:13) at emit (events.js:182:7) at Characteristic.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:155:10) at Bridge. (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:727:22) at Array.forEach (native) at Bridge.Accessory._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:672:8) at emitMany (events.js:108:13)

djh1202 avatar Nov 16 '16 14:11 djh1202

@djh1202 Sorry, It's a bug. Now, I fixed the bug. Please update the plugin and retry :-)

tattn avatar Nov 16 '16 15:11 tattn

I'm still getting the error...

djh1202 avatar Nov 17 '16 01:11 djh1202

I updated the package but I'm still getting this same error? suggestions?

djh1202 avatar Nov 21 '16 03:11 djh1202