i am trying to switch an LSC(Tuya) RGBWW lamp from 1 color(red) to the other(WW) and back.
the light is of type color switch RGBWW dimmer in domoticz
after a lot of trial and error i succeeded
the reason that it took such a long time is that i discovered that the brightness setting on the WW command directly affects the color on the red command
Command for RED
Code: Select all
domoticz.devices('Douche').setColor(255,0,0,55,0,100,3,255)Code: Select all
domoticz.devices('Douche').setColor(0,0,0,55,0,100,2,255)if i either make the first brightness higher or the second one it fails and the light either blinks shortly which and turns to red again or the other way around.
what i want is very simple
switch the light to red with 80% brightness and back to WW with 55% brightness
can anybody see what is going wrong.