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

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.


But the layout editor shows the group and the led inside:

But it's not displayed:

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

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 ?

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:

[{"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

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

It works.

LED is now displayed.

Solution: Update to json-c-0.11-4.el7_0.x86_64 solved the problem.

Thanks for your support.

1 Like