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 love WLED ever since i discovered it and have built 10+ LED instances in the meantime.
For different reasons I did some individual PIN assignments and now have the issue when updating my WLED instances to remember which LED-Pin I used for the specific device. :)
Would it be possible (and hopefully also helpful for others) to show the PIN assignment (LED/DATA/BUTTON) in the info-page?
Cheers,
Flo
Reacted by Steven Smethurst, Henry Gabryjelski and pille
I believe it's a good idea as well! Soon the pins will be runtime definable though and we'll only need a single build for esp8266 and esp32 respectively! For now it is indeed accessable in the API /json/info, where you can find "pin":[2]. Only does the LED pin though, in case of 2-wire LEDs it will not work and it doesn't indicate the button pin. So still lots to be improved :)
Reacted by ElwoodSC, Henry Gabryjelski, Shawn A and pille
How would this work? I am looking into it, and NPB methods and the wrapper are compile time, so pin assignments would have to be locked to the method, or compilation would have to include multiple methods.
Activity
huggy-d1 commentedon Sep 25, 2020
I really like this suggestion. Or at least having it available from a json or http api request.
Aircoookie commentedon Sep 27, 2020
I believe it's a good idea as well! Soon the pins will be runtime definable though and we'll only need a single build for esp8266 and esp32 respectively! For now it is indeed accessable in the API
/json/info, where you can find"pin":[2]. Only does the LED pin though, in case of 2-wire LEDs it will not work and it doesn't indicate the button pin. So still lots to be improved :)tablatronix commentedon Oct 8, 2020
How would this work? I am looking into it, and NPB methods and the wrapper are compile time, so pin assignments would have to be locked to the method, or compilation would have to include multiple methods.
blazoncek commentedon Jul 25, 2022
Runtime pin (GPIO) assignment is possible since 0.12 and is stored in config file which is retained during OTA updates.
Closing.