# LED's not showing colours with latest dashboard

**URL:** <https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307>\
**Category:** Dashboard\
**Created:** [17 June 2019 07:37 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307 "2019-06-17T07:37:31Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [17 June 2019 07:37 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/1 "2019-06-17T07:37:31Z")

</div>

I recently asked about buttons/LEDs not updating their colours until the page is refreshed.

I updated the offending machine's dashboard and all was good.

Recently I got interested with colours to use with buttons/LEDs and the name you can use.

I made a dashboard with only LEDs on it to get the names visible and see what they look like.

Originally (on **this** machine) it didn't work, but then I realised that the dashboard wasn't the latest.

I updated it and I thought it worked.

Today I booted the machine and a while later I looked at the page and this is what I saw:

Story with pics:

 ![Screenshot%20from%202019-06-17%2017-28-25](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/ded60ea87ed6cf24587e9a8c77a7942dffc57bfa.png) ![Screenshot%20from%202019-06-17%2017-28-34](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/6/6a051cbf266908993760b26632e5b8334c8e5d62.png) ![Screenshot%20from%202019-06-17%2017-28-41](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/17b94dd09700bad5090d98eaabeb1a0f63827ef7.png) ![Screenshot%20from%202019-06-17%2017-29-29](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/c6c6191896ed29c1ca8f9b36297a06e6987baffa.png)

Am I missing something?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 09:25 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/2 "2019-06-17T09:25:34Z")

</div>

> [@Trying\_to\_learn](#):
>
> Am I missing something?

1. Platform ?
2. os?
3. version of NR and node.js?
4. an small example flow showing 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:** [17 June 2019 09:30 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/3 "2019-06-17T09:30:13Z")

</div>

Sorry.....

Ubuntu 18.04 LTS  
NR 20.03  
Dashboard 2.15.4  
node: 8.16.0

```auto
me@me-desktop:~/.node-red$ node -v
v8.16.0
me@me-desktop:~/.node-red$

```

The flow is an inject node injecting `true` to the LEDs.  
The LEDs set to show the colour on receiving `true`

The `inject` node sends an output after boot.

This is just one LED.

(and typically: When I made that and deployed, it worked.)  
But you can see what I saw to raise the question.

```auto
[{"id":"a6d74afa.2448e","type":"inject","z":"94b99c22.d6d97","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":"5","x":160,"y":119,"wires":[["81bfa6.41827858"]]},{"id":"81bfa6.41827858","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Green","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"green","value":"true","valueType":"bool"}],"name":"Green","x":330,"y":120,"wires":[]},{"id":"b8ebdf4.4bee7a","type":"ui_group","z":"","name":"Colour names","tab":"2b6f2eae.e5379a","order":4,"disp":true,"width":"12","collapse":false},{"id":"2b6f2eae.e5379a","type":"ui_tab","z":"","name":"Colour Names","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 09:37 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/4 "2019-06-17T09:37:26Z")

</div>

So your flow works perfectly. When it first starts the color of the led is grey - becasue it hasn't received a value yet. Five seconds later when the inject triggers and sends a `true` the led turns green as it should.

To illustrate this, add another inject node to your little flow and set the inject node to send a string of 'hello world' to the ui\_led. Deploy amd go look at the LED - it should be green. Now press the new inject button and go look at the led - since neithor the `true` or `false` case id true, the led shuts off to grey.

---

<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:** [17 June 2019 09:42 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/5 "2019-06-17T09:42:24Z")

</div>

Ok....

To clarify:

Yes, there is an `inject` node which (after 5 seconds) injects `true` which goes to the `LED`which is set to turn (colour) when `true` is received.

The 'LED` is grey at the start and it **should** turn (colour) after 5 seconds.

Looking at the montage of pictures I originally posted, the machine had been turned on and NR running for hours.

I then went to the page populated with LEDs and they were all grey.

ONLY after I pressed the `inject` button did they change colour.

I put a 5 second gap because I don't trust anything less to really work.  
(Gotta give things time to settle down, etc)

So, I guess I could try to make it ..... 40 seconds, reboot the machine and see what happens.

But I am sure that in the past it has worked.

0.1 seconds is obviously is pushing the friendship with times.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 09:50 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/6 "2019-06-17T09:50:29Z")

</div>

If the small case (one led) works and the large case (many less) doesn't then I'd need to see the flow of the large case.

