Skip to content

Installation

mchristegh edited this page Jul 15, 2026 · 1 revision

Requirements

  • 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

From the palette manager (recommended)

  1. Open the Node-RED editor menu → Manage paletteInstall
  2. Search for node-red-contrib-sensor-consensus
  3. Click Install

From the command line

cd ~/.node-red
npm install node-red-contrib-sensor-consensus

Then restart Node-RED.

Verifying the install

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.

Shipped examples

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.

Next step

Configuration covers every field in the edit dialog, with links to the feature pages for the concepts behind them.

Clone this wiki locally