Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On/off presset turns on RGB when only W expected #4458

Open
1 task done
BrickSolid28 opened this issue Jan 4, 2025 · 6 comments
Open
1 task done

On/off presset turns on RGB when only W expected #4458

BrickSolid28 opened this issue Jan 4, 2025 · 6 comments
Labels

Comments

@BrickSolid28
Copy link

What happened?

I’m using all RBGW lights. I have one preset to slowly turn on all the lights to white and one preset to slowly turn off all the lights. When the lights turn on with the preset with only the white channel, the RGB pixels light up for a a short period of time and then it switches to pure white channel. When turning off the lights the white channel slowly dims down to a low value then the RGB channel lights up dimly before everything turns off. This only happens with a preset. The on/off button makes the lights dim up to on and down to off correctly. This is most noticeable with the white channel but also happens with solid colors.

To Reproduce Bug

Turn on white channel only, create a new preset, set fade up to 2000ms, turn off all lights, select the turn on preset you made.

Turn off all lights, create a new preset, set fade up to 2000ms, turn on all lights, select the turn off preset you made.

Expected Behavior

Slow fade up to white. Slow fade down to black without the RGB LED’s turning on.

Install Method

Binary from WLED.me

What version of WLED?

15.0

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

Dig octa used

Code of Conduct

  • I agree to follow this project's Code of Conduct
@netmindz netmindz changed the title On/off presset turns on RGB On/off presset turns on RGB when only W expected Jan 6, 2025
@blazoncek
Copy link
Collaborator

Please post on and off presets.

@BrickSolid28
Copy link
Author

I don't know how to interpret this but here are both presets. Thanks!

Turn off
{"on":false,"bri":128,"transition":20,"mainseg":0,"seg":[{"id":0,"start":0,"stop":888,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"col":[[255,160,0,0],[0,0,0,0],[0,0,0,0]],"fx":0,"sx":128,"ix":128,"pal":0,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}]}

Turn on
{"on":true,"bri":128,"transition":20,"mainseg":0,"seg":[{"id":0,"start":0,"stop":888,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[0,0,0,214],[0,0,0,0],[0,0,0,0]],"fx":0,"sx":128,"ix":128,"pal":0,"c1":128,"c2":128,"c3":16,"sel":true,"rev":false,"mi":false,"o1":false,"o2":false,"o3":false,"si":0,"m12":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0},{"stop":0}]}

@blazoncek
Copy link
Collaborator

Change the color in off effect to black ("col":[[0,0,0,0],...]).

@BrickSolid28
Copy link
Author

That worked. Thanks!
The only other thing I’ve noticed is that it’s very jittery as it’s ramping up/down but still at very low light levels. I’d love to stretch the fade on/off to be longer but the jittering gets more noticeable the longer the fade is. Would adjusting the gamma help with this? Maybe there’s another setting?

@DedeHai
Copy link
Collaborator

DedeHai commented Jan 7, 2025

Would adjusting the gamma help with this? Maybe there’s another setting?

try to disable gamma correction completely and see if it changes anything. digital LEDs are "only" 8bit resolution, at low brightness, that means not a lot of brightness steps. also try manually stepping brightness at lowest levels (use browser) to see the resolution.

@BrickSolid28
Copy link
Author

BrickSolid28 commented Jan 8, 2025

I tried lots of different gamma settings but it didn’t help. I decided to keep gamma brightness off. I turned up the brightness set point for the preset so there are more brightness steps and that did help smooth out the transition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants