Variable for Name Node LED

I am trying to set a variable to the Name of my dashboard led node with Name {{label}}.
I alsow tryed {{msg.label}},but it is always empty. is ther no possibility to set a variable name?

        "id": "a61334fb86fdbd70",
        "type": "mqtt in",
        "z": "a401e22c6c2778f7",
        "g": "f15b9f63e407451c",
        "name": "Temp F200A",
        "topic": "N/123456789/temperature/25/Temperature",
        "qos": "1",
        "datatype": "auto-detect",
        "broker": "f193dd3cb4443e8b",
        "nl": false,
        "rap": true,
        "rh": 0,
        "inputs": 0,
        "x": 310,
        "y": 800,
        "wires": [
        "id": "f193dd3cb4443e8b",
        "type": "mqtt-broker",
        "name": "Victron",
        "broker": "",
        "port": "1883",
        "clientid": "",
        "autoConnect": true,
        "usetls": false,
        "protocolVersion": "4",
        "keepalive": "60",
        "cleansession": true,
        "birthTopic": "",
        "birthQos": "0",
        "birthPayload": "",
        "birthMsg": {},
        "closeTopic": "",
        "closeQos": "0",
        "closePayload": "",
        "closeMsg": {},
        "willTopic": "",
        "willQos": "0",
        "willPayload": "",
        "willMsg": {},
        "userProps": "",
        "sessionExpiry": ""

What you have posted is just an Mqtt-in node, not a complete flow.

But to address your question, it was raised in Github 2 years ago but not implemented.

Indeed, the maintainer of this node has implied that they are no longer developing it.

it's been a while since I've worked on this project and I'm not sure the next time I will. If anyone else with a good track record of open source maintenance and community fostering would like to take it over I'd be happy to transfer the management!

Perhaps you should consider migrating to Dashboard 2, which I think has it's own LED widget.

Yes indeed, see here.
The repo is maintained by FlowFuse, but it is not included in the basic set of Dashboard 2 ui nodes.
So you need to install it separately...

Are you trying to set the node name, which is shown in the editor, or the label, which is shown in the dashboard?

I am trying to show it on the dashboard

Then you need to put {{msg.label}} in the label field not the name field, and feed in the property msg.label containing the text you wish to display.

p.s what version of ui-led are you using, as I see a different layout to you. (0.4.11). It may be a browser issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.