New: the AI firewall watches every module and explains each incident in plain words. See how it works

Wastewater lift station monitoring and overflow alarms

A blueprint for watching sewage lift stations on Hermetry: wet well level, pump health, blockage signs, overflow events and dry-weather spills, with alarms that survive storms.

At a glance

ItemTypical answer
ProblemLift stations block, trip or lose power without warning; overflows are found by the public or by the regulator.
What is connectedWet well level, high-level and overflow floats, pump run, fault and current, mains, rain gauge, door and gas detector, optionally a camera.
Who uses itWastewater control room, the on-call pump crew, the maintenance planner, the compliance officer.
Typical first scopeFive to ten stations in one catchment, including the ones with a history of spills.
Time to first screenTypically days after the first gateway is installed; plan four to six weeks for a pilot through at least one rain event.

The situation

A sewer network relies on many small lift stations: a wet well, two or three submersible pumps, a level controller or PLC, and an emergency overflow to a watercourse. They sit in roadsides, parks and low points of housing estates, almost always unmanned. Wipes and rags wrap around impellers, grease rafts foul level sensors, and a single tripped pump during a storm is often enough to spill.

The damage is visible and expensive: pollution of a stream, flooded basements, complaints, and in many jurisdictions a reportable overflow event with its start time, duration and cause. Many stations still have only a local alarm light or an autodialler that calls one phone number. Crews visit on a schedule and clear blockages when they find them, rarely before they cause trouble.

This blueprint connects every station to Hermetry, detects the early signs of blockage and pump wear, records each overflow with its time and duration, separates storm spills from dry-weather spills, and routes alarms so the on-call crew is not buried during heavy rain.

Goals and measures

  • Overflow events per station per month, with start, end and duration from the overflow float or level, and total spill hours per year.
  • Dry-weather overflows: overflow events when the catchment rain gauge recorded less than an agreed amount (for example 1 mm) in the previous 24 hours. These usually mean a blockage or a pump failure, not hydraulic overload.
  • Pump starts per hour = increase of the start counter per hour; above the motor's rating (often 10 to 15 for small submersibles, check the data sheet) points to a narrow level band or a failing non-return valve.
  • Run time per cycle = run hours increase ÷ starts increase. A cycle that lengthens at similar inflow points to wear or partial blockage.
  • Pump-down rate = wet well level fall per minute while one pump runs. Multiplied by the wet well area it gives an estimate of net pumping capacity; a falling value is an early sign of ragging.
  • Station availability = time with mains present and at least one pump healthy and in auto ÷ total time.
  • Mean time to respond = from alarm opened to acknowledged, and to resolved, per alarm type.

Architecture

Each station gets a licensed gateway with Hermetry Edge in the control kiosk. It reads the level controller or PLC over Modbus RTU or Modbus TCP, wires floats and contacts to its digital inputs and, where there is no PLC, reads the level transmitter on an analog input. It sends telemetry over MQTT with TLS on one outbound connection, using your own SIM and operator on a licensed 4G router or a gateway with a built-in modem. eSIM profile management from the platform, part of Hermetry Connect, is in development.

ComponentRoleNotes
Licensed gateway with EdgeReads Modbus, floats and contacts; publishes telemetryFactory identity, claimed in one step; buffers readings while the link is down, capacity depends on the model.
Level controller or PLCRuns duty, assist and standby pumpsStays the only controller of the pumps.
Ultrasonic or hydrostatic level transmitterWet well level4-20 mA into the PLC or the gateway.
High-level and overflow floatsIndependent backup and spill detectionWired directly to gateway inputs, not only to the PLC.
Pump protection relay or driveRun, fault, currentModbus where available, contacts otherwise.
Tipping-bucket rain gaugeRainfall at a few stations per catchmentPulse input on the gateway, counted as a total.
Fixed gas detectorAtmosphere in the wet well or kioskAlarm contact or 4-20 mA.
RTSP cameraLive view of the overflow or the gateOptional; live view in Hermetry, H.264 streams.
HermetryStorage, alarms, rules, dashboards, SCADAHosted region of your choice or on premises.

Licensed devices authenticate with a certificate from the platform's own authority, and the device profile requires TLS. Where a station's PLC is already on a site Ethernet with a licensed router, the gateway reads it over Modbus TCP and the router's own web panel can be opened from Hermetry through router remote access, without a fixed IP or a VPN.

Point list

A typical three-pump station (duty, assist, standby). Register numbers are examples from a common controller map.

