Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request]: Accept strings for segment selection #283

Open
fimmezwansch opened this issue Jan 12, 2023 · 1 comment
Open

[Request]: Accept strings for segment selection #283

fimmezwansch opened this issue Jan 12, 2023 · 1 comment
Labels
request New feature or request

Comments

@fimmezwansch
Copy link

fimmezwansch commented Jan 12, 2023

Accept strings for segment selection

For a better overview I renamed the WLED segments in the WLED UI with a speaking name.
WLED connection accepts only numeric entries for the segment selection.
So it would be great, if WLED Connection would accept strings to match the correct segment.

@fimmezwansch fimmezwansch changed the title [Request]: [Request]: Accept strings for segment selection Jan 12, 2023
@deltaflyer4747
Copy link

This might be possible, if JSON API is used to poll for available segment names ( /json/state )

{
...
"seg": [
{
...
"n": "Segment Name",
...

it would take to load this info every time, build a dict containing pairs of id:name and then internally store just that id, so this would be just a visual aid without affecting core functionality... not impossible :)

@cp2004 cp2004 added the request New feature or request label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants