# Led not working

**URL:** <https://discourse.nodered.org/t/led-not-working/79065>\
**Category:** Industrial\
**Created:** [8 June 2023 18:14 UTC](https://discourse.nodered.org/t/led-not-working/79065 "2023-06-08T18:14:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [8 June 2023 18:14 UTC](https://discourse.nodered.org/t/led-not-working/79065/1 "2023-06-08T18:14:56Z")

</div>

I am using External signal to the plc input to shoe the pump on off status in node red dashboard. But my led not showing in dashboard. What's the problem can somebody tell please..

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [8 June 2023 18:55 UTC](https://discourse.nodered.org/t/led-not-working/79065/2 "2023-06-08T18:55:07Z")

</div>

Perhaps you have it on the wrong dashboard tab?

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [8 June 2023 19:03 UTC](https://discourse.nodered.org/t/led-not-working/79065/3 "2023-06-08T19:03:26Z")

</div>

No sir, dashboard ok.. I have 2 other..its ok.. But having problem in led.. I make total 3 group.. This led not showing..

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [8 June 2023 19:10 UTC](https://discourse.nodered.org/t/led-not-working/79065/4 "2023-06-08T19:10:16Z")

</div>

There is no LED in the nodes installed with node-red-dashboard so can you please confirm  
What dashboard have you installed?  
What LED contrib node are you using?

A screencapture of the dashboard showing the nodes which do work would be useful, also an export of the LED node and the nodes which connect to it.

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 04:51 UTC](https://discourse.nodered.org/t/led-not-working/79065/5 "2023-06-09T04:51:00Z")

</div>

![Screenshot 2023-06-08 214639](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/b/db93fbaad37a657a21eab93cbed2f2004a91c1df.png)  
 ![Screenshot 2023-06-08 214609](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/c/6c16f5fc4247ffbf0f9d66218374aed82d6b4f35.png)  
Check please  
 ![Screenshot 2023-06-08 215224](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/f/ef8aab62278162152f52b8b584fe902613fa63c4.png)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [9 June 2023 05:02 UTC](https://discourse.nodered.org/t/led-not-working/79065/6 "2023-06-09T05:02:59Z")

</div>

Confirm what message you are sending into the LED node.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [9 June 2023 05:15 UTC](https://discourse.nodered.org/t/led-not-working/79065/7 "2023-06-09T05:15:23Z")

</div>

Is there a reason why you are using dashboard-evi rather than the "official" dashboard nodes node-red-dashboard?

The github pages for dashboard-evi seem to have disappeared, not a good sign.

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 05:26 UTC](https://discourse.nodered.org/t/led-not-working/79065/8 "2023-06-09T05:26:39Z")

</div>

![Screenshot 2023-06-08 222530](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/6/469c7836fef3f8a816aa1a61f1ed64bf27b8e100.png)  
this is one but i have more 14 motor to show status..

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 05:27 UTC](https://discourse.nodered.org/t/led-not-working/79065/9 "2023-06-09T05:27:50Z")

</div>

sir can you tell me which one is the official

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [9 June 2023 05:28 UTC](https://discourse.nodered.org/t/led-not-working/79065/10 "2023-06-09T05:28:36Z")

</div>

I am not an expert:

That doesn't look _right_.

Why are you _complicating_ things?

Out of nothing but curiosity:

What are the other payloads you send into the other (working) LED nodes?

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 05:30 UTC](https://discourse.nodered.org/t/led-not-working/79065/11 "2023-06-09T05:30:12Z")

</div>

same.. we have 15 motors to show status in deshboard. it was trial.. but led not showing

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 05:30 UTC](https://discourse.nodered.org/t/led-not-working/79065/12 "2023-06-09T05:30:53Z")

</div>

which one is the official sir..

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [9 June 2023 05:35 UTC](https://discourse.nodered.org/t/led-not-working/79065/13 "2023-06-09T05:35:24Z")

</div>

(You should post the actual code and not cropped screen shots - it makes it easier for all)

So you are saying you have a `function` node with:

```auto
var msg0 = {payload:msg.payload[0]};
return [msg0];

```

So `msg.payload[0]` is the important part - yes?

Again: I am not an expert, but that looks structurally bad. (wrong)  
But that's only what I think and if you say it works elsewhere.... Who am I to say otherwise?

Have you CONFIRMED (via a `debug` node) what is being SENT?  
(NOT what you THINK is being sent)

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 05:42 UTC](https://discourse.nodered.org/t/led-not-working/79065/14 "2023-06-09T05:42:35Z")

</div>

![Screenshot 2023-06-08 224152](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/2/4274889ab2bf063792047e9da63444890134fd8f.png)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [9 June 2023 05:55 UTC](https://discourse.nodered.org/t/led-not-working/79065/15 "2023-06-09T05:55:05Z")

</div>

That doesn't show me the output of the `debug` node so doesn't _prove_ anything.

And - thinking about it - are you SURE the LED node is configured correctly also?

(Oh, the `debug` node will have to show COMPLETE MESSAGE BODY also. Not the default!)

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 06:07 UTC](https://discourse.nodered.org/t/led-not-working/79065/16 "2023-06-09T06:07:18Z")

</div>

can u give me an example writing function node with led.i will understand

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 06:10 UTC](https://discourse.nodered.org/t/led-not-working/79065/17 "2023-06-09T06:10:28Z")

</div>

i will deploy this in my node red.if its working so i will understand what is the problem

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [9 June 2023 06:12 UTC](https://discourse.nodered.org/t/led-not-working/79065/18 "2023-06-09T06:12:00Z")

</div>

How can I when I don't know how you have the `LED node` configured?

Basically you need to show _us_ the payloads (sorry: Complete message) being sent INTO the `LED` node and how that node is configured.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [9 June 2023 06:35 UTC](https://discourse.nodered.org/t/led-not-working/79065/19 "2023-06-09T06:35:07Z")

</div>

The official dashboard is node-red-dashboard

---

<div class="post-metadata">

**Author:** ![Asif128935](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Asif128935](https://discourse.nodered.org/u/Asif128935)\
**Post date:** [9 June 2023 08:07 UTC](https://discourse.nodered.org/t/led-not-working/79065/20 "2023-06-09T08:07:49Z")

</div>

![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/7/d72146d4cb83526b16c08fc1c298b5585bfc8c40.png)  
 ![2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/c/0cdea32cf371931902c28fd27de2c3230c7c4d4b.jpeg)  
after installing latest deshboard its working but why my dashboard not showing here can u tell me sir

[Next page](https://discourse.nodered.org/t/led-not-working/79065.md?page=2)
