@mschaeffler/node-red-dashboard-2-ui-led 1.2.3
A simple LED status indicator for the Node-RED Dashboard 2.0
UI LED (Node-RED Dashboard 2.0 Widget)
This repository contains the code base for ui-led, a third-party node for the Node-RED Dashboard 2.0.
Configuration Options
The ui-led node has the following configuration options:
General
- Name: The name of the node within the context of the Node-RED editor.
- Value: Configure how the value is determined. Can be set to use a specific message property. If not configured, defaults to
msg.payload. - Group: The UI Group that the LED will render inside.
- Size: The relative size of the LED with
widthxheight
Label Styling
- Text: The label to display next to the LED.
- Placement: Which side of the LED the label will be displayed.
- Alignment: Within the space to the left/right of the LED, how the label will be aligned in that space.
LED Styling
- Shape: "Circle" or "Square"
- Show Border: Should the LED have a fixed border around the shape, emulating a physical LED.
- Show Glow: Should the LED have a glow effect.
Values
- The value is a property of the message, e.g.
msg.payloadormsg.myProperty. - Maps a value to a respective color. If a value is provided that it doesn't recognise, a general grey color will be used.