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 power ON WLED load preset #0 first, and not the configured one #3240

Closed
1 task done
Egor-Li opened this issue Jun 9, 2023 · 4 comments
Closed
1 task done

On power ON WLED load preset #0 first, and not the configured one #3240

Egor-Li opened this issue Jun 9, 2023 · 4 comments
Labels

Comments

@Egor-Li
Copy link

Egor-Li commented Jun 9, 2023

What happened?

Hello,
I have a quinled-dig-uno board with WLED flashed. My LED strip is W2815. The WLED is configured to load preset #1 at startup, which is set to white color.
When the controller receives power, it first lights up red for half a second, and only then loads preset #1, which is white.
Here's a slowmo recording: https://www.youtube.com/shorts/rgeKIuFiTtA
The issue seems that there is a delay in reading set default preset. WLED loads and immediately applies the default preset #0, then reads from the config that the default preset should be #1 - then applies the #1 preset.

To Reproduce Bug

Set the startup preset to anything but #0 and different color and apply power to the controller with WLED. Before running the desired preset, it will flash red.

Expected Behavior

Launch the correct configured preset, without reading preset #0 first.

Install Method

Binary from WLED.me

What version of WLED?

0.14.0-b1

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Egor-Li Egor-Li added the bug label Jun 9, 2023
@blazoncek
Copy link
Collaborator

Already fixed.
Duplicate of #3219

@Egor-Li
Copy link
Author

Egor-Li commented Jun 10, 2023

Not fixed on my end, unfortunatelly.
I have two quinled dig uno controllers. On one of them I saved the preset without brightness, and also turned off LED power on on power reset. Now it doesn't exhibit this behaviour. Even though LED ON on power reset is disabled, the LED strip still lights up when power is enabled, which is weird. But it works - so I'm not fiddling with it.
My second unit with the same firmware responds a bit more expectedly - if LED on on power reset is OFF, the LEDs do not light up when power is reset. However, saving the preset without brightness settings doesn't fix the issue as with the first strip - the color is still flickering on power reset.

Also, I think my issue is misunderstood. I'm fine with LEDs turning on when power is applied to the controller. I'm not fine, however, that before loading the configured preset - say preset #1 with blue color, upon startup the controller will first load preset #0 with red color, and then switch to the configured preset, as shown in the video I have added.

@blazoncek
Copy link
Collaborator

There is no preset 0.
Update to latest nightly build of WLED where the bug is fixed.

@Egor-Li
Copy link
Author

Egor-Li commented Jun 10, 2023

There is no preset 0. Update to latest nightly build of WLED where the bug is fixed.

Oh, that was an oversight on my end. The latest beta version in releases is 0.14.0-b1. Somehow found a 0.14.0-b2 through google - indeed the issue is fixed. Thank you!

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

2 participants