hotNipi / node-red-dashboard-2-ui-edgewise-meter

Apache License 2.0
0 stars 0 forks source link

node-red-dashboard-2-ui-edgewise-meter

A linear style gauge for Node-RED Dashboard 2.0.

Node-RED gauge edgewise meter image

Install

The usual method of installing is to use Manage Palette in the node red editor and search for @hotnipi/node-red-dashboard-2-ui-edgewise-meter and install it.

Using npm directly, cd into your node red user directory (usually .node-red in your home folder) and from there run

npm install @hotnipi/node-red-dashboard-2-ui-edgewise-meter

Inputs

Pass the value in msg.payload. This may be a Number or a string that represents a number.

Certain configuration values can be overridden dynamically be passing in an object in msg.ui_update. See Dynamic Properties below.

Configuration

Dynamic Properties

Certain properties can be overridden by passing an object in msg.ui_update. The name of the item in msg.ui_update is generally the name of the propety being overridden. For example, the Sectors definitions may be changed by passing in array in msg.ui_update.sectors.

CSS overrides

Display elements my be overriden in the normal way using a ui-template node. In particular:

The color of the digits

.myclass .hotnipi-ewm-num{
    color:red !important ;
}