The `node-red-node-rbe` package provides a Node-RED node for implementing report-by-exception (RBE) and deadband/narrowband filtering logic within Node-RED flows. It ensures that messages are only passed through if their `msg.payload` changes significantly from the previously sent value, reducing redundant data processing and network traffic. The node can operate in RBE mode (value changes), deadband mode (value changes by more than a fixed amount or percentage), or narrowband mode (blocks if value changes *more* than a threshold, useful for ignoring outliers). It supports filtering on a per-`msg.topic` basis, allowing a single node to manage multiple data streams concurrently. The current stable version is 0.8.0, with releases typically marked as 'Milestone Releases', indicating less frequent, feature-driven updates rather than strict semantic versioning for every change. Its primary differentiation lies in its direct integration into Node-RED's visual programming paradigm for efficient data conditioning.
npm install node-red-node-rbeVerified import paths — ran on the pinned version, not inferred.
Installs the RBE node into your Node-RED environment and describes its basic usage within a flow.
Refer to the GitHub repository's commit history and issue tracker for detailed changes and potential breaking impacts when upgrading across 'Milestone Releases'.
Ensure `msg.payload` contains a number or a string that can be successfully parsed into a number before it reaches the 'rbe' node when using deadband or narrowband modes. Use a 'function' or 'change' node upstream to pre-process data if necessary.
Ensure unique `msg.topic` values for independent data streams that should be filtered separately. If messages from different sources should be treated distinctly but share a natural topic, consider prepending a unique identifier to `msg.topic` before the RBE node.
Run `npm install node-red-node-rbe` in your Node-RED user directory (typically `~/.node-red`), then restart your Node-RED instance.
Verify installation by checking `~/.node-red/node_modules/node-red-node-rbe`. If present, restart Node-RED. If not, reinstall with `npm install node-red-node-rbe` and check npm output for errors.
No dependency data recorded yet.