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
{{ message }}
Repository navigation
When selecting LED GPIO the grayed options can be locked as the "-" button is clicked. #5772
If I select a GPIO on number 2 section of LED outputs and then click the "-" button the GPIO will continue to be locked in the drop down for the first section. When the "+" button is click it reverts to "unused" but the number initially set is still grayed and thus locked.
To Reproduce Bug
^
Expected Behavior
GPIO becomes available to select again after clicking "-".
Install Method
Self-Compiled
What version of WLED?
WLED 17.0.0-devV5 (2607201)
Which microcontroller/board are you seeing the problem on?
I would port the GPIO-related changes in wled00/data/settings_leds.htm rather than cherry-pick the full PR:
Add formOwner() and freePin(), and release the old pin in pinUpd().
Release pins before removing an LED output or button, then rebuild the dropdowns.
Update off() so clearing a button, IR, or relay pin also releases it.
The backport should check virtual outputs and HUB75 fields carefully, so numeric values that are not GPIOs do not release unrelated pins. It should also test that reserved and other occupied pins remain unavailable.
This assessment is based on source comparison. I did not run a browser or hardware test.
Learnings used
Learnt from: softhack007
Repo: wled/WLED PR: 0
File: :0-0
Timestamp: 2026-10-03T14:59:43.661Z
Learning: In wled/WLED, softhack007 prefers contributors to answer maintainer questions directly with short explanations in their own words, even if the explanations are technically imprecise or the English is imperfect. Contributors should state uncertainty and actual test results rather than relay unverified AI-generated technical answers. AI may assist with translation or wording, but should not manufacture explanations that shift fact-checking and AI-session supervision onto maintainers.
Activity
UsableLoki8221 commentedon Aug 5, 2026
I believe this issue can be expanded when a button is added/removed as well.
DedeHai commentedon Aug 6, 2026
known issue, I fixed this already in #5704 but may be worth backporting to 16.x so I'll keep this open as a reminder.
softhack007 commentedon Dec 2, 2026
@DedeHai do you still plan to backport the settings page fix to 16.1 ?
DedeHai commentedon Dec 3, 2026
@coderabbitai since upstream has a lot of changes to the LED settings page, can the fix still be backported to 16_x?
coderabbitai commentedon Dec 3, 2026
Analysis chain
Script executed:
Length of output: 11817
Script executed:
Length of output: 54432
Script executed:
Length of output: 32346
@DedeHaiYes. A selective backport looks feasible; the Pixel Bus driver changes are not needed.On
16_x,addLEDs()removes the output row without releasing its cached GPIOs. The branch has the same dropdown and pin-cache structures used by the fix in#5704.I would port the GPIO-related changes in
wled00/data/settings_leds.htmrather than cherry-pick the full PR:formOwner()andfreePin(), and release the old pin inpinUpd().off()so clearing a button, IR, or relay pin also releases it.The backport should check virtual outputs and HUB75 fields carefully, so numeric values that are not GPIOs do not release unrelated pins. It should also test that reserved and other occupied pins remain unavailable.
This assessment is based on source comparison. I did not run a browser or hardware test.
Learnings used
You are interacting with an AI system.