homebridge-particle-io icon indicating copy to clipboard operation
homebridge-particle-io copied to clipboard

Add additional characteristics to Lightbulb

Open digitalhoax opened this issue 7 years ago • 2 comments

Hi,

Thanks for the plugin. I was wondering whether the additional characteristics for the lightbulb could be added to the existing lightbulb accessory, (from https://github.com/KhaosT/HAP-NodeJS/blob/master/lib/gen/HomeKitTypes.js, i.e.)

  this.addOptionalCharacteristic(Characteristic.Brightness);
  this.addOptionalCharacteristic(Characteristic.Hue);
  this.addOptionalCharacteristic(Characteristic.Saturation);
  this.addOptionalCharacteristic(Characteristic.Name);

digitalhoax avatar Feb 15 '17 19:02 digitalhoax

Hi,

sure, I was thinking about extending the accessories with some more characteristics. I hope I'll get to do that soon. I also want to make those configurable then.

norman-thomas avatar Feb 15 '17 19:02 norman-thomas

I have a PR up here #12 that adds support for RGB and dimmable lights

jakeholland avatar Jul 18 '17 00:07 jakeholland