# Node-red-contrib-ui-led not showing on dashboard

**URL:** <https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203>\
**Category:** Dashboard\
**Created:** [2 October 2019 14:23 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203 "2019-10-02T14:23:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![digidax](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@digidax](https://discourse.nodered.org/u/digidax)\
**Post date:** [2 October 2019 14:23 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/1 "2019-10-02T14:23:22Z")

</div>

Hi,  
have placed this LED but it's not displaying on dashboard, not red, green or grey.  
The boolean status changes in debug windows seems ok.

 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/d/d1bb2666f7696fb750a7054965d44e7c086d402e.png)  
But the layout editor shows the group and the led inside:  
 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1255b487e38b92563d26e8926a4975938a86fd8b.png)  
But it's not displayed:  
 ![grafik](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/5/52fd59d97369d7378f7f19f3ecad91653cbaa240.png)

Node red vesion 1.0.0  
node-red-contrib-ui-led 0.3.1  
node-red-dashboard 2.16.3

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [2 October 2019 15:05 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/2 "2019-10-02T15:05:46Z")

</div>

I could not reproduce the issue. Running same version of Node-Red, dashboard an contrib-node.

What is the browser your are using to run the dashboard ? Did you try on another browser ? See any error in devtool console ?

---

<div class="post-metadata">