---

<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:** [17 June 2019 09:54 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/7 "2019-06-17T09:54:58Z")

</div>

As requested.

Full flow/tab.

```auto
[{"id":"94b99c22.d6d97","type":"tab","label":"Colour Names","disabled":false,"info":""},{"id":"27ad72bd.f4e7ae","type":"inject","z":"94b99c22.d6d97","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":"5","x":90,"y":200,"wires":[["cc3e8ea8.33588"]]},{"id":"e57189a8.6349d","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Cyan","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"cyan","value":"true","valueType":"bool"}],"name":"Cyan","x":420,"y":230,"wires":[]},{"id":"34051b0a.7f8fe4","type":"inject","z":"94b99c22.d6d97","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":240,"wires":[["cc3e8ea8.33588"]]},{"id":"a0252c2d.bc43c","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Blue","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"blue","value":"true","valueType":"bool"}],"name":"Blue","x":420,"y":190,"wires":[]},{"id":"549d0b8a.188324","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Magenta","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"magenta","value":"true","valueType":"bool"}],"name":"Magenta","x":430,"y":270,"wires":[]},{"id":"74e6593f.590cb8","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Yellow","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"yellow","value":"true","valueType":"bool"}],"name":"Yellow","x":420,"y":310,"wires":[]},{"id":"4a5dbc9e.9a901c","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Green","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"green","value":"true","valueType":"bool"}],"name":"Green","x":420,"y":150,"wires":[]},{"id":"76fb5449.3d8ba4","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Lime","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"lime","value":"true","valueType":"bool"}],"name":"Lime","x":420,"y":350,"wires":[]},{"id":"b8a5fcd9.5e5f5","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Brown","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"brown","value":"true","valueType":"bool"}],"name":"Brown","x":420,"y":390,"wires":[]},{"id":"6de7b89f.ea9c28","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Purple","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"purple","value":"true","valueType":"bool"}],"name":"Purple","x":420,"y":430,"wires":[]},{"id":"2c693d65.53ea9a","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Violet","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"violet","value":"true","valueType":"bool"}],"name":"Violet","x":420,"y":470,"wires":[]},{"id":"49ff8d1f.0003c4","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Maroon","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"maroon","value":"true","valueType":"bool"}],"name":"Maroon","x":750,"y":150,"wires":[]},{"id":"cc3e8ea8.33588","type":"link out","z":"94b99c22.d6d97","name":"","links":["11e1c2ac.41738d","574143b1.860354","6f0f85b8.1de5ac"],"x":225,"y":240,"wires":[]},{"id":"11e1c2ac.41738d","type":"link in","z":"94b99c22.d6d97","name":"","links":["cc3e8ea8.33588"],"x":555,"y":180,"wires":[["49ff8d1f.0003c4","ebe5e4b5.02a6e","a02ab43c.fdcd4","979336aa.7802b8","2cd66cae.817e94","69340af7.ccb9ac","96ac61bb.7f538","a79a5578.72a28","379fbe53.f2d61a"]]},{"id":"ebe5e4b5.02a6e","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Olive","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"olive","value":"true","valueType":"bool"}],"name":"Olive","x":740,"y":190,"wires":[]},{"id":"a02ab43c.fdcd4","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Fuchsia","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"fuchsia","value":"true","valueType":"bool"}],"name":"Fuchsia","x":750,"y":230,"wires":[]},{"id":"979336aa.7802b8","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Teal","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"teal","value":"true","valueType":"bool"}],"name":"Teal","x":740,"y":270,"wires":[]},{"id":"2cd66cae.817e94","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Aqua","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"aqua","value":"true","valueType":"bool"}],"name":"Aqua","x":740,"y":310,"wires":[]},{"id":"69340af7.ccb9ac","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Navy","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"navy","value":"true","valueType":"bool"}],"name":"Navy","x":740,"y":350,"wires":[]},{"id":"96ac61bb.7f538","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Pink","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"pink","value":"true","valueType":"bool"}],"name":"Pink","x":740,"y":390,"wires":[]},{"id":"a79a5578.72a28","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Orange Red","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"orangered","value":"true","valueType":"bool"}],"name":"Orange Red","x":760,"y":430,"wires":[]},{"id":"379fbe53.f2d61a","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Gold","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"gold","value":"true","valueType":"bool"}],"name":"Gold","x":740,"y":470,"wires":[]},{"id":"574143b1.860354","type":"link in","z":"94b99c22.d6d97","name":"","links":["cc3e8ea8.33588"],"x":215,"y":580,"wires":[["b80a623.9afb5a","a6a777f8.abec98","55d2e5fd.fc058c","b338ed49.2a5d48","e3971d93.0d8c68","3b45117.2837dee","e2b460ac.849e58","64d7910a.f0fa38"]]},{"id":"b80a623.9afb5a","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Sienna","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"sienna","value":"true","valueType":"bool"}],"name":"Sienna","x":430,"y":530,"wires":[]},{"id":"a6a777f8.abec98","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"SpringGreen","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"springgreen","value":"true","valueType":"bool"}],"name":"Spring Green","x":450,"y":570,"wires":[]},{"id":"55d2e5fd.fc058c","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"LimeGreen","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"limegreen","value":"true","valueType":"bool"}],"name":"Lime Green","x":440,"y":610,"wires":[]},{"id":"b338ed49.2a5d48","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"DarkGreen","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"darkgreen","value":"true","valueType":"bool"}],"name":"Dark Green","x":440,"y":650,"wires":[]},{"id":"e3971d93.0d8c68","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Coral","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"coral","value":"true","valueType":"bool"}],"name":"Coral","x":420,"y":690,"wires":[]},{"id":"3b45117.2837dee","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Hot Pink","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"hotpink","value":"true","valueType":"bool"}],"name":"Hot Pink","x":430,"y":730,"wires":[]},{"id":"e2b460ac.849e58","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Dark Red","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"darkred","value":"true","valueType":"bool"}],"name":"Dark Red","x":430,"y":770,"wires":[]},{"id":"64d7910a.f0fa38","type":"ui_led","z":"94b99c22.d6d97","group":"b8ebdf4.4bee7a","order":9,"width":"3","height":"1","label":"Fire Brick","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"firebrick","value":"true","valueType":"bool"}],"name":"Fire Brick","x":430,"y":810,"wires":[]},{"id":"6f0f85b8.1de5ac","type":"link in","z":"94b99c22.d6d97","name":"","links":["cc3e8ea8.33588"],"x":235,"y":300,"wires":[["4a5dbc9e.9a901c","a0252c2d.bc43c","e57189a8.6349d","549d0b8a.188324","74e6593f.590cb8","76fb5449.3d8ba4","b8a5fcd9.5e5f5","6de7b89f.ea9c28","2c693d65.53ea9a"]]},{"id":"b8ebdf4.4bee7a","type":"ui_group","z":"","name":"Colour names","tab":"2b6f2eae.e5379a","order":4,"disp":true,"width":"12","collapse":false},{"id":"2b6f2eae.e5379a","type":"ui_tab","z":"","name":"Colour Names","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 10:54 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/8 "2019-06-17T10:54:22Z")

</div>

As soon as I deploy this latest flow, all the leds are lit. This is on a Mac and I'll try in on a Pi in a bit.

---

<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:** [17 June 2019 10:59 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/9 "2019-06-17T10:59:06Z")

</div>

I can't dispute what you say. I just mentioned that on my Ubuntu NUC I had it powered up for _yonks_, doing other things.

I wanted to check a colour so I have that _page_ set up so I can see what they look like.

I went there and just got the grey screen.

I pressed the refresh and they all lit.

One thing I shall say - though not really important:  
**originally** when I did it, the screen was grey.  
\*^&@!  
Then I realised (Sorry...... **remembered** ) that this machine wasn't up to date with the dashboard.  
I checked the version and it was a couple behind the latest. I think **just enough** to miss out on the recent problem I found with buttons not keeping their colour.

So I updated the `dashboard` and it worked. So I never thought anything else about it.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 12:44 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/11 "2019-06-17T12:44:40Z")

</div>

so are you saying this is no longer a 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:** [17 June 2019 12:52 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/12 "2019-06-17T12:52:06Z")

</div>

I am saying that **that time** when I went to the page - after a long up time - and looked at the page it wasn't "loaded".

Subsequent tries have not really proven it one way or another.

All tests have been done on this boot session.

Without a full reboot - which just now is not possible as I am updating a machine - I can't say.  
Other than for now it seems to be behaving itself.

**HOWEVER**  
(sorry)  
What I am suspecting is the `inject` node not _playing the game_ of injecting.

While working on the other (many) problems I have (see other posts) I noticed that when I `deployed` flows, things which were supposed to happen at boot weren't.

`inject` nodes with the setting `on start up` were set, but nothing was coming out.

I spent about 30 minutes chasing it and it has - in typical bug fashion - vanished.

So it could be the `inject` node was the real cause and not the dashboard.

That's where it is at at this point in time.

I'm kind of stuck with the update thread just now.

I'll keep you posted on any developments in this area.

---

<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:** [17 June 2019 12:57 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/13 "2019-06-17T12:57:10Z")

</div>

> [@Trying\_to\_learn](#):
>
> Yes, there is an `inject` node which (after 5 seconds) injects `true` which goes to the `LED` which is set to turn (colour) when `true` is received.
> 
> The 'LED` is grey at the start and it **should** turn (colour) after 5 seconds.
> 
> Looking at the montage of pictures I originally posted, the machine had been turned on and NR running for hours.
> 
> I then went to the page populated with LEDs and they were all grey.
> 
> ONLY after I pressed the `inject` button did they change colour.
> 
> I put a 5 second gap because I don't trust anything less to really work.  
> (Gotta give things time to settle down, etc)
> 
> So, I guess I could try to make it ..... 40 seconds, reboot the machine and see what happens.
> 
> But I am sure that in the past it has worked.
> 
> 0.1 seconds is obviously is pushing the friendship with times.

