Skip to content
Jatu Tung edited this page Jul 25, 2023 · 9 revisions

bulb-basic-title

Node-RED UI Widget Bulb basic node for Node-RED Dashboard. Easy to use for display bulb (for turn on/off) on Node-RED Dashboard.

palette-node

Getting Started

  1. First, install Node-RED by follow Node-RED installation guideline.

  2. Install Node-RED Dashboard by follow Node-RED Dashboard installation guideline.

  3. Install this package at user data directory ~/.node-red

npm install @studiobox/node-red-contrib-ui-widget-bulb-basic
  1. Start Node-RED
node-red

Dashboard Example

example-bulb-basic

Usage

Add UI Widget Bulb Basic Node

usage-add-node

Node Settings

node-settings scale

Widget Display

widget-display

Description

  • No. 1 : Title - Bulb's title
  • No. 2 : Color - Bulb color

bulb-color

  • No. 3 : Scale - Bulb scale

Normal size - display area fixed height 200px

normal size

Small size - display area fixed height 100px

small size

API Input

Using msg object.

Property Mandatory Type Description
payload Yes boolean true : for turn on bulb.
false : for turn off bulb.

Usage Examples

After install, see usage examples at Node-RED Import menu. Examples at @studiobox/node-red-contrib-ui-widget-bulb-basic.

Change Logs

See change logs detail