An IoT Solution for Real-Time Energy Generation and Usage Monitoring Delivered in 5 Months

IoT Platforms for Real-Time Energy Generation and Consumption Monitoring

Industry
Environment, Energy, Nonprofit
Technologies
.NET, Angular.js, MongoDB, Microservices

Summary

We build IoT platforms that make energy generation and consumption visible in real time across a site or a portfolio of sites. They read from solar inverters, battery systems, grid meters, sub-meters on distribution boards and individual loads such as HVAC, lighting circuits and server rooms, then produce live dashboards, historical trends, balance calculations between generated, stored, consumed and exported energy, and alerts when a value leaves its expected band. This kind of engagement covers sensor selection, device integration, the data pipeline and the visualisation layer.

The Challenge

Sensor selection is an engineering decision, not a purchasing one. Current transformers, pulse-output and Modbus meters, inverter APIs and environmental sensors differ in accuracy class, sampling interval, power requirements and connectivity, and retrofitting existing switchgear constrains what can be installed at all. On the wire, an installed estate mixes protocols, so device-specific behaviour will spread through the whole application unless it is contained at the edge.

Data quality drives the rest of the design. Sensors drop out, clocks drift, readings arrive late or out of order, counters reset, and a faulty transducer produces plausible but wrong numbers. Without gap detection, out-of-order tolerance, counter-rollover handling and range plausibility checks, dashboards quietly display energy that was never generated, which is worse than no dashboard. Raw high-resolution telemetry is also expensive to keep and rarely queried at full detail, so a storage strategy is part of the architecture rather than an operational afterthought.

The Solution

Device integration and normalisation

  • MQTT for lightweight publish and subscribe from constrained devices, HTTP for gateway pushes, Modbus TCP or RTU for building and metering equipment, and vendor-specific formats from inverters.
  • A gateway or protocol adapter normalises all of these into one internal representation before anything downstream sees them.
  • A hardware specialist shortlists sensor vendors and validates that the chosen devices fit the electrical installation.

Ingestion and processing pipeline

We build the ingestion path as a set of services rather than a single application, so ingestion, processing, storage and visualisation scale and fail independently. A dedicated message broker in front of the platform decouples devices from processing, buffers bursts and outages, and is the natural place for validation, deduplication, unit conversion and the merging of several sensor readings into one logical measurement. Actor-based processing frameworks handle high-cardinality device streams well. Telemetry is stored in a time-series oriented store with rollups, so recent detail and long-run history each cost what they are worth. Open platforms such as ThingsBoard supply device registry, rule chains, telemetry storage and dashboarding, and are worth using where deep customisation is available rather than writing that layer again.

Dashboards and alerting

Dashboards answer operational questions directly: what is being generated right now, what is being consumed by which circuit, how today compares with an equivalent period, and where the largest avoidable draw sits. Alerting rules cover threshold breaches, missing device heartbeats and abnormal consumption patterns. Only once a reliable history exists do forecasting and anomaly detection models become worth adding; before that they have nothing dependable to learn from.

How we build and roll out

We start with stakeholder interviews and a site survey, then produce a prioritised requirements specification, an architecture and stack recommendation, and an integration plan covering both hardware and software. Development runs alongside bench testing of the ingestion path with simulated device fleets, so throughput and failure behaviour are known before field devices arrive. A single-site rollout comes first, because it exposes real installation and calibration problems cheaply, after which the same device profiles and rule chains extend to further sites.

What This Delivers

An organisation can see what it generates, stores, consumes and exports as it happens, rather than reconstructing it from bills afterwards. For a move to alternative energy sources, this is the layer that shows whether the switch is paying off and where consumption can be shifted or reduced. Faults and silent devices surface as alerts instead of as gaps discovered later, and comparable history across sites turns energy decisions into evidence-based ones.

Technologies and Tools

MQTT and HTTP for device transport, Modbus TCP and RTU plus inverter APIs for metering and building equipment, a message broker for buffered ingestion, actor-based stream processing, a time-series store with rollups, and ThingsBoard or a comparable open IoT platform for device registry, rule chains and dashboards, hosted in the cloud.