PointTelemetry keyUnitSourceIntervalNotes
Wet well levelwell_level_mmLevel controller, holding register 4000130 sRange 0 to well depth in the profile.
Wet well level, percent of operating bandwell_level_pct%Controller, 4000230 sOne alarm rule fits wells of different depths.
High-level floathl_floatboolGateway DI1on changeIndependent of the transmitter.
Overflow floatoverflow_activeboolFloat in the overflow chamber, DI2on changeStart and end of each spill.
Pump 1 runningp1_run0/1Controller status bit or DI3on changePlus a heartbeat every 15 min. Send as a 0/1 number, not true/false, for history.
Pump 1 faultp1_faultboolProtection relay, DI4on changeOverload, thermal or seal leak.
Pump 1 in autop1_autoboolController status biton change
Pump 1 currentp1_current_aAProtection relay, Modbus30 sRagging raises current at first.
Pump 1 startsp1_startscountController counter, 4002015 min
Pump 1 run hoursp1_hourshController counter, 4002115 min
Pumps 2 and 3p2_*, p3_*as pump 1as pump 1as pump 1Same keys with the pump number.
Mains presentmains_okboolPhase failure relay, DI5on change
Kiosk doordoor_openboolReed contact, DI6on change
Gas alarmgas_alarmboolFixed detector alarm relay, DI7on changeUse the detector's own relay level.
Rain totalrain_total_mmmmTipping bucket, pulse input5 minRain per hour and per day from the increase.
Rain, last 24 hoursrain_24h_mmmmComputed in a flow from the total5 minRead by the dry-weather rule.
Station energyenergy_kwhkWhEnergy meter, Modbus15 minOptional; kWh per m³ if flow is known.
Controller communicationplc_comm_okboolGateway Modbus status60 s
Kiosk temperaturekiosk_temp_c°CGateway or small sensor5 minFrost and overheating of drives.
About 30 keys per station. Keep names identical across stations of the same layout.

Asset model

Build the tree in Sites & Assets by catchment, because overflows and rainfall are judged per catchment:

  • Catchment (free kind) with receiving_water, permit_reference and dry_weather_rain_limit_mm.
  • Lift station (Site) with location, time zone, wet_well_area_m2, overflow_reference, criticality and has_generator_connection.
  • Wet well (Area) and Pump 1-3 (Machine) with rated_kw, max_starts_per_hour and impeller_type.
  • Rain gauge (Area) under the catchment, so rules of every station in the catchment can read it.

Place the gateway on the station asset. Because a rule may only name devices under its home, put the rain gauge under the catchment and give dry-weather rules the catchment as their home: the rule can then read both the station's overflow and the catchment's rain gauge. The tree also drives the Sites board, which colours each station by the worst status of its devices, and lets the compliance officer filter alarms and history by catchment.

Device setup

Profiles

Create one profile per station layout, for example Lift station, 2 pumps and Lift station, 3 pumps. Use the Recent message online rule with an expected interval of 30 s and declare every key with its unit and range. Put alarm rules and the command catalog on the profile, so a new station of the same layout needs no rule work at all.

Provisioning and settings

Claim each licensed gateway by scanning its code and assign the profile. Modbus addresses, serial settings, input debounce and reading intervals are managed with remote device settings: per station from the device's Settings tab, or for every station of a layout with a baseline applied by a bulk job. The job runs in waves and pauses itself if too few devices apply the change; a dry run shows the effect first. Secrets in settings are never shown; leave a secret field unchanged to keep it.

Intervals and report by exception

Floats and contacts report on change with a periodic heartbeat; level and current every 30 seconds. The gauge's running total becomes a 24-hour rain sum in the gauge profile's root flow: a Delta block turns the total into rain per reading, a Statistics block sums it over the last 24 hours, and the result is saved as rain_24h_mm. Test it in the flow test runner before deploying. A 30-second level gives a usable pump-down rate. If the gateway model supports a deadband, keep it below 1 cm for level so that pump-down rates stay accurate; if not, the profile's root flow can drop unchanged values with a report-by-exception block before they are stored.

Time stamps and outages

Overflow duration is a compliance figure, so time stamps matter. Let the gateway stamp readings only with a synchronised clock. During a link outage, licensed gateways keep readings and send them afterwards with their original times; Hermetry stores them and evaluates the overflow alarm as a backfill. A spill that began and ended while the station was offline appears in the alarm history with its real start and end, marked Backfilled, and nobody is paged for the past. A spill still open when the station reconnects is announced once.

Cameras

Where a camera watches the overflow outfall or the gate, add it as a camera device. Hermetry connects to RTSP cameras and supported recorders, plays an H.264 stream live on the station page and starts the live view only when someone opens it. The number of simultaneous live cameras follows your plan.

Dashboards

