node-red-contrib-zigbee icon indicating copy to clipboard operation
node-red-contrib-zigbee copied to clipboard

How to set the color temperature at GLEDOPTO GL-C-008 in the right way?

Open SkylightXD opened this issue 6 years ago • 2 comments

I got the GLEDOPTO GL-C-008 controller for an RGB + CW + WW LED strip. I can set the RGB color and the brightness, but if I want to set the color temperature the strip will fade from complett cold white to complett warm white, there is no step in between :/ I send them e.g. 100 thats total cold white and 1000 is total warm white ... 200 is even total cold ...

ZigBee_GLEDOPTO_GL-C-008_1

This is the code in set temperature var temperature = msg.payload; var set_temperature = {payload: { "state": "ON", "brightness": 100, "color_temp": temperature, "alert": "single", "transition": 0 } }; return set_temperature;

To compare this is the code in set color: var color_hex = msg.payload; var set_color = {payload: { "state": "ON", "color": { "hex": color_hex }, "alert": "none", "transition": 0 } }; return set_color;

Do you know any JSON example for this controller or could you tell me the right syntax?

SkylightXD avatar Apr 16 '19 06:04 SkylightXD

Just a wild guess: What happens if you change "color_temp" to "ct"?

miDan23 avatar Apr 07 '20 15:04 miDan23

Hallo, did solve the problem in the end? Can you upload your flow? Thanks

Bitfluesterer avatar Jul 31 '20 08:07 Bitfluesterer