**Author:** ![digidax](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@digidax](https://discourse.nodered.org/u/digidax)\
**Post date:** [2 October 2019 15:53 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/3 "2019-10-02T15:53:55Z")

</div>

Have test it under Windows 10 with Firefox, Chrome and Edge. LED is not displayed.  
In devtool console no errors, only warnings.

Here is my flow:

```auto
[{"id":"4e918b99.3614e4","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"64f3142f.224adc","type":"s7 in","z":"4e918b99.3614e4","endpoint":"e768e368.f8cd28","mode":"all","variable":"","diff":false,"name":"","x":154.5,"y":66,"wires":[["e187304c.b95b08"]]},{"id":"61f7c186.36458","type":"ui_gauge","z":"4e918b99.3614e4","name":"Kühlwasser Abgabe","group":"6e60af29.6fcd2","order":1,"width":0,"height":0,"gtype":"gage","title":"","label":"","format":"{{msg.payload | number:1}}°C","min":"10","max":"40","colors":["#ca0000","#00ca00","#ca0000"],"seg1":"20","seg2":"23","x":681.5,"y":169,"wires":[]},{"id":"381364ed.587f14","type":"ui_chart","z":"4e918b99.3614e4","name":"","group":"6e60af29.6fcd2","order":2,"width":0,"height":0,"label":"Kühlwasser Abgabe","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"waiting for data ...","dot":false,"ymin":"19","ymax":"25","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":679.5,"y":206,"wires":[[]]},{"id":"81f0e8b9.a96438","type":"switch","z":"4e918b99.3614e4","name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"T1_Abgabe","vt":"str"},{"t":"eq","v":"KT_Fan","vt":"str"},{"t":"eq","v":"Mischer","vt":"str"},{"t":"eq","v":"KT_Pumpe1","vt":"str"},{"t":"eq","v":"KT_Pumpe2","vt":"str"},{"t":"eq","v":"Scroll1","vt":"str"},{"t":"eq","v":"Scroll2","vt":"str"},{"t":"eq","v":"Scroll3","vt":"str"},{"t":"eq","v":"Scroll4","vt":"str"}],"checkall":"true","repair":false,"outputs":9,"x":134.5,"y":228,"wires":[["381364ed.587f14","61f7c186.36458"],["480bf4df.c53934","8a75052b.421b78"],["dd78f1a7.f1ff68","ade8bd45.648f5"],["464c2e6a.9746d8","e57e8e83.74278"],[],[],[],[],[]],"outputLabels":["T1_Abgabe","KT_Fan",null,null,null,null,null,null,null]},{"id":"e187304c.b95b08","type":"split","z":"4e918b99.3614e4","name":"","splt":"\\n","spltType":"str","arraySplt":1,"arraySpltType":"len","stream":false,"addname":"topic","x":136.5,"y":136,"wires":[["81f0e8b9.a96438"]]},{"id":"480bf4df.c53934","type":"ui_gauge","z":"4e918b99.3614e4","name":"Kühlturm %","group":"249f100f.6f985","order":2,"width":0,"height":0,"gtype":"gage","title":"","label":"","format":"{{msg.payload | number:0}}%","min":0,"max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"90","seg2":"95","x":647.5,"y":249,"wires":[]},{"id":"8a75052b.421b78","type":"ui_chart","z":"4e918b99.3614e4","name":"Kühlturm %","group":"249f100f.6f985","order":1,"width":0,"height":0,"label":"Kühlturm Lüfter %","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":647.5,"y":290,"wires":[[]]},{"id":"dd78f1a7.f1ff68","type":"ui_gauge","z":"4e918b99.3614e4","name":"Mischer %","group":"dad9f315.eb5cb8","order":2,"width":0,"height":0,"gtype":"gage","title":"","label":"","format":"{{msg.payload | number:0}}%","min":"0","max":"100","colors":["#00b500","#e6e600","#ca3838"],"seg1":"33","seg2":"66","x":652,"y":331,"wires":[]},{"id":"ade8bd45.648f5","type":"ui_chart","z":"4e918b99.3614e4","name":"Mischer %","group":"dad9f315.eb5cb8","order":1,"width":0,"height":0,"label":"Mischer %","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":1,"removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":653,"y":367,"wires":[[]]},{"id":"464c2e6a.9746d8","type":"ui_led","z":"4e918b99.3614e4","group":"d681e153.8b8be8","order":3,"width":"0","height":"0","label":"KT Pumpe 1","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"green","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"name":"KT Pumpe 1","x":654.5,"y":424,"wires":[]},{"id":"e57e8e83.74278","type":"debug","z":"4e918b99.3614e4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":647.5,"y":483,"wires":[]},{"id":"e768e368.f8cd28","type":"s7 endpoint","z":"","transport":"iso-on-tcp","address":"192.168.130.23","port":"102","rack":"0","slot":"1","localtsaphi":"01","localtsaplo":"00","remotetsaphi":"01","remotetsaplo":"00","connmode":"rack-slot","adapterauto":true,"adapterport":"","busaddr":"2","adapteraddr":"0","cycletime":"10000","timeout":"10000","verbose":"default","name":"","vartable":[{"addr":"DB26,REAL0","name":"T1_Abgabe"},{"addr":"DB26,REAL4","name":"KT_Fan"},{"addr":"DB26,REAL8","name":"Mischer"},{"addr":"DB26,X12.0","name":"KT_Pumpe1"},{"addr":"DB26,X12.1","name":"KT_Pumpe2"},{"addr":"DB26,X12.2","name":"Scroll1"},{"addr":"DB26,X12.3","name":"Scroll2"},{"addr":"DB26,X12.4","name":"Scroll3"},{"addr":"DB26,X12.5","name":"Scroll4"}]},{"id":"6e60af29.6fcd2","type":"ui_group","z":"","name":"Kühlwasser","tab":"742b85b7.f0debc","disp":false,"width":"6","collapse":false},{"id":"249f100f.6f985","type":"ui_group","z":"","name":"Kühlturm","tab":"742b85b7.f0debc","order":2,"disp":false,"width":"6","collapse":false},{"id":"dad9f315.eb5cb8","type":"ui_group","z":"","name":"Mischer","tab":"742b85b7.f0debc","order":3,"disp":false,"width":"6","collapse":false},{"id":"d681e153.8b8be8","type":"ui_group","z":"","name":"Pumpen / Verdichter","tab":"742b85b7.f0debc","order":4,"disp":true,"width":"6","collapse":false},{"id":"742b85b7.f0debc","type":"ui_tab","z":"","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]

```

Thanks for helping me.  
All the best, Frank

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [2 October 2019 16:15 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/4 "2019-10-02T16:15:17Z")

</div>

Imported the flow but replaced the s7 contrib node by an inject node.

It works.

 ![works-1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/e/e39c7f5965b91ffa80a5723d7219829103d72cd2.png)

---

<div class="post-metadata">

**Author:** ![digidax](https://avatars.discourse-cdn.com/v4/letter/d/edb3f5/32.png) [@digidax](https://discourse.nodered.org/u/digidax)\
**Post date:** [2 October 2019 16:15 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/5 "2019-10-02T16:15:48Z")

</div>

LED is now displayed.

Solution: Update to json-c-0.11-4.el7\_0.x86\_64 solved the problem.

Thanks for your support.

---

<div class="post-metadata">

**Author:** ![Jeremia](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@Jeremia](https://discourse.nodered.org/u/Jeremia)\
**Post date:** [7 May 2020 06:21 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/6 "2020-05-07T06:21:10Z")

</div>

I have the same issue. I'm using the official nodered docker image.  
Could it be, that json is not up to date in the image?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![tiby007](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tiby007](https://discourse.nodered.org/u/tiby007)\
**Post date:** [3 July 2020 18:28 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/7 "2020-07-03T18:28:35Z")

</div>

How to do that?

---

<div class="post-metadata">

**Author:** ![tiby007](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tiby007](https://discourse.nodered.org/u/tiby007)\
**Post date:** [3 July 2020 19:28 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/8 "2020-07-03T19:28:24Z")

</div>

Hello!

I have the same problem!

How to solve this?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [3 July 2020 20:05 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/9 "2020-07-03T20:05:29Z")

</div>

Hey @tiby007,  
Please don't ask the same question in multiple discussions! Because that makes it very hard for people to keep track of all questions...

---

<div class="post-metadata">

**Author:** ![tiby007](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tiby007](https://discourse.nodered.org/u/tiby007)\
**Post date:** [3 July 2020 20:42 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-led-not-showing-on-dashboard/16203/10 "2020-07-03T20:42:22Z")

</div>

Sorry, I won't do it again!
