The water site solution watches the tanks and pump stations of a water supply site. Each tank reports its level; each pump station runs two pumps and reports its phases, thermal relays, line pressure, flow and consumption. Operators see levels against per-tank limits, switch pumps by command and look at each station as a process diagram.
The model
| Part | In the full installation |
|---|---|
| Site | Water site (asset kind Site) |
| Zones | North zone and South zone (kind Area) under the site |
| Devices | Six tanks and six pump stations, three of each per zone, placed in their zone |
| Relations | Each tank CONTROLS the pump station that fills from it |
The CONTROLS relation is how the tank page finds its pump stations and the diagram finds its tank. Edit relations on the asset or device pages; see Relations.
Profile: Water site · Tank
| Key | Label | Unit | Range |
|---|---|---|---|
level_cm | Water level | cm | 0 to 600 |
level_pct | Tank level | % | 0 to 100 |
rssi | Signal (RSSI) | dBm | −110 to −50 |
lat, lng | Latitude, Longitude |
The tank reports level_pct itself; Hermetry does not compute it from the level and the capacity.
Limit attributes (server attributes of each tank):
| Attribute | Default | Used by |
|---|---|---|
lowLevelThreshold | 100 cm | Rule tank_low_level |
highLevelThreshold | 560 cm | Rule tank_high_level |
capacityCm | 600 | Information only |
A tank without one of the threshold attributes is not checked by that rule. Change a tank’s limits on its Attributes tab; the board has no form to edit them.
Alarm rules:
| Type | Severity | Condition | Debounce | Hysteresis |
|---|---|---|---|---|
tank_low_level | Major | level_cm < lowLevelThreshold | 2 readings to raise, 2 to clear | 5 |
tank_high_level | Warning | level_cm > highLevelThreshold | 2 / 2 | 5 |
tank_nearly_empty | Critical | level_pct < 20 | 1 / 2 | 2 |
device_offline | Warning | No message for 600 seconds |
Profile: Water site · Pump station
A pump station is drawn as four diagram elements, p1 and p2 (the pumps), pt (line pressure) and fm (flow meter). Their readings are keys of the form <element>.<field>.
| Key | Label | Type or unit |
|---|---|---|
p1.running, p2.running | Pump 1, Pump 2 running | true / false |
p1.status, p2.status, pt.status, fm.status | Element status | ok, warning, critical |
pt.value | Line pressure | bar, 0 to 24 |
fm.value | Flow meter | m³/h, 0 to 120 |
manual | Manual mode | true / false |
p1_run, p2_run | Pump 1, Pump 2 (commanded) | true / false |
phase1, phase2, phase3 | Phase 1–3 present | true / false |
thermal1, thermal2 | Thermal relay 1, 2 tripped | true / false |
consumption | Consumption counter | m³ |
rssi, lat, lng | Signal, position |
Limit attribute: minPressure, 2 bar by default, read by low_pressure.
Alarm rules:
| Type | Severity | Condition | Debounce |
|---|---|---|---|
phase_loss | Critical | Any of phase1–phase3 is false | 1 / 1 |
thermal_fault | Critical | thermal1 or thermal2 is true | 1 / 1 |
low_pressure | Major | pt.value < minPressure (hysteresis 0.2) | 2 / 2 |
equipment_fault | Critical when any element status is critical; Minor when any is warning | 1 to raise, 2 to clear | |
device_offline | Warning | No message for 600 seconds |
Command: Switch the station (method scada.set_value, tier Basic). Parameters: the control (Manual mode, Pump 1 or Pump 2) and its value (yes or no). The station answers and reports the new state. In automatic mode the station’s own controller may switch a pump again: automatic start and stop stay on the station, not in the cloud.
The board
The board Water site opens on the last 30 minutes.
| Page | Cards |
|---|---|
| Site (main) | Active alarms and Critical alarms counts (a click opens Alarms); Tanks table with level in cm, a level bar (red below 20 %, amber above 90 %), RSSI and last reading; Pump stations device table with pumps, phases, thermals and pressure; Active alarms of the site |
| Regions | Tanks on the map coloured red below 20 %; Zones table with each zone’s device count; Pump stations on the map |
| Tank levels | Water level of every tank as a bar chart |
| Alarms | The alarm table of every tank and station |
| Tank (hidden) | Tank level gauge, Water level chart, Signal (RSSI), the tank’s Zone, Pump stations of this tank, Alarms of this tank |
| Pump station (hidden) | Lamps Phase 1–3 (Present / Lost), Mode (Manual / Automatic), Pump 1, Pump 2 (Running / Stopped), Thermal 1, Thermal 2 (Tripped / Normal); Line pressure gauge 0–24 bar with a Diagram button; Flow and Total consumption charts; switches Manual mode, Run pump 1, Run pump 2; Alarms of this station |
| Diagram (hidden) | The station as a process diagram (tank, inlet valve, two pumps in parallel, pressure transmitter, flow meter, check valve), the Level of the tank gauge and the Flow |
A row or marker of a tank opens its Tank page; a pump station row opens its Pump station page.
The pump switches
Each switch sends Switch the station to the station and asks for confirmation first (“Manual mode: send the command to the station?”). A switch is disabled while the reading is old or unknown. Who may press it is set by the Basic command permission (iot_rpc.send.basic, User by default). See Control cards.
What the solution does not do
| Need | Status |
|---|---|
| Edit tank limits from the board | Not available: use the device’s Attributes tab |
Compute level_pct from level_cm and the capacity | Not done: the tank reports both. A flow can derive it; see Derived values. |
| A chart of the phases over time | Not shown: phases are true/false values, which have no chart history. See Numbers, text and true/false values. |
| Automatic pump control from the cloud | Not built by default: the station’s controller does it |

