#5200·WLED

Glitch when starting playlist after "on":false state

Author: lookasekCreated Dec 16, 2025Updated Sep 17, 2026
Labelsbugneeds investigation

What happened?

When starting the playlist (preset 5: Turn on) while the controller is in the "on": false state, the LEDs glitch for a brief moment. The behavior occurs regardless of whether the playlist is started via the physical button (preset 7: Power), app, or web UI. The flash is visible before the transition into the playlist's first effect begins. The playlist works correctly.

To Reproduce Bug

  1. Use WLED version: 15.3.
  2. Prepare the following set of presets and playlists: Presets JSON:
{"0":{},
"1":{"mainseg":0,"on":true,"bri":false,"transition":25,"tb":0,"seg":[{"id":0,"fx":6,"sx":240,"ix":128,"sel":true}],"n":"Sweep on"},
"2":{"mainseg":0,"on":true,"bri":false,"tb":1600,"seg":[{"id":0,"fx":6,"sx":240,"ix":128,"sel":true}],"n":"Sweep off"},
"3":{"mainseg":0,"on":true,"bri":false,"seg":[{"id":0,"fx":0,"sx":128,"ix":128,"sel":true}],"n":"Solid"},
"4":{"mainseg":0,"on":false,"bri":false,"seg":[{"id":0,"fx":0,"sx":128,"ix":128,"sel":true}],"n":"Off"},
"5":{"playlist":{"ps":[1],"dur":[15],"transition":[0],"repeat":1,"end":3,"r":0},"on":true,"n":"Turn on"},
"6":{"playlist":{"ps":[2],"dur":[14],"transition":[0],"repeat":1,"end":4,"r":0},"on":true,"n":"Turn off"},
"7":{"ps":"5~6~","n":"Power"}}
  1. Set the current preset to 4 ("Off", i.e. {"on":false})
  2. Start preset 7 ("Power", i.e. playlist 5/6).
  3. Observe a brief LED flash just before the playlist "Turn on" starts.

Expected Behavior

When starting a playlist while "on": false, the LEDs should remain off until the smooth transition begins. There should be no flash or sudden burst of light.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.15.3

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

bash

Anything else?

Tested on Gledopto GL-C-016WL-D with WS2811 FCOB CCT led strip.

I also tested with the following preset set:

{"0":{},
"1":{"mainseg":0,"on":true,"bri":false,"transition":25,"tb":0,"seg":[{"id":0,"fx":6,"sx":240,"ix":128,"sel":true}],"n":"Sweep on"},
"2":{"mainseg":0,"on":true,"bri":false,"tb":1600,"seg":[{"id":0,"fx":6,"sx":240,"ix":128,"sel":true}],"n":"Sweep off"},
"3":{"mainseg":0,"on":true,"bri":false,"transition":15,"seg":[{"id":0,"fx":0,"sx":128,"ix":128,"sel":true}],"n":"Solid"},
"4":{"mainseg":0,"on":false,"bri":false,"n":"Off"},
"5":{"mainseg":0,"on":true,"bri":false,"transition":15,"seg":[{"id":0,"fx":0,"sx":128,"ix":128,"sel":true}],"n":"Solid"},
"6":{"playlist":{"ps":[2],"dur":[14],"transition":[0],"repeat":1,"end":4,"r":0},"on":true,"n":"Turn off"},
"7":{"ps":"5~6~","n":"Power"}}

Transitioning from preset 4 ("Off") to preset 5 works without any glitches.

Code of Conduct

  • I agree to follow this project's Code of Conduct