node-red-contrib-adder
v1.0.4
Published
Multi-input adder with optional weighting - sum or weighted average of inputs
Downloads
65
Maintainers
Readme
node-red-contrib-rpo-adder
A Node-RED node: Adder
Collects numeric values from named topics and outputs their sum or weighted average.
Install
npm install node-red-contrib-rpo-adderOr via the Node-RED Palette Manager.
Inputs
- payload (number): Value for the slot identified by
msg.topic
Outputs
- Output 1: Sum or weighted average;
msg.valuescontains per-topic values
Configuration
| Parameter | Description |
|-----------|-------------|
| Topics / weights | Comma-separated list of topic:weight pairs |
| Mode | Sum or weighted average |
| Min. required topics | Minimum topics with values before outputting |
License
MIT
