You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Technically not a bug as the maximum number of (non virtual) buses is (intentionally) limited to 4 on ESP8266.
It would be sensible to increase that number to 5 to accommodate 5 individual PWM outputs.
How? After I add the 6th output, the '+' button to add more outputs no longer appears.
I.e. after the 5th one I can still add one more by using the '+' button:
@marcone workings of PWM output is beyond this change.
As for it @DedeHai or @willmmiles may know more why 5th PWM output wouldn't work on ESP8266. In any case IMO that would be of very low priority to fix.
The 5th output also doesn't work if I make it on/off instead of PWM.
You might want to compile with WLED_DEBUG flag and post the output when you hit save in the LED settings page.
I'm unable to test myself due to not having esp8266 devices (all our environments are esp32 based) but I can probably guide you through the process of finding the issue since I went through it for esp32 to fix 10+ outputs.
For what it's worth, I compiled main branch WLED with WLED_MAX_BUSSES=5, and that both lets me save 5 outputs, and all 5 of them work.
When I have time I'll try @blazoncek's unified-blend branch and see why that 5th output wasn't working for me there.
Activity
blazoncek commentedon Mar 20, 2025
Technically not a bug as the maximum number of (non virtual) buses is (intentionally) limited to 4 on ESP8266.
It would be sensible to increase that number to 5 to accommodate 5 individual PWM outputs.
marcone commentedon Mar 20, 2025
It's still a UI bug. The UI lets me specify 6 LED outputs (the '+' disappears after adding 6 outputs), but only saves 4.
blazoncek commentedon Mar 20, 2025
It will allow you to specify up to 36 outputs.
marcone commentedon Mar 20, 2025
How? After I add the 6th output, the '+' button to add more outputs no longer appears.
I.e. after the 5th one I can still add one more by using the '+' button:
but after the 6th one there's no more '+' button:
blazoncek commentedon Mar 20, 2025
Sorry. In 0.16
blazoncek commentedon Mar 22, 2025
@marcone please test this.
Select appropriate environment and use artefacts from there.
blazoncek commentedon Mar 22, 2025
@PaoloTK you are also invited to check if it breaks any of your environments.
marcone commentedon Mar 22, 2025
That lets me save 5 LED outputs now, but the 5th one doesn't actually work.
blazoncek commentedon Mar 22, 2025
@marcone workings of PWM output is beyond this change.
As for it @DedeHai or @willmmiles may know more why 5th PWM output wouldn't work on ESP8266. In any case IMO that would be of very low priority to fix.
marcone commentedon Mar 22, 2025
The 5th output also doesn't work if I make it on/off instead of PWM.
PaoloTK commentedon Mar 24, 2025
You might want to compile with WLED_DEBUG flag and post the output when you hit save in the LED settings page.
I'm unable to test myself due to not having esp8266 devices (all our environments are esp32 based) but I can probably guide you through the process of finding the issue since I went through it for esp32 to fix 10+ outputs.
marcone commentedon Mar 26, 2025
For what it's worth, I compiled main branch WLED with WLED_MAX_BUSSES=5, and that both lets me save 5 outputs, and all 5 of them work.
When I have time I'll try @blazoncek's unified-blend branch and see why that 5th output wasn't working for me there.