LED UI widget?

577 views
Skip to first unread message

Larry Roy

unread,
Jan 26, 2017, 10:05:43 AM1/26/17
to Node-RED
Hey guys,

Have you had any requests to add an LED widget to the widget list (chart, button, gauge, LED, etc.)?

We are using Node-RED to indicate machine health, and the charts and gauges are fantastic for that, but an easy-to-drop LED would certainly make BOOLEAN values simple to visualize.

I am using an LED control on my client-side systems, and the LED allows for a caption, specification of ON color and OFF color.  And that's about it.  Wouldn't be a ton of properties to implement.

If there is some other easy method of implementing an LED on the dashboard, I'd be interested to know what others are doing...

Thank you!

Larry

Mark Setrem

unread,
Jan 26, 2017, 10:41:27 AM1/26/17
to Node-RED
The dashboard can display any of the Material or fa-icons which are then easily coloured based on a property contained within the payload.

Take a look at this flow from flows.nodered.org which shows one way of doing this
http://flows.nodered.org/flow/d563347fda4c9e8594640797eca7955c

Toshi Bass

unread,
Jan 26, 2017, 3:25:05 PM1/26/17
to Node-RED

Larry Roy

unread,
Mar 15, 2017, 6:16:08 PM3/15/17
to Node-RED
Thanks guys!

I will give that a look!!

Lawrence Griffiths

unread,
Mar 20, 2017, 4:48:19 PM3/20/17
to Node-RED
Larry I've been playing and have created a very simple UI element Circle or as I've called them Bubbles.
Which supports 2 state and up to 4 state colours.
All can be customised by changing css
Also you can click and change UI state to send back state change from UI

Reply all
Reply to author
Forward
0 new messages