BoardAudienceWidgets
Catchment overviewControl roomMap of stations coloured by status; site table with level, pumps running, open alarms and last seen; stat cards for stations in overflow now and stations with a pump fault; alarm table filtered to Critical and Major.
Station pagePump crewGauge for wet well level; state cards for each pump; line chart of level and pump currents over 24 hours; the station drawing; live camera card where fitted; activity feed of recent alarms and commands.
Pump healthMaintenance plannerBar chart of starts per day per pump; line chart of run time per cycle over 90 days; table of stations sorted by pump current against their normal value; heatmap of pump running by hour.
Overflow registerCompliance officerTable of overflow alarms per station with start, end and duration from the alarm history; bar chart of spill hours per month; rain per day beside spills, downloadable to Excel.
Storm viewControl room during rainTable of stations sorted by wet well level percent; stat card for rain_24h_mm per catchment; alarm table showing only Critical.

One board with the station as an entity parameter serves every station; click a row on the overview to open its page. A wall screen in the control room shows the catchment overview through a display link: read-only, no sign-in, revocable.

SCADA screens

Draw one process drawing per station layout. The Water pack covers water, wastewater and city networks and includes lift station, screw pump, bar screen and measuring flume symbols, beside pumps, valves and tanks from the core set; see the SCADA library.

  • Layout: inlet sewer, wet well with level, two or three pumps with non-return and isolating valves, rising main, overflow weir to the outfall, the kiosk with mains and generator connection.
  • States: pumps show running, stopped and fault; the wet well fills with well_level_pct and turns amber above the assist level; the overflow symbol turns red and blinks while overflow_active is true.
  • Second readings: each pump prints its current; the wet well prints level in metres and percent.
  • Reuse: attach the drawing to the station profile from its Views button so every station of the layout gets its own view and bindings; Match everything proposes devices for unbound symbols.
  • Commands on symbols: a pump symbol can carry the basic-tier fault reset command, behind a confirmation that names the pump and the command.

Rules and alarms

AlarmConditionDelay and hysteresisSeverityNotifiedEscalation
Overflow activeoverflow_active == trueDebounce 30 s raise, 120 s clearCriticalOn-call pump crew and control room, SMS and pushReminder every 10 min until acknowledged
Dry-weather overflowRule in the catchment: when overflow_active becomes true, only if rain_24h_mm is below the catchment limit, then raise alarm and notifyCriticalPump crew supervisor, SMS; compliance officer, e-mailRunbook: treat as blockage or failure
High levelhl_float == true or well_level_pct > 90Debounce 60 s; hysteresis 5 %MajorControl room, pushRises to Critical if well_level_pct > 97
Pump faultp1_fault == true (one rule per pump)Debounce 2 samplesMajorPump crew, push and e-mailReminder every 30 min
Possible raggingp1_current_a > attribute p1_current_limit_aDebounce 300 s; hysteresis 1 A; dampening onWarningMaintenance planner, in-appNone
Mains failuremains_ok == falseDebounce 20 sCriticalOn-call crew, SMSReminder every 10 min
Gas alarmgas_alarm == trueDebounce 5 sCriticalOn-call crew and supervisor, SMSRunbook: no entry without personal detector
Station offlineInactivity rule, 10 minMajorControl room, pushReminder every 30 min
Door opendoor_open == trueDebounce 60 sMinorControl room, in-appNone

Lifecycle and records. Each alarm opens after its debounce, is acknowledged by the crew member who takes it and resolves when the condition clears. The alarm timeline keeps opened, severity changes, notifications, acknowledgement, notes and resolution, which gives the overflow register its start, end and handling. Resolved alarms are kept for 365 days by default; an administrator can change that.

Storms. Heavy rain lifts many wells at once. Plan for it: High level is Major and only Overflow and Mains failure are Critical; reminders stop once someone acknowledges; the same change is notified at most once in five minutes; above 20 notifications a minute Hermetry sends a digest every five minutes with a link to the filtered list. Critical alarms reach recipients even when they turned that kind of notification off, unless an administrator disables that bypass.

Maintenance. Before a crew pumps a well down by hand or desilts it, mute the station for the duration. Alarms are still recorded and marked muted, so the overflow register stays complete, but nobody is paged. Mutes end by themselves and are audited.

Automation and integrations

  • Commands: the profile's catalog can offer pump.reset_fault (basic) and station.pump_down (critical, high impact, with a typed confirmation), if the gateway model and the controller support them. Each command is followed from queued to successful, failed or timed out; a timeout means no answer arrived, not that nothing happened. High-impact commands are written to the audit log.
  • Manual and Auto: when a crew works on a station, switching its place to Manual in the Rules card stops every rule of that place and prevents any rule from sending commands to its devices; notify-only rules marked Also runs in Manual keep warning the control room.
  • Work orders: a webhook on alarm.created sends Pump fault and Possible ragging alarms to the CMMS, which creates the job; alarm.cleared closes the loop.
  • Overflow notification to third parties: where a permit requires informing an authority within hours, a flow on the alarm trigger can call the authority's or your own reporting endpoint over HTTP; most teams keep a person in that loop.
  • Records: overflow events and their durations export from the alarm table and history tables to Excel. Scheduled, e-mailed reports are not built in today.

