peter-murray / node-hue-api

Node.js Library for interacting with the Philips Hue Bridge and Lights
Apache License 2.0
1.19k stars 145 forks source link

Getting Value, '65520' is not within allowed limits: min=-255 max=255 for 'id' when using Philips Hue-Bridge adapter in iobroker #235

Open schluo opened 10 months ago

schluo commented 10 months ago

Hi Peter,

the conbee II zigbee usb stick returns xFFF0 (65520) for the "all" group which results in recurring errors due the the limit of 255 which is stated in your code. As far as I can see in src/types/RangedNumberType.ts line 44 and src/types/Int8Type.ts.

It is possible to adapt the code to except int16 numbers for group ids?

Thank you! Regards, Oliver