{"library":"node-red-contrib-ui-led","title":"node-red-contrib-ui-led","description":"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.","language":"javascript","status":"maintenance","last_verified":"Fri May 01","install":{"commands":["npm install node-red-contrib-ui-led"],"cli":null},"imports":["Install via npm: npm install node-red-contrib-ui-led (in ~/.node-red directory)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"npm install node-red-contrib-ui-led\n# After installation, in Node-RED editor:\n# 1. Drag a 'ui_led' node from the dashboard palette onto the flow.\n# 2. Configure the node: set group, size, and optionally customize color mappings.\n# 3. Wire an inject node to the ui_led node.\n# 4. Set inject node's payload to true (green) or false (red) or any custom value.\n# 5. Deploy and observe the LED on the dashboard.\n\n// Example flow JSON (partial):\n[{\"id\":\"node1\",\"type\":\"inject\",\"z\":\"flow1\",\"name\":\"\",\"props\":[{\"p\":\"payload\"}],\"repeat\":\"\",\"crontab\":\"\",\"once\":false,\"onceDelay\":0.1,\"topic\":\"\",\"payload\":\"true\",\"payloadType\":\"bool\"},{\"id\":\"node2\",\"type\":\"ui_led\",\"z\":\"flow1\",\"group\":\"dashboard_group\",\"order\":0,\"width\":0,\"height\":0,\"name\":\"\",\"label\":\"\",\"layout\":\"row left\",\"allowColorForValueInMsg\":false,\"x\":350,\"y\":200,\"wires\":[]}]","lang":"typescript","description":"Shows installation steps and basic flow setup for a Node-RED LED widget.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}