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

Access widget's label #1562

Closed
Nama opened this issue Dec 25, 2024 · 3 comments
Closed

Access widget's label #1562

Nama opened this issue Dec 25, 2024 · 3 comments
Labels
feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do

Comments

@Nama
Copy link

Nama commented Dec 25, 2024

Description

I'd like to access the set label of the widget, to avoid having another node for every single widget to decide what to do. The label is mostly enough of information to know what to do next.

I tried some things, also to use the msg.topic of the widget, but thats just not set and not even documented.

Thank you for everything, amazing project!

current

image

my wish

image

Have you provided an initial effort estimate for this issue?

I can not provide an initial effort estimate

@Nama Nama added feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do labels Dec 25, 2024
@colinl
Copy link
Contributor

colinl commented Dec 25, 2024

Set the topic in the switch node like this
image

Result when switch clicked
image

@Nama
Copy link
Author

Nama commented Dec 25, 2024

oh, that makes sense, thank you!

@Nama Nama closed this as completed Dec 25, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Dashboard Backlog Dec 25, 2024
@colinl
Copy link
Contributor

colinl commented Dec 25, 2024

For the future, how-to questions are probably better asked on the node-red forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request that needs to be turned into Epic/Story details needs-triage Needs looking at to decide what to do
Projects
Status: Done
Development

No branches or pull requests

2 participants