Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Detect smart meter anomalies and route critical alerts via HTTP API

Runs on a schedule to pull smart meter readings, compute per-meter baselines, flag spikes, leaks and stuck meters, and escalate critical faults.

What it does

## Detect Abnormal Smart Meter Consumption ### How it works This workflow runs on a schedule or manually, pulls recent readings for a group of smart meters from the metering API, and computes a statistical baseline (mean/std-dev) per meter. It flags spikes, drops, suspected leakage (continuous flow during off-hours), and stuck/faulty meters (near-zero variance despite active load). Anomalies are classified into a fault category and severity, and the flow branches into a critical-escalation path (after a short cool-down/dedup wait) or a standard logging path. ### Setup steps - Configure the metering API in the HTTP Request node, including meterApiUrl, meterGroupId, and authentication credentials. - Set thresholds in the config node: spikeZScoreThreshold, dropZScoreThreshold, stuckVarianceThreshold, leakageOffHourStart/End, leakageMinFlowThreshold, criticalScoreThreshold. - Connect the two output Set nodes ("Prepare Critical Alert Dispatch" and "Prepare Standard Alert Log") to your own ticketing/paging/notification system (e.g. Jira, PagerDuty, Slack, email) — they are left generic on purpose. - Verify the API response shape matches what the code nodes expect: { meters: [ { meterId, address, readings: [ { timestamp, value }, ... ] } ] }. ### Customization Adjust the anomaly scoring weights, off-hours window, stuck-meter variance threshold, and severity cutoffs to match real consumption patterns for your meter population.

The steps

  1. When Hourly Meter Scan Starts
  2. When Test Run Initiated
  3. Set Configuration Parameters
  4. Fetch Smart Meter Readings
  5. Wait for Readings Aggregation
  6. Analyze Consumption Patterns
  7. If Anomaly Detected
  8. No Anomaly - No Action
  9. Classify Anomaly & Build Alert Payload
  10. If Critical Severity
  11. Wait Before Critical Escalation Dispatch
  12. Prepare Critical Alert Dispatch
  13. Prepare Standard Alert Log

Similar automations