PhilipsHue / PhilipsHueSDK-iOS-OSX

The Software Development Kit for Philips Hue on iOS and OS X (beta)
579 stars 169 forks source link

Provide xy values of primaries #4

Closed twam closed 10 years ago

twam commented 11 years ago

As the API is capable of doing xyY<->UIColor conversions it must be aware of the light's primary tristimulus values.

It would be nice to be able to query them.

twam commented 11 years ago

I read a little through the ZLL standard and if I understood it correctly, the lamp itselfs knows about its primaries and X,Y and intensity values. So the bridge could give us that information and then bring it into the API.

jhvdb87 commented 10 years ago

This functionality is not (yet) provided by the bridge, but the primaries can be found in de application design notes, which explains the color conversions in more details.