Update:  
That was on NR 0.20.3

I have (since) updated to 0.20.5

Weirdly now when I try the `inject` node to `debug` node and the `at start up` even set to 0.1 it works.

It didn't seem to before.

**maybe** 0.20.3 had/s a problem, and 0.20.5 doesn't.

But that is an update to what I was seeing and am now seeing.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 13:10 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/14 "2019-06-17T13:10:19Z")

</div>

An inject node firing will depend on the deploy level you have set and if you have the `Inject once after __ seconds, then` enabled  
If you have deploy set to:  
`Full` - then`all` inject nodes `Inject once after __ seconds, then` enabled with will fire  
`Modified Flows` - an inject node with `Inject once after __ seconds, then` enabled will only fire if it is connected to a flow that has changed  
`Modified Noes` - an inject node with `Inject once after __ seconds, then` enabled will only fire if it has been changed.

---

<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:** [17 June 2019 13:17 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/15 "2019-06-17T13:17:31Z")

</div>

Yeah, ok. Good point. I know I have my deploy "dialed back" but when testing this, I make sure the `inject` node is also _modified_.

I have just powered up another RPI that has an older version of NR.

It worked.

But.....

Thinking about what you said.  
Fair enough about the different modes for `deploy`.

But where does **booting** come into it?  
That would mean the node is _invoked_.

