Skip to content

Add PIN assignment to Info-Page #1206

Closed

Description

@ElwoodSC

Hi,

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

Activity

  1. huggy-d1 commented on Sep 25, 2020

    @huggy-d1
    Contributor

    I really like this suggestion. Or at least having it available from a json or http api request.

  2. Aircoookie commented on Sep 27, 2020

    @Aircoookie
    Member

    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 :)

  3. tablatronix commented on Oct 8, 2020

    @tablatronix

    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.

  4. blazoncek commented on Jul 25, 2022

    @blazoncek
    Contributor

    Runtime pin (GPIO) assignment is possible since 0.12 and is stored in config file which is retained during OTA updates.
    Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions