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
- When Hourly Meter Scan Starts
- When Test Run Initiated
- Set Configuration Parameters
- Fetch Smart Meter Readings
- Wait for Readings Aggregation
- Analyze Consumption Patterns
- If Anomaly Detected
- No Anomaly - No Action
- Classify Anomaly & Build Alert Payload
- If Critical Severity
- Wait Before Critical Escalation Dispatch
- Prepare Critical Alert Dispatch
- Prepare Standard Alert Log
Similar automations
Monitoring, Ops & IncidentsMonitor SSL certificate expiry from an HTTP inventory and alert on critical renewals12 stepsMonitoring, Ops & IncidentsDetect AWS and GCP cost anomalies with GPT-4o-mini and alert Slack29 stepsMonitoring, Ops & IncidentsDetect and remediate data pipeline anomalies with Claude, PostgreSQL and Slack33 stepsMonitoring, Ops & IncidentsDetect Meta Ads spend anomalies and creative fatigue with OpenAI and Slack54 steps