-
-
Notifications
You must be signed in to change notification settings - Fork 0
Release Notes
mchristegh edited this page Jul 15, 2026
·
2 revisions
The only page on this wiki that mentions version numbers — all other pages document the currently shipped behavior.
First public release of node-red-contrib-sensor-consensus.
- Numeric mode: mean, median, min, max, and trimmed mean (with a
named
mean(fallback)below 3 fresh sources) over the latest value permsg.topic. - Boolean mode: fraction-of-true voting with Any / Majority / All / At least N rules, configurable True/False coercion lists, and minority reports on disagreement-set changes.
- Latched threshold trigger with direction (above/below), hysteresis with strict release inequality, release-follows-trigger, symmetric wrong-side guards on the runtime set-commands, and startup sanitization of inverted configured pairs.
- Trust features: per-node staleness window on the node's own clock, fresh-source quorum, Hold/Release quorum-lost policy, expected sources visible from deploy.
- Four purpose-built outputs (Trigger / Release / Query / Events)
with the shared sibling event envelope (
ignored,source) and the outputs-1/2-never-carry-ignored guarantee. - Runtime commands:
query,disable/enable,reset,remove,settrigger,setrelease,setstale— all case-insensitive, all failures observable asignored: trueevents. - Heartbeat snapshots on the Query output, continuous from deploy.
- Optional persistence across deploys/restarts with wall-clock staleness re-evaluation and transition-silent restore.
- Ships with four importable example flows and a 144-check standalone
test harness gating
npm publish.
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