HomeSeer / Plugin-SDK

Plugin development kit for the 4th major edition of the HomeSeer platform.
https://www.nuget.org/packages/HomeSeer-PluginSDK/
GNU Affero General Public License v3.0
21 stars 5 forks source link

Add HSV color picker option #40

Open jldubz opened 5 years ago

jldubz commented 5 years ago

On a related note, is it possible to add to the color picking ability by having a HSV color picker in addition to the RGB. That is, even for RGB devices, the HS4 interface would also include a HSV color picker which HS4 would internally map to the RGB values.

Originally posted by @jvmahon in https://github.com/HomeSeer/Plugin-SDK/issues/39#issuecomment-549091083

jvmahon commented 5 years ago

@jldubz - Thanks for re-posting this in this new thread.

As a bit more background, I'm the developer of a HomeKit to HomeSeer bridge. One device I've never incorporated into that bridge is RGB bulbs. The reason is that HomeKit depends on HSV to control color, while Z-Wave uses RGB, and I assume other color devices on HomeSeer could be RGB or HSV. It would be very helpful if there was a HSV choice for controlling color that functioned similar to the value ranges for HomeKit to facilitate bridging HomeSeer and Homekit. i.e., Hue - 0 to 360 Saturation - 0 to 100 V (Brightness) - 0 to 100

Particularly helpful would be if you could use the JSON interface to receive all 3 values at once. E.g., send / receive an ordered set like {360, 50, 75} from the HSV device and provide a similar set of 3 HSV values to control the device.

Thanks for giving this some consideration.

rjhelmke commented 2 years ago

Is this something you can still use? I have not received any other requests for this.

jvmahon commented 2 years ago

Is this something you can still use? I have not received any other requests for this.

I haven't received too much demand to add color lighting to my homebridge plugin. If there were a method of controlling HomeSeer color lights using HSV, I would probably add that as a feature, but it isn't in high demand.