I have a TUYA supported warm white ambiance light bulb (manufactured by LSC). With the Tuya app on my mobile I can influence the brightness, coolwhite and warmwhite settings. My goal is to do this from within a dzvents script.
I am using the following code in my dzvents script:
Code: Select all
-- syntax of setColorBrightness(red, green, blue, brightness, coolwhite, warmwhite, mode, temp)
domoticz.devices(2001).setColorBrightness(0, 0, 0, 80, 255, 0 ,4)
-- note: mode is 4 therefore temp is not used
Am I right or am I wrong? If I am right .. any hints/trics to get it working?
TIA!