mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
d30ed78cb7
commit
c8370e6da5
@ -5,8 +5,7 @@ A <a href="http://nodered.org" target="_new">Node-RED</a> node that
|
|||||||
provides report-by-exception (RBE) and deadband capability.
|
provides report-by-exception (RBE) and deadband capability.
|
||||||
|
|
||||||
The node blocks unless the incoming value changes - RBE mode, or
|
The node blocks unless the incoming value changes - RBE mode, or
|
||||||
changes by more than a certain amount (absolute value or percentage) - deadband
|
changes by more than a certain amount (absolute value or percentage) - bandgap modes.
|
||||||
mode.
|
|
||||||
|
|
||||||
Install
|
Install
|
||||||
-------
|
-------
|
||||||
@ -19,7 +18,7 @@ Run the following command in your Node-RED user directory - typically `~/.node-r
|
|||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
A simple node to provide report by exception (RBE) and deadband function
|
A simple node to provide report by exception (RBE) and bandgap functions
|
||||||
- only passes on data if it has changed.
|
- only passes on data if it has changed.
|
||||||
|
|
||||||
This works on a per `msg.topic` basis. This means that a single rbe node can
|
This works on a per `msg.topic` basis. This means that a single rbe node can
|
||||||
@ -31,12 +30,13 @@ The node doesn't send any output until the `msg.payload` is different to the pre
|
|||||||
Works on numbers and strings. Useful for filtering out repeated messages of the
|
Works on numbers and strings. Useful for filtering out repeated messages of the
|
||||||
same value. Saves bandwidth, etc...
|
same value. Saves bandwidth, etc...
|
||||||
|
|
||||||
### Deadband modes
|
### Deadband and Narrowband modes
|
||||||
|
|
||||||
In deadband mode the incoming payload should contain a parseable *number* and is
|
In deadband modes the incoming payload should contain a parseable *number* and is
|
||||||
output only if greater than + or - the *band gap* away from the previous output.
|
output only if greater than + or - the *band gap* away from the previous output.
|
||||||
It can also be set to block values more than a certain distance away from the present value.
|
|
||||||
This can be used to remove outliers or unexpected readings.
|
The narrowband modes will block if the incoming value change is greater than + or - the band gap
|
||||||
|
away from the previous value. Useful for ignoring outliers from a faulty sensor for example.
|
||||||
|
|
||||||
You can specify compare with *previous valid output value* or *previous input value*.
|
You can specify compare with *previous valid output value* or *previous input value*.
|
||||||
The former ignores any values outside the valid range, whereas the latter allows
|
The former ignores any values outside the valid range, whereas the latter allows
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<script type="text/html" data-help-name="rbe">
|
<script type="text/html" data-help-name="rbe">
|
||||||
<p>Report by Exception node - only passes on data if the payload has changed.</p>
|
<p>Report by Exception node - only passes on data if the payload has changed.</p>
|
||||||
<p>It can also block until the value changes by a specified amount - deadband modes.</p>
|
<p>It can also block unless, or ignore if the value changes by a specified amount.</p>
|
||||||
<h3>Inputs</h3>
|
<h3>Inputs</h3>
|
||||||
<dl class="message-properties">
|
<dl class="message-properties">
|
||||||
<dt>payload
|
<dt>payload
|
||||||
@ -22,12 +22,13 @@
|
|||||||
<dd>If triggered the output will be the same as the input.</dd>
|
<dd>If triggered the output will be the same as the input.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<h3>Details</h3>
|
<h3>Details</h3>
|
||||||
<p>In RBE mode this node will block until the <code>msg.payload</code> is
|
<p>In RBE mode this node will block until the <code>msg.payload</code>,
|
||||||
different to the previous one. </p>
|
(or selected property) value is different to the previous one. If required
|
||||||
<p>In Deadband modes the incoming payload must contain a parseable number and is
|
it can ignore the intial value, so as not to send anything at start.</p>
|
||||||
output only if greater than + or - the band gap away from a previous value.</p>
|
<p>In the Deadband modes the incoming value must contain a parseable number and will block
|
||||||
|
unless the change is greater than + or - the band gap away from a previous value.</p>
|
||||||
<p>Deadband also supports % - only sends if the input differs by more than x% of the original value.</p>
|
<p>Deadband also supports % - only sends if the input differs by more than x% of the original value.</p>
|
||||||
<p>In Narrowband mode the incoming payload is blocked if it is more than + or - the band gap
|
<p>The Narrowband modes will block if the incoming value change is greater than + or - the band gap
|
||||||
away from the previous value. Useful for ignoring outliers from a faulty sensor for example.</p>
|
away from the previous value. Useful for ignoring outliers from a faulty sensor for example.</p>
|
||||||
<p>Both Deadband and Narrowband allow comparison against either the previous valid output value, thus
|
<p>Both Deadband and Narrowband allow comparison against either the previous valid output value, thus
|
||||||
ignoring any values out of range; or the previous input value, which resets the set point, thus allowing
|
ignoring any values out of range; or the previous input value, which resets the set point, thus allowing
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-rbe",
|
"name" : "node-red-node-rbe",
|
||||||
"version" : "0.2.6",
|
"version" : "0.2.7",
|
||||||
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capability.",
|
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capabilities.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
},
|
},
|
||||||
"repository" : {
|
"repository" : {
|
||||||
|
Loading…
Reference in New Issue
Block a user