@flowfuse/node-red-dashboard-2-ui-led

1.0.0 • Public • Published

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.

Screenshot 2024-02-17 at 09 55 55

Configuration Options

The ui-led node has the following configuration options:

General

Screenshot 2024-02-17 at 10 02 43

  • 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 x height

Label Styling

Screenshot 2024-02-17 at 10 02 28

  • 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

Screenshot 2024-02-17 at 10 01 59

  • 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

Screenshot 2024-02-17 at 10 01 44

  • Maps a value to a respective color. If a value is provided that it doesn't recognise, a general grey color will be used.

Package Sidebar

Install

npm i @flowfuse/node-red-dashboard-2-ui-led

Weekly Downloads

245

Version

1.0.0

License

Apache-2.0

Unpacked Size

39.1 kB

Total Files

11

Last publish

Collaborators

  • flowfuse-user
  • hardillb
  • knolleary