-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Jatuphum Tungsilsukchai edited this page Apr 6, 2022
·
9 revisions

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.

-
First, install Node-RED by follow Node-RED installation guideline.
-
Install Node-RED Dashboard by follow Node-RED Dashboard installation guideline.
-
Install this package at user data directory
~/.node-red
npm install @studiobox/node-red-contrib-ui-widget-bulb-basic
- Start Node-RED
node-red




- No.
1: Title - Thermometer's title - No.
2: Top Area Color - Thermometer's mercury color at top area - No.
3: Middle Area Color - Thermometer's mercury color at middle area - No.
4: Bottom Area Color - Thermometer's mercury color at bottom area - No.
5: Min. Temperature - Mininum temperature of thermometer for display - No.
6: Max. Temperature - Maxinum temperature of thermometer for display - No.
7: Unit - Unit for display, includes °C and °F - No.
8: Scale - Thermometer size for display, includes 'normal' and 'small'
Using msg object.
| Property | Mandatory | Type | Description |
|---|---|---|---|
| payload | Yes | boolean |
true : for turn on bulb.false : for turn off bulb. |
After install, see usage examples at Node-RED Import menu. Examples at @studiobox/node-red-contrib-ui-widget-bulb-basic.