I'm working at the moment at my ambilight system.

I’m working at the moment at my ambilight system. I have a WS2801 stripe which works fine and a analog LED Stripe and I use it like in the analog Output example with “show analog leds”…
My Problem is now to set the correct color temperature. With my TV and the digital stripe this wasn’t a problem. But how do I adjust the color temperature of the analog stripe in a CRGB object? I tried led -= CRGB(50,0,20); Which works fine with high brightnesses, but when the brightness is low the color is always green… Any suggestions?
Thanks! Lars

I’m not sure if chsv is an option for analog led strips, but I find the color is more consistent using that option

I have as input only RGB :frowning: So I had to convert, but I dont think that this is better…

Maybe a variable correction factor based on the input value? I’m assuming the input ranges from 0-1024 for this example:

http://fooplot.com/#W3sidHlwZSI6MCwiZXEiOiIuMDAwNCh4XjEuNykrMTAiLCJjb2xvciI6IiMwMDAwMDAifSx7InR5cGUiOjEwMDAsIndpbmRvdyI6WyItMSIsIjEwMjQiLCItMSIsIjI1NiJdfV0-

Input is from 0…255. Yes I think something like this

Maybe you only need to apply a color correction up to a certain brightness value and then after that you can use a fixed correction value. Then you might not need to calculate the correction factor /all/ the time.

Something like (sudo code):

if input < 140 then
correction value = .01(x^1.7)+5
else
correction value = 50

http://fooplot.com/#W3sidHlwZSI6MCwiZXEiOiIuMDEoeF4xLjcpKzUiLCJjb2xvciI6IiMwMDAwMDAifSx7InR5cGUiOjEwMDAsIndpbmRvdyI6WyItMSIsIjI1NiIsIi0xIiwiMjU2Il19XQ--

Any other ideas @Mark_Kriegsman ​?