I had the machine - this one - booted. I was using it.  
NR was loaded. That page was loaded - in the background.  
(you would be amazed how many tabs and windows of FF I have... but anyway.)

I was wanting to pick a good colour.

That page of NR was good to show me the colours.

I clicked on the tab. The colours weren't there.

Maybe FF has another BUG in it too..... Who knows?

I've found a couple in my time without too much effort.

I only posted to ask and check.

Seems it has to be chalked up to the "Dunno" file.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 June 2019 13:46 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/16 "2019-06-17T13:46:59Z")

</div>

have you tried a different browser?

---

<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:** [17 June 2019 13:52 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/17 "2019-06-17T13:52:31Z")

</div>

At this stage, no.

I shall have to keep this in mind.

I am now trying to get my main RPI (NR) machine back online after an update.

---

<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:** [18 June 2019 09:17 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/18 "2019-06-18T09:17:14Z")

</div>

Knock knock.

Got some more observations for you.

I got the NR working on the other machine today so that is now behind me.

Back to this _problem_.

I booted this machine. (Ubuntu NUC with power to spare)  
Loaded browser and the page with the LEDs was in/on a tab.

After a bit of pfaffing around, I went to that page.  
It was blank.

Else where on the tabs is another flow that scans for visible WiFi networks.  
Alas as is, it defaults to ON. Which is annoying with the messages cluttering up the debug window to the right.  
To solve this I put an `inject` node to inject a signal to stop that happening.

Thing is that too doesn't work. It is **not** turned off.

