Skip to content

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

Closed

Description

@cryptk

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

Activity

  1. 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[/+] on Dec 16, 2024
  2. Pimentoso commented on Dec 19, 2024

    @Pimentoso

    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

  3. megachammer commented on Dec 19, 2024

    @megachammer

    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.

  4. cryptk commented on Dec 23, 2024

    @cryptk
    Author

    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

    I'll give that a try tomorrow and do some testing

  5. blazoncek commented on Dec 23, 2024

    @blazoncek
    Contributor

    Do you use ledmaps?

  6. cryptk commented on Dec 23, 2024

    @cryptk
    Author

    Do you use ledmaps?

    No, it's just a simple string of 50 RGB LEDs that I lay out for Christmas and Halloween. It's running a playlist with a few effects in it and I have only noticed the issue when I turn it off with the dissolve effect active.

    The only adjustments I have made to any of the effects are color, speed and intensity.

  7. added
    confirmed
    on Dec 25, 2024
  8. blazoncek commented on Dec 25, 2024

    @blazoncek
    Contributor

    Only happens on ESP8266 and it is even more pronounced if you set transition time to 0.

  9. blazoncek commented on Dec 25, 2024

    @blazoncek
    Contributor

    Found the issue: Not all pixels are updated during strip.service() call and hence some will not obey strip.setBrightness() call.

  10. added a commit that references this issue on Dec 25, 2024
  11. blazoncek commented on Dec 28, 2024

    @blazoncek
    Contributor

    This issue is present on all effects that do not update every pixel on each strip.service() call.
    Some will behave better than others, though.

  12. added a commit that references this issue on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions