Smart City - Blog - AI in Smart Metering: When Machine Learning Pays Off and When Rules and Alerts Are Enough
26.11.2026
28
AI in Smart Metering: When Machine Learning Pays Off and When Rules and Alerts Are Enough
While it’s true that artificial intelligence opens up new opportunities for analysing smart metering data, its use is not justified for every task.
Utility providers, municipalities, and property management companies can use machine learning to detect complex anomalies and forecast consumption, but many everyday problems—missing readings, low battery levels, detected tampering, or continuous water consumption—can be identified using predefined rules and automated alerts. These tasks do not require developing and training a separate model.
The choice of technology depends on the nature of the problem. If the goal is to detect a specific event or identify when a defined threshold has been exceeded, rules are usually sufficient. Machine learning and predictive analytics become useful when operators need to look at changes in individual consumption patterns, identify less obvious trends, or predict future events.
This article examines which smart metering tasks are best suited to each approach, what resources are needed for implementation, and when the additional cost of machine learning may be justified.
Smart metering needs AI when “normal” cannot be defined by a single number. A threshold works when the same limit makes sense for every meter in a group. However, it becomes less effective when each property has its own consumption profile that changes with the weather, seasons, occupancy, and tariffs.
Four signs that a task has outgrown simple rules:
1. Normal consumption varies by property. A school, a bakery, and an apartment building have completely different daily consumption patterns. Applying one limit to all of them either overwhelms operators with false alerts or causes genuine problems to go undetected.
2. Normal consumption changes over time. Heating demand depends on outdoor temperature, while water consumption varies with the season, day of the week, and how a property is used. For example, water consumption in an office building typically decreases on weekends and holidays, while it may increase in a hotel. Fixed thresholds therefore do not always provide reliable energy anomaly detection: the system must account for the consumption patterns of each property.
3. The signal is distributed across multiple meters. Losses within a district become apparent only when readings from the district inlet meter are compared with the combined readings of consumer meters across multiple zones and over several weeks.
4. The task involves predicting the future. Energy consumption forecasting and predictive maintenance aim to anticipate future changes and events. A rule can only respond to conditions that have already occurred.
All four scenarios require detailed consumption data. Monthly meter readings cannot reveal short-term changes and patterns needed for machine learning models. More frequent measurements, such as readings taken every 15–60 minutes, help analyse nighttime pressure fluctuations, identify unusual consumption at the district level, and assess the influence of weather and seasonality. We discuss this in more detail in our article on LoRaWAN-based consumption analytics for water utilities.

In smart meter data analytics, machine learning addresses three tasks that rule-based systems struggle to handle.
Detecting anomalies in time-series data relative to each property’s history. Instead of applying a single limit across the entire network, the model learns the typical weekly and daily consumption profile of each metering point and identifies deviations from that profile.
The same increase in nighttime consumption can mean very different things in an office compared to a hospital, and the model evaluates these situations differently. This is the essence of anomaly detection in IoT: not whether consumption is “high” or “low,” but whether it’s “unusual for this location”.
Water balance and loss analysis. In water distribution networks, the difference between the volume entering a district metered area and the consumption recorded by customers includes leaks, unaccounted-for consumption, and measurement errors.
Anomaly detection models identify where water flow is inconsistent with the network’s hydraulic characteristics, while comparing consumption profiles across neighbouring zones can indicate the likely location of a problem. This helps water utilities send field teams to areas where losses are most likely instead of inspecting every location in sequence.
Forecasting and predictive maintenance. Predictive utility data analytics covers two areas. The first is demand: consumption forecasting supports planning, pressure management, and pump operating schedules. The second concerns the network itself: trends in battery depletion, signal quality, and packet loss can indicate which devices may soon need attention, even before they stop transmitting data.
The effectiveness of all three applications in smart meter predictive maintenance depends on the quality of the underlying data.
Reliable machine learning analysis requires more than consumption readings: models also need information about device status and communication quality. Without this information, the system may incorrectly interpret missing data from a faulty radio module as zero consumption at a property.
It’s therefore important to monitor device status, record missing data, and validate readings before submitting them for analysis. Our article on smart metering architecture, from sensors to analytics platforms explains how to organise data processing, account for device replacements, and distinguish reliable readings from those requiring verification.

