Skip to content
IoT & Telemetry

HydroPlus

A telemetry and control platform for distributed water infrastructure, built around event streams, hard alarm guarantees and long-horizon data retention.

Year
2025
Type
Industrial water telemetry platform
Status
In production
Audience
Municipal water operators, industrial utilities and maintenance teams.
HydroPlus system visual
01Overview

The context.

HydroPlus monitors pumping stations, reservoirs and distribution lines from a single operational surface.

The platform ingests high-frequency sensor telemetry, detects anomalies against learned baselines, and escalates alarms through channels that survive partial infrastructure failure.

It was designed for operators who are legally accountable for water quality and continuity, so every reading and every acknowledgement is auditable.

02Problem

What was actually broken.

Pain observed
  • Faults were discovered by complaint, not by instrumentation.
  • Each vendor shipped its own isolated dashboard and protocol.
  • Alarms were noisy enough that operators had learned to ignore them.
  • Historical data existed but could not be queried at a useful resolution.
Business risk

Unplanned downtime and losses through undetected leaks, with no defensible record of response times.

Technical constraint

Heterogeneous devices, unreliable field links, and a write volume that punishes naive relational modelling.

03Solution

What was engineered.

  • A protocol-agnostic ingestion gateway normalises MQTT and Modbus device traffic into a single event schema at the edge.
  • Telemetry lands in a time-series store with continuous downsampling, so a five-year query is as cheap as a five-minute one.
  • An event-driven rules engine evaluates thresholds and learned baselines, with alarm de-duplication and explicit acknowledgement state.
  • Operator dashboards render live streams over WebSocket with server-side aggregation for historical views.
04Architecture

Layer by layer.

Frontend

Real-time operations console with streaming charts and alarm inbox.

  • React
  • TypeScript
  • Recharts
  • WebSocket
Backend

Ingestion gateway, rules engine and query API as independent services.

  • Node.js
  • Python
  • Fastify
API

REST for configuration, WebSocket for live telemetry, webhooks for escalation.

  • REST
  • WebSocket
  • Webhooks
Database

Time-series hypertables with continuous aggregates and retention policies.

  • PostgreSQL
  • TimescaleDB
Messaging

Durable broker decoupling ingestion from evaluation and notification.

  • MQTT
  • Redis Streams
Infrastructure

Containerised deployment with health-gated rollouts and metric scraping.

  • Docker
  • Prometheus
  • Grafana
Authentication

Role-scoped operator accounts with signed device identities.

  • JWT
  • mTLS
  • RBAC
Storage

Cold archive of raw frames for regulatory replay.

  • Object storage
  • Parquet
05Decisions

The why behind each trade-off.

Why event-driven architecture?

Ingestion, evaluation and notification fail for different reasons and scale at different rates. A durable broker between them means a slow notifier never drops a sensor reading.

Why TimescaleDB rather than a dedicated TSDB?

Operational data is relational — sites, assets, technicians — and telemetry is time-series. Keeping both in PostgreSQL removed an entire class of cross-store consistency bugs.

Why normalise at the edge?

Pushing protocol quirks into a gateway keeps every downstream service working against one schema. New device vendors become a gateway adapter, not a platform change.

Why mTLS for devices?

Field hardware sits in physically accessible cabinets. Signed device identity means a stolen credential cannot be replayed from an arbitrary network.

06Challenges

What resisted.

  • Scalability

    Write amplification from per-reading rows was the first wall. Batched inserts plus hypertable chunking turned a scaling problem into a configuration problem.

  • Reliability

    Alarms must fire when the platform itself is degraded, so escalation runs on an independent path with its own health checks.

  • Deployment

    Field gateways update over intermittent links, so rollout is staged, resumable and always reversible to the previous signed image.

  • Security

    Control commands are separated from telemetry by a distinct authorisation boundary and a second confirmation step.

07Lessons

What it taught.

  • Alarm quality is an engineering discipline. An alarm that operators mute is worse than no alarm.
  • Retention strategy belongs in the first design review, not the first invoice.
  • The boundary where you normalise data determines how expensive your next integration is.
08Results

Measured, not claimed.

12k msg/min

Ingest

Sustained peak across the fleet.

<2s

Alarm latency

Sensor event to operator notification.

5 years

Retention

Queryable through continuous aggregates.

99.95%

Uptime

Rolling twelve-month platform availability.

09Gallery

The system in context.

Live telemetry console with streaming aggregates.
Live telemetry console with streaming aggregates.
Edge gateway topology across distributed stations.
Edge gateway topology across distributed stations.

Technology stack

Frontend
  • React
  • TypeScript
  • Recharts
  • Tailwind CSS
Backend
  • Node.js
  • Fastify
  • Python
Data
  • PostgreSQL
  • TimescaleDB
  • Redis
IoT
  • MQTT
  • Modbus
  • Edge gateway
Observability
  • Prometheus
  • Grafana
  • OpenTelemetry
Next case studyERP Architecture