Tiny tidy up of RBE node

This commit is contained in:
dceejay
2015-02-14 17:56:29 +00:00
parent ba557b93c1
commit 7338a17991
4 changed files with 13 additions and 9 deletions

View File

@@ -1,7 +1,8 @@
node-red-node-rbe
=================
A <a href="http://nodered.org" target="_new">Node-RED</a> node that provides provides report-by-exception (RBE) and deadband capability.
A <a href="http://nodered.org" target="_new">Node-RED</a> node that provides
provides report-by-exception (RBE) and deadband capability.
Install
-------
@@ -14,15 +15,18 @@ Run the following command in the root directory of your Node-RED install
Usage
-----
A simple node to provide report by exception (RBE) and deadband function - only passes on data if it has changed.
A simple node to provide report by exception (RBE) and deadband function
- only passes on data if it has changed.
###RBE mode
Outputs the **msg** if the **msg.payload** is different to the previous one. Works on numbers and strings. Useful for filtering out repeated messages of the same value. Saves bandwidth, etc...
Outputs the **msg** if the **msg.payload** is different to the previous one.
Works on numbers and strings. Useful for filtering out repeated messages of the
same value. Saves bandwidth, etc...
###Deadband mode
In deadband mode 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.
Will accept numbers, or strings like "18.4 C" or "$500"
Will accept numbers, or parseable strings like "18.4 C" or "$500"