A Node-RED dashboard widget that displays a customizable LED status indicator with color mapping based on msg.payload values. Version 0.4.11 is currently latest with no active development since 2021. Requires node-red-dashboard >=2.23.3. Supports custom color-value mappings, dynamic overrides via msg.colorForValue, and aesthetic sizing options. Unlike generic dashboard widgets, this node provides immediate visual feedback with simple boolean or custom state-to-color logic. Released under MIT license.
npm install node-red-contrib-ui-ledNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation steps and basic flow setup for a Node-RED LED widget.
Update node-red-dashboard to >=2.23.3.
Use custom color mappings to handle non-boolean payloads.
Consider forking or using alternative dashboard LED nodes.
Enable the option in node config and pass an object mapping values to CSS colors.
Run 'npm install node-red-dashboard' in your Node-RED user directory.
Ensure inject node sends payload true/false, and ui_led is placed in a dashboard group.
Use object with string/number keys and CSS color values, e.g., {true: 'green'}.