1001-1099: Gridlink device metrics
2001-2099: Gridlink line metrics (multi-phase)
3001-3099: Gridmate device metrics
4001-4099: Gridmate line metrics (multi-phase)
6001-6099: Gridlink fuse metrics
7001-7099: Voltage quality (histograms)
8001-8099: Generic sensor metrics
| Flag | Trigger Condition | Applies To | Quality Status |
|---|
invalid_timestamp | device_time < 2020-01-01 or device_time is zero | All metrics | not_ok |
future_timestamp | device_time > server_time + 5 minutes | All metrics | ok (corrected) |
| Flag | Trigger Condition | Applies To | Quality Status |
|---|
sentinel | Value matches exact sentinel value | Counters, Gauges | not_ok |
sentinel | Value in sentinel range (e.g., 0.04-0.05 Hz, 99.98-99.99 Hz) | Gauges with sentinel_ranges | not_ok |
sentinel | Histogram payload empty or malformed | Histograms (7001) | not_ok |
malformed_payload | Cannot parse histogram payload | Histograms (7001) | not_ok |
| Flag |
Trigger Condition |
Applies To |
Quality Status |
below_minimum |
value < rules.min |
All metrics with min threshold |
not_ok |
above_maximum |
value > rules.max |
All metrics with max threshold |
not_ok |
bad_quality |
Value violates quality thresholds (different from physical min/max) |
Metrics with custom.bad_quality rules |
not_ok |
Metrics with bad_quality thresholds:
- Temperature: < -30°C or > 80°C (Gridlink), < -30°C or > 90°C (Gridmate), < -40°C or > 85°C (Generic)
- Supply voltage: < 5V (Gridlink)
- Battery voltage: < 3V or > 5.5V (Gridlink)
- Humidity: < 0% or > 100% (all devices)
- Line frequency: < 40Hz or > 70Hz (Gridlink)
- RSSI: < -120 dBm or > -10 dBm (Gridlink, Gridmate)
- LSNR: < -15 dB or > 15 dB (Gridmate)
- RMS voltage: < 80V or > 280V (Gridlink), < 80V or > 260V (Gridmate)
- RMS current: > 500A warn / > 800A null (Gridlink), > 400A warn / > 600A null (Gridmate)
- Power factor: < -1 or > 1 (Gridlink, Gridmate)
- THD: > 100% (Gridlink)
- CO2: < 0 ppm or > 5000 ppm (Gridmate, Generic)
- Pressure: < 300 hPa or > 1100 hPa (Generic)
- TVOC: < 0 µg/m³ or > 30000 µg/m³ (Generic)
- HCHO: < 0 ppb or > 5000 ppb (Generic)
| Flag |
Trigger Condition |
Applies To |
Quality Status |
physical_impossibility |
voltage > 0 AND current = 0 AND power > 0 |
Power metrics (2003, 2007, 2008, 4005, 4006) |
not_ok |
physical_impossibility |
voltage = 0 AND power > 0 |
Power metrics |
not_ok |
| Flag |
Trigger Condition |
Applies To |
Quality Status |
grid_outage |
Zero voltage/current but device alive (battery/RSSI good) |
Voltage/Current metrics with zero_check=liveness |
ok |
device_offline |
Zero voltage/current and device health signals bad |
Voltage/Current metrics with zero_check=liveness |
not_ok |
zero_voltage_no_liveness_check |
Zero voltage but no health snapshot available |
Voltage metrics |
ok (flagged) |
possible_device_offline |
Zero current with low-confidence device offline signal |
Current metrics |
ok (flagged) |
| Flag | Trigger Condition | Applies To | Quality Status |
|---|
missing_value | Counter value missing | COUNTER metrics | not_ok |
counter_reset | Current value < previous value (no rollover configured) | COUNTER metrics | not_ok |
counter_rollover | Counter wrapped around (current < previous, rollover handled) | COUNTER metrics with AllowNegativeReset | ok (flagged) |
counter_rollover_misconfigured | Rollover calculation failed (previous > max_value) | COUNTER metrics | not_ok |
invalid_time_interval | Current time <= previous time | COUNTER metrics | not_ok |
large_gap | Time gap > MaxGapSeconds | COUNTER metrics with MaxGapSeconds | ok (flagged) |
| Flag | Trigger Condition | Applies To | Quality Status |
|---|
invalid_histogram_bounds | Bucket min >= max | Histograms (7001) | not_ok |
invalid_histogram_counts | Negative bucket count or total_count mismatch | Histograms (7001) | not_ok |
| Flag |
Trigger Condition |
Applies To |
Quality Status |
unexpected_phase |
Measurement phase not in device_sensors configuration |
Multi-phase metrics |
ok (flagged) |
| Flag |
Trigger Condition |
Applies To |
Quality Status |
missing_value |
Gauge value missing |
GAUGE metrics |
not_ok |