Rule-based IoT anomaly detection is effective when a condition is clearly defined and applies consistently to all devices within a category. Such tasks are part of the daily operations of most metering teams.

Information about many of these events comes directly from the devices themselves. In water metering, typical event flags include leaks, reverse flow, dry running, tampering or magnetic interference, enclosure opening, and power loss. Data quality KPIs—completeness, timeliness, and reliability—can be calculated automatically and monitored using thresholds and alerts.
Rules also have an advantage in explainability. An operator receiving an alert stating that “consumption did not decrease between 02:00 and 05:00 for three consecutive nights” knows exactly what was checked and what action to take next. Rules are easy to verify, can be adjusted for different building types, and work from day one without requiring months of historical data for training.
However, the most common cause of missing data is not meter data analytics but installation conditions. Before investing in analytics to “fix” missing readings, check the affected metering locations. Our guide to problematic metering points in basements, shafts, and metal cabinets provides practical solutions.

Three practical limitations deserve particular attention.
Accuracy depends on data, not the algorithm. A model trained on readings with missing values, incorrect pulse weights, or mismatched addresses will learn the wrong definition of normal. Network coverage and device mapping should be corrected first.
Every alert needs an owner. An anomaly score without a responsible person and a defined response time creates noise rather than value. This applies to both rules and models, although models generally generate more alerts during initial deployment.
Benefits must be measurable. Without baseline figures for existing losses, manual corrections, and site visits, it’s impossible to demonstrate whether analytics has delivered a return on investment.
The first stage of any project is therefore to define the problem and establish baseline metrics. For a water utility pilot, a practical starting point is two or three representative zones with 200–300 nodes and one or two gateways. Anomaly detection models are introduced only during the scaling phase.
In practice, the most effective approach is a layered one. Rules handle known events from day one. Machine learning can later use the same data to identify patterns that rules cannot describe and help refine thresholds. Neither approach replaces the other.

Jooby RDC provides the foundational layer on which any form of analytics depends: reliable collection of meter readings and device status information.
Jooby RDC Dashboard is a service for collecting and processing utility consumption data and device status information for electricity, water, gas, and heat.
The software displays each metering point as a separate card with a history of readings, maintains an event log, and sends notifications about events such as disconnection, magnetic interference, unauthorised removal, and low battery levels.
Consumption and device status reports can be exported as CSV files for analysis in external software.
1. Is AI necessary to detect water leaks using smart meters?
Not for basic leak detection. A rule that checks whether consumption drops to zero during a nighttime monitoring window can identify continuous water consumption. Machine learning becomes useful when utilities need to distinguish leaks from legitimate nighttime consumption across many different properties or locate losses between zones.
2. What is the difference between rule-based anomaly detection and AI-based anomaly detection?
Rule-based monitoring and detection compares readings against a fixed condition, such as a threshold or an event flag. AI-based detection compares readings against a learned consumption profile for each property and its expected behaviour.
3. Can rules and machine learning work together?
Yes, and this is the most practical approach. Rules cover known events with clearly defined responses, while machine learning models identify deviations that rules cannot describe and help operators adjust thresholds.
4. What should come first: data collection or analytics?
Data collection should come first. Before implementing analytics, utilities need reliable connectivity, correct device-to-property mapping, and device status monitoring. Without these foundations, both rule-based alert systems and machine learning models may incorrectly identify anomalies and generate false alarms.
Stay on top of the latest industry news
Thank you, we have received your message. Our manager will contact you shortly.
Thank you, we have accepted your request. In the near future the responsible manager will contact you and clarify the details of the order.