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

Some LEDS stay on after turning off WLED with Dissolve effect in v0.15.0 #4401

Open
1 task done
cryptk opened this issue Dec 16, 2024 · 2 comments
Open
1 task done
Labels

Comments

@cryptk
Copy link

cryptk commented Dec 16, 2024

What happened?

When using the dissolve effect on my esp8266 based Dig-Uno controller, turning off WLED leaves some of the leds running. I am unable to reproduce this on my other controllers, but they are all esp32 based, so either I have a bad esp8266, or a bad dig-uno, or this issue is something specific to the esp8266.

To Reproduce Bug

  1. Use an esp8266 based controller with WLED 0.15.0
  2. Configure a WS281x LED output with 50 LEDs
  3. Use the following preset JSON:
{"on":true,"bri":32,"transition":7,"mainseg":0,"seg":[{"id":0,"start":0,"stop":50,"grp":1,"spc":0,"of":0,"on":true,"frz":false,"bri":255,"cct":127,"set":0,"n":"","col":[[255,0,0],[8,255,0],[0,0,0]],"fx":18,"sx":128,"ix":255,"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}]}
  1. Run the controller with that preset
  2. Press the power button in the top left of the UI
  3. Observe that some of the LEDs stay on (not sure if this happens every time, but it definitely seems to happen more often than not

Expected Behavior

All LEDs should be powered off when the controller is turned off

Install Method

Binary from WLED.me

What version of WLED?

0.15.0

Which microcontroller/board are you seeing the problem on?

ESP8266

Relevant log/trace output

No response

Anything else?

One thing that I have observed is that on my esp32 based controllers, when turning the controller off with the dissolve effect active, the whole strip fades down to being off together. On my esp8266 based controller the behavior is different, it looks like the effects "dissolves to off" if that makes sense.

Rather than the whole strip fading down and turning off, the LEDs turn off one at a time randomly, the same way the dissolve effect would transition from one color to the next, they are just dissolve transitioning to off. It seems like while this is working, the controller just doesn't wait for the "dissolve to off" to complete, so a few LEDs get left on when the controller is fully powered down.

On my strip of 50 LEDs, it's typical for 2-5 LEDs to be left on if it is turned off while the dissolve transition is running.

Ideally, I would think the behavior should be the same between the esp32 and the esp8266, it should do a fade to off rather than a dissolve to off.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cryptk cryptk added the bug label Dec 16, 2024
@cryptk cryptk changed the title Some LEDS stay on after turning off WLED with Dissolve effect Some LEDS stay on after turning off WLED with Dissolve effect in v0.15.0 Dec 16, 2024
@Pimentoso
Copy link

I have solved this by enabling the "Off Refresh" option in LED settings, I'm using a Wemos D1 though (esp8266 based)
However now the blue onboard led doesn't turn off anymore, but that's another issue

@megachammer
Copy link

I have the same issue with both esp8266 and esp32, but I cannot provide a solid way of how to reproduce this. It just happens from time to time with all of my boards.

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