Post

Discard Above Filter

Filter out sensor spikes and bad readings by ignoring any value above a maximum you set before it's stored.

Discard Above Filter
Discard Above filter settings screen

The Discard Above filter rejects Data Point snapshots where the value exceeds a configured maximum threshold. When a snapshot value is greater than the threshold it is discarded and not stored — preventing outliers, sensor errors, or invalid high readings from entering the data store.

Info: This is a Data Point Filter — a leaf node that sits under a Data Point’s filter chain and gates incoming snapshots before they are stored.

Overview

Sensors occasionally report impossible spikes — a loose connection, an EMI burst, or a momentary fault. Discard Above sets a hard ceiling: anything above it is treated as invalid and dropped before it can skew graphs, averages, or threshold triggers.

How It Works

graph TD
    A[New snapshot arrives] --> B{value > maximum threshold?}
    B -->|Yes| C[Discard snapshot]
    B -->|No| D[Accept snapshot, store, propagate]
  1. A new snapshot arrives at the parent Data Point.
  2. The filter compares the snapshot value against the configured maximum.
  3. If the value is greater than the threshold, the snapshot is discarded; otherwise it is accepted, stored, and propagated.

Configuration

FieldDescriptionRequired
maximumMaximum allowed value (Double); snapshots above this are discardedYes

Use Cases

  • Remove sensor error spikes before they reach storage.
  • Cap the valid reading range for a measurement.
  • Filter out impossible values caused by faults or interference.

Examples

  • Discard any temperature readings above 150 degrees.
  • Filter out values over 1000.
  • Ignore sensor spikes above 100.

Last verified: 2026-05-21

This post is licensed under CC BY 4.0 by Sautner Studio, LLC.