Skip to content

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.

0.1.0 — initial release

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 per msg.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 as ignored: true events.
  • 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.

Clone this wiki locally