Skip to content

Can't save more than 4 outputs #4603

Open
@marcone

Description

@marcone

What happened?

I'm using a Wemos D1 Mini, ESP8266. According to the knowledge base WLED supports "Up to 3 LED outputs per ESP8266 instance", but I found I can actually define 4 (they're all PWM, so perhaps the limit of 3 applies to some other type?).
However, I cannot define more than 4. When I add a 5th output it lets me set its type, GPIO and other attributes, but it doesn't save it. There's no error message or any other indicator as to why it isn't saving it, it just doesn't.

At first I thought it might be because the number of PWM outputs is limited. The technical reference isn't entirely clear on the matter, alternately talking about 4, 5, 8 and 16 PWM channels being supported. Even when I define the 5th one as a simple on/off non-PWM output though, wled still doesn't save it.
Basically, I can specify 4 outputs using any of the 5 available GPIOs (4, 5, 12, 13 and 14), but I can't use all 5.

To Reproduce Bug

Add 4 "PWM White" outputs, choosing 4 GPIOs from (4, 5, 12, 13, 14).
Click the "Save" button, then click "LED Preferences" again. You should see the 4 previously defined outputs.
Add a 5th output using the remaining GPIO.
Click the "Save" button.
Click "LED Preferences" again and note that the 5th output was not saved.

Expected Behavior

Either it should save the 5th output, or tell me why it didn't.

Install Method

Binary from WLED.me

What version of WLED?

WLED 0.15.0 (build 2412100)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions