Ah - why do you need to send the on commend anyway - if I understand correct you only need it one time to turn the lights on and only the color afterwards.The title in the API List of the commend is
//Turn the light on and set a Hex color for the command
and in the FAQ it says "Don’t always send ‘ON’ Once you have sent the ‘ON’ attribute to a light", so
SetColor(color)
should be enough?
And as (at least I) have a group of lights (1 RGB Stribe and one Bloom or what's it called) only 1 command / second is fine - otherwise overflow.
But I can't code at all only trying to understand wht the docu says
Over All I have the feeling that only Red or Red like colors are displayed correct. That's why I thought that maybe the RGB - 2D conversion is not working as it should - I understood that there are some formuals needed to do this
http://stackoverflow.com/questions/22564187/rgb-to-philips-hue-hsb/22649803#22649803
as it also describes to make green and blue more vivid
//Turn the light on and set a Hex color for the command
and in the FAQ it says "Don’t always send ‘ON’ Once you have sent the ‘ON’ attribute to a light", so
SetColor(color)
should be enough?
And as (at least I) have a group of lights (1 RGB Stribe and one Bloom or what's it called) only 1 command / second is fine - otherwise overflow.
But I can't code at all only trying to understand wht the docu says
Over All I have the feeling that only Red or Red like colors are displayed correct. That's why I thought that maybe the RGB - 2D conversion is not working as it should - I understood that there are some formuals needed to do this
http://stackoverflow.com/questions/22564187/rgb-to-philips-hue-hsb/22649803#22649803
as it also describes to make green and blue more vivid