Can I control only brightness on Tuya light bulb?
Posted: Saturday 22 July 2023 12:41
All, I could do with some help.
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:
However, I can only control the brightness, I cannot control the coolwhite and warmwhite settings of the lightbulb. I was expting that this should be possible.
Am I right or am I wrong? If I am right .. any hints/trics to get it working?
TIA!
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!