node-red-contrib-limit-counter
v1.0.4
Published
Limit counter - counts threshold crossings and outputs alarm at configured limit
Maintainers
Readme
node-red-contrib-rpo-limit-counter
A Node-RED node: Limit Counter
Counts rising-edge crossings of a threshold (with hysteresis) and triggers an alarm when a configurable count is reached.
Install
npm install node-red-contrib-rpo-limit-counterOr via the Node-RED Palette Manager.
Inputs
- payload (number): Value to compare against threshold
- msg.reset=true: Reset counter
Outputs
- Output 1: Current crossing count
- Output 2:
truewhen alarm count reached,falseotherwise
Configuration
| Parameter | Description | |-----------|-------------| | Threshold | Crossing trigger level | | Hysteresis | Dead-band to prevent chatter | | Alarm count | Count at which alarm fires |
License
MIT
