How to monitor Water Pump Stations with Coreflux

Monitor pump station levels, pressure, flow, and alarms.

Dataflow

How it flows

Actions, models, routes and the topics that link them. Click a node to trace its flow.

How it works

Polls a Modbus TCP pump station controller every 5 seconds for inlet well level, outlet pressure, flow rate, and two pump drive signals, then assembles the full station state into a PumpStationModel snapshot on every level reading. The snapshot is immediately stored to PostgreSQL through a topic-triggered route, building a continuous historian with no polling overhead. A dedicated alarm action monitors level and pressure against configurable thresholds, publishing structured AlarmModel fault and recovery events with deduplication flags so each condition logs exactly once on onset and once on recovery. An optional simulator cycles through high-level, low-level, and overpressure fault scenarios to validate the full pipeline before hardware is connected.

When to use it

Ideal for water utilities, municipal pump stations, and lift stations that need real-time sensor visibility alongside a reliable audit trail. Works with any Modbus TCP-compatible pump controller adapt the host, slave ID, and register addresses to your device datasheet.

The notebook

What’s inside

Browse the markdown and code cells before you download.

LoT Notebook:water-pump-station-monitor.lotnb
Related use cases

Similar templates

Templates chosen for overlap in routes, tags, and category.

View all in Smart Cities

Get this template

1 file