@flowfuse/node-red-dashboard-2-ui-led
v1.1.0
Published
A simple LED status indicator for the Node-RED Dashboard 2.0
Downloads
1,095
Readme
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.
- Group: The UI Group that the LED will render inside.
- Size: The relative size of the LED with
width
xheight
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
- Maps a value to a respective color. If a value is provided that it doesn't recognise, a general grey color will be used.