Going to that flow and clicking the `inject` node it then stops.

To further the enquiry to this, I added a bit more to the flow.

The only _cheat_ is the queue node.

It is connected to the `inject` node and so when the machine boots and it injects its signal, it is stored in the queue and I can go and look at it a bit later on.

If it is empty, well, that will help explain what is going on.

I'm not going to reboot to test it, but I am telling you that it seems to be happening **only on boot** rather than _any time_.

I'll get back to you with more information as it comes to hand.  
Sorry I have spent about 1 hour on the phone about my internet dropping out last night and this morning intermitently.

I'm a bit stressed out.

```auto
[{"id":"6777b73e.596508","type":"simple-queue","z":"94b99c22.d6d97","name":"queue1","firstMessageBypass":false,"bypassInterval":"0","x":600,"y":140,"wires":[["95e6e1c9.272ca"]]},{"id":"d96e3c23.5dff8","type":"inject","z":"94b99c22.d6d97","name":"Next","topic":"","payload":"next","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":140,"wires":[["5867c7c.cd3dbb8"]]},{"id":"5867c7c.cd3dbb8","type":"change","z":"94b99c22.d6d97","name":"","rules":[{"t":"set","p":"trigger","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":140,"wires":[["6777b73e.596508"]]},{"id":"fe2f2138.31f11","type":"change","z":"94b99c22.d6d97","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":180,"wires":[["6777b73e.596508"]]},{"id":"b6dbcf5f.f58d","type":"inject","z":"94b99c22.d6d97","name":"Wipe","topic":"","payload":"wipe","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":180,"wires":[["fe2f2138.31f11"]],"icon":"node-red/alert.png"},{"id":"95e6e1c9.272ca","type":"debug","z":"94b99c22.d6d97","name":"LED COLOUR ACTIVATION SIGNAL","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":840,"y":140,"wires":[]},{"id":"6f0f85b8.1de5ac","type":"link in","z":"94b99c22.d6d97","name":"","links":["cc3e8ea8.33588"],"x":345,"y":400,"wires":[["4a5dbc9e.9a901c","a0252c2d.bc43c","e57189a8.6349d","549d0b8a.188324","74e6593f.590cb8","76fb5449.3d8ba4","b8a5fcd9.5e5f5","6de7b89f.ea9c28","2c693d65.53ea9a","6777b73e.596508"]]},{"id":"cc3e8ea8.33588","type":"link out","z":"94b99c22.d6d97","name":"","links":["11e1c2ac.41738d","574143b1.860354","6f0f85b8.1de5ac"],"x":335,"y":340,"wires":[]},{"id":"27ad72bd.f4e7ae","type":"inject","z":"94b99c22.d6d97","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":"5","x":200,"y":300,"wires":[["cc3e8ea8.33588"]]}]

```

---

<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:** [18 June 2019 09:27 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/19 "2019-06-18T09:27:15Z")

</div>

Here is a couple of screen grabs showing what is happening.

Pic 1:  
You see that on `deploy` the `inject` node injects a signal to invoke the `true` to the LEDs.  
That is also sent to the queue node for later looking.

Pic 2:  
This is the WiFi scanner.  
You can see that two messages _sneaked through_ before it was blocked.  
No big. I am not going to fret on that.  
Check times if you like. Highlighted on picture.  
Then, after 'x' seconds the `inject` node blocks the flow of data. Again shown on picture.

So, next time I boot - and remember to look - I will check the queue node as well as the state of the LED colour screen.

I'll get back to you when that next happens.

 ![Screenshot%20from%202019-06-18%2019-18-25](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/bf4fc5e5b1b350f79a1824a6dac269ad334c43d4.png) ![Screenshot%20from%202019-06-18%2019-19-23](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/38a46c66662331e24dc74dd14c45b38312b2bf1d.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 June 2019 09:56 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/20 "2019-06-18T09:56:37Z")

</div>

Have you looked at the LED's using a different browser than Firefox?

---

<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:** [18 June 2019 09:58 UTC](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307/21 "2019-06-18T09:58:21Z")

</div>

Oh, sorry. Shall try to remember to do that too.

So much happening.

Hope you don't mind, but it is a _problem_.

[Next page](https://discourse.nodered.org/t/leds-not-showing-colours-with-latest-dashboard/12307.md?page=2)
