node-red-contrib-rbc 1.0.4

It is a node for node-red which sends data only if tehre is a defined change in the message. E.g. smaller, greater value.

npm install node-red-contrib-rbc

node-red-contrib-rbc (report-by-changes)

A Node-RED node that provides a function to report-by-change (RBC) capability.

The node blocks unless the incoming value changes in a defined mode.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm i node-red-contrib-rbc

Usage

A simple node to provide report-by-change (RBC) - only passes on data if it has changed in defined way.

This works on a per msg.topic basis. This means that a single rbc node can handle multiple topics at the same time.

Greater Than mode

The node doesn't send any output until the msg.payload is greater to the previous one. Works only on numbers.

Less Than mode

The node doesn't send any output until the msg.payload is lesser to the previous one. Works only on numbers.

Output modes

You can choose, if you want to send the current msg-Object, the previos one or the first of this check one.

Node Info

Version: 1.0.4
Updated 7 years, 8 months ago
License: Apache-2.0
Rating: not yet rated

Categories

Actions

Rate:

Downloads

1 in the last week

Nodes

  • rbc

Keywords

  • node-red

Maintainers