node-red-contrib-mmm-store
v1.0.4
Published
Min/Max/Mean persistent store - tracks statistics across Node-RED restarts
Maintainers
Readme
node-red-contrib-rpo-mmm-store
A Node-RED node: Min/Max/Mean Store
Maintains running minimum, maximum, and mean statistics over a sliding window of numeric values.
Install
npm install node-red-contrib-rpo-mmm-storeOr via the Node-RED Palette Manager.
Inputs
- payload (number): Value to add to statistics
- msg.reset=true: Clear statistics
Outputs
- Output 1: Current mean;
msg.stats = { min, max, mean, count }
Configuration
| Parameter | Description | |-----------|-------------| | Window size | Number of samples to keep (0 = unlimited) |
License
MIT
