I have a Brilliant CCT Oyster Light that I have flashed to ESPHOME. Problem is that when i set the Color Temperature too low the light fully turn off. Is their a way to set the minimum Color Temp?
Logs indiate the 485.0 mireds is the highest i can go before the light switched off. How can i set this as the maximum? or set the Color temp as the minimum?
I just tried putting this in, and whenever the slider goes to maximum Warm White the light goes out. Doesn’t seem to matter what the mireds are set to.
- platform: cwww
name: "Office Oyster Ccw"
cold_white: output_component1
warm_white: output_component2
cold_white_color_temperature: 6536 K
warm_white_color_temperature: 470 mireds #2000 K
While you move the slider, does it actually show 470 as the max value now?
And from where are you trying this? From a service call, from the standard settings popup for Channing the light settings or from somewhere else (a card or so)?
One thing I noticed with the service calls, is that the slider in that gui didn’t appear to adhere to the max value for colour temperature (it always goes to 500 there).
Hmm, looking at the code, 500 mireds should not be an issue, because the input value is clamped between min and max mireds.
Do you see the correct settings in the config dump that you get when starting the log viewer?
If this all doesn’t work, maybe you could try and tweak the min output level for the related output components?
The Slider in the UI shows the max as set in the Code. So setting to Max it shows 470 and this is replicated in the Log output. But yet the light still turns off.
The log does show 470 as the colour temperature that is used, so the max mireds setting does appear to do its job.
If you use a ridiculously low max value, e.g. 200, does the light switch off when set to the max mireds value of 200 then?
If yes, could it be that the output pin definition is wrong? Is the inverted value needed or is that one actually turning the we LEDs off while they should be at their max value?
@scoobee81 I encountered the same issue. My configuration appeared to be identical to yours, albeit with different brands. However, I suspect both are manufactured by Tuya for those respective brands. Nonetheless, the pins don’t necessarily correspond to Cold White (CW) and Warm White (WW); they’re likely meant for Brightness and Temperature control.
The platform designation I had to utilize wasn’t cwww, but rather color_temperature.
I understand this thread may be old, but if you haven’t already resolved the issue, give this config a shot.