Skip to content

Default Bus settings not loaded if settings fail #4882

Closed as not planned
Closed as not planned

Description

@DedeHai

What happened?

When setting number of leds too high on ESP8266 (and probably any ESP) the bus does not get created and all busses get removed.
This happens in finalizeInit(): in the past i.e. 0.15, if allocation failed, the defaults were loaded, this is no longer the case.

To Reproduce Bug

add a LED output that exceeds the RAM limit.

Expected Behavior

Question is: do we want this behaviour or should it be as it was.

Install Method

Self-Compiled

What version of WLED?

nightly

Which microcontroller/board are you seeing the problem on?

ESP8266

Relevant log/trace output

Anything else?

No response

Code of Conduct

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

Activity

  1. willmmiles commented on Aug 28, 2025

    @willmmiles
    Member

    #4782 is a related case, where the default settings were invalid, resulting in broken Buses at boot.

    Ideally we should preserve the Bus metadata, so the settings can be seen and changed in the UI, but put the actual Bus instances in some kind of offline/failed state.

  2. github-actions commented on Dec 27, 2025

    @github-actions

    Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
    Thank you for using WLED! ✨

  3. added
    stale
    on Dec 27, 2025
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

    bugstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions