How to setup Cold / Warm white color?

Hi,

I create some TCP connection to my lamps but I have a problem with lights colors. I am able to set nice blue/red/green color on lamps. Question is, what is a decimal number for Warm White or Cold white?
In protocol I found “rgb_value” is the target color, whose type is integer. It should be
expressed in decimal integer ranges from 0 to 16777215 (hex: 0xFFFFFF).
But 16777215 -FFFFFF is kind of red color.
Is there some better specification of these colors?

There are 2 modes, RGB mode and ct mode. You can’t set temperature from RGB mode, only from Color Temperature mode.

see docs:

1 Like

Thank you Dalanik, it works :slight_smile:

1 Like