Roles and access

WhoAccessCan
Control room operatorUser with the IoT operator groupSee all stations, acknowledge alarms, send basic commands, switch a station to Manual.
On-call pump crewUser, scoped to their catchments by policySee their stations and cameras, acknowledge alarms, reset faults.
Maintenance plannerUser with the IoT viewer groupRead every board, export history.
Compliance officerUser with the IoT viewer groupRead the overflow register and alarm history, export.
Telemetry engineerAdminProfiles, alarm rules, settings jobs, drawings, mutes, command catalog.

Every acknowledgement, mute, command and setting change is recorded with who and when; the audit log is a hash chain that can be verified and exported as CSV or NDJSON. If a contractor operates some catchments, give them their own organisation or a scoped membership instead of shared accounts.

Sizing and data

As an order of magnitude for 80 stations:

  • Analog values (level, currents) every 30 s in one message: 80 × 2,880 = 230,400 messages a day.
  • Contacts, counters and heartbeats: about 300 a station a day, 24,000 messages a day; storms add more.
  • Total around 255,000 messages a day, roughly 7.7 million a month.
  • Values: about 6 analog keys × 2,880 + the rest ≈ 20,000 per station a day, 1.6 million a day for the fleet.
  • Per device this is far below the default rate limits of 10 messages a second and 300 a minute.

If the message allowance is tight, a 60-second level interval halves the analog traffic while keeping pump-down rates usable. Overflow and alarm history is small; raw level and current data are the bulk. Raw readings are kept for at most 90 days, so do blockage analysis within that window (export what you need to keep) and read longer trends from hourly and daily aggregates. Treat these figures as planning estimates.

Rollout plan

PhaseWeeksWorkExit criteria
0. Survey1-2Controller maps, float wiring, kiosk power and signal per station; pick pilot stations with known spill history.Point list per layout; overflow detection method agreed per station.
1. Pilot3-8Five to ten stations, one catchment, rain gauge, profiles, alarm rules, drawings.At least one rain event recorded; every overflow cross-checked with site evidence.
2. Tuning9-10Adjust current limits, debounce and severities from pilot data; agree on-call routing.Fewer than an agreed number of nuisance alarms per station per week.
3. Rollout11-24Remaining catchments, ten to fifteen stations a week; bulk settings jobs; cameras where wanted.All stations reporting; overflow register produced from Hermetry.
4. Commandsafter 3Command catalog per layout, tested with each controller type.Each command tested in a safe state on site.

Commissioning checklist

  1. Gateway claimed, on the right layout profile, placed on the right station.
  2. Wet well level compared with a dip measurement at two levels.
  3. Each float lifted by hand: hl_float and overflow_active change in Hermetry, alarms open and notify the right people.
  4. Each pump run in hand: run state and current seen; fault simulated on the protection relay.
  5. Rain gauge tipped by hand a known number of times; the total increases by the expected amount.
  6. Gas detector alarm relay tested with the supplier's test procedure.
  7. Time stamps checked against a known event; station time zone set.
  8. Link unplugged for 15 minutes with a float lifted and lowered meanwhile: the offline alarm opens, and the spill appears afterwards as a backfilled alarm with the right times.
  9. Drawing bound with no symbols listed in the Problems tab; camera live view opens.
  10. Runbook texts filled in for Overflow, Dry-weather overflow and Gas alarm.

Pitfalls

  • Overflow from the transmitter only. Grease on the sensor hides a spill; use an independent float in the overflow chamber.
  • Rain gauge in the wrong place in the tree. A dry-weather rule cannot read a gauge outside its home; place gauges under the catchment.
  • Everything Critical in a storm. The crew stops reading notifications; keep High level at Major and rely on reminders and digests.
  • Current limits from the nameplate. Use each pump's normal running current from the first weeks of data, written as a device attribute.
  • Forgetting mutes after maintenance. Set an end time on every mute.
  • Counting spills from alarm count. One long spill with a chattering float can look like many; use clear debounce and dampening, and report durations.
  • Commands too early. Remote pump-down without a crew on site needs a written procedure; start read-only.

What Hermetry does not replace

Pump control, level control and motor protection stay in the station controller and protection relays and must work without the link. Gas detection for confined-space entry relies on personal detectors and the permit-to-work process, not on a fixed detector shown in Hermetry. Hermetry records overflow times and durations; the regulatory return, its review and its submission remain your process.

See your field data live this week

Start a trial in your region with your first devices, or book a demo and bring your own use case.