Can I control only brightness on Tuya light bulb?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
athoopen
Posts: 40
Joined: Wednesday 14 December 2022 12:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: Netherlands
Contact:

Can I control only brightness on Tuya light bulb?

Post by athoopen »

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:

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
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!
Cheers,
Arjan
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest