-
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
mchristegh edited this page Jul 15, 2026
·
1 revision
- Node-RED 2.0 or later
- Node.js 12 or later
- No other dependencies — the node uses only Node.js built-ins plus a bundled public-domain serialization helper
- Open the Node-RED editor menu → Manage palette → Install
- Search for
node-red-contrib-sensor-consensus - Click Install
cd ~/.node-red
npm install node-red-contrib-sensor-consensus
Then restart Node-RED.
The node appears in the function category of the palette as
Sensor Consensus. Drop one on the canvas — it shows a grey
Waiting status and four outputs labeled Trigger, Release, Query, and
Events.
Four importable example flows install with the package. In the editor: Import → Examples → node-red-contrib-sensor-consensus. Start with Examples Basic Numeric Averaging; each example's page on this wiki walks through what to press and what appears on which output.
Configuration covers every field in the edit dialog, with links to the feature pages for the concepts behind them.
Getting Started
Reference
Features
Examples
- Examples Basic Numeric Averaging
- Examples Staleness and Quorum
- Examples Boolean Voting
- Examples Runtime Commands
Test Script Coverage
- Overview
- Test Suite 1 — Output routing & envelope shape
- Test Suite 2 — Aggregation functions
- Test Suite 3 — Boolean mode
- Test Suite 4 — Commands
- Test Suite 5 — Threshold set-commands & release-follows-trigger
- Test Suite 6 — Status labels
- Test Suite 7 — Staleness, quorum policies, heartbeat
- Test Suite 8 — Persistence
Support