Follow water from intake to storage. Check plant inflow, filtered turbidity and clearwell level, and open each stage for its equipment status and readings.
Water Treatment Stages · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotTreatmentTrainSnapshot | null (optional)
Current plant readings, operating targets and stage reports. Omit for the illustrated example or pass null for an unavailable feed.
indexnumber (optional)
Offsets the illustration entrance in a widget grid.
Data and integration
Preview
A fictional water treatment train with six inspectable stages, a reported filter backwash and a measured clearwell level.
Inputs
Send a stable plant or train id and optionally site, observedAt, stale, flowState (flowing, stopped or unknown), inflowMlPerDay, filteredTurbidityNtu, filteredTurbidityTargetNtu, clearwellLevelM and clearwellOperatingHeightM. Stage reports use these keys: intake, mixing, settling, filtration, contact and clearwell. Each accepts a status (operating, standby, backwash, attention, offline or unknown), a note and a list of metrics with id, label, optional value, unit and digits (0 to 3, default 2).
Source options
Send measured inflow in megalitres per day, turbidity and its site-specific target in NTU, and clearwell readings in metres relative to the same datum. Set observedAt in Unix milliseconds and set stale using your feed's freshness policy. The host refreshes each snapshot and can supply stage-level readings in their original units.
Actions
Select a stage to inspect its readings, current status and note. The sheet stays inside the card and displays the report time in UTC.
Integration requirements
Missing, null and non-finite readings are unavailable. The top-level physical readings must be nonnegative. Turbidity is above target only when the measured value exceeds the supplied target. The illustrated clearwell uses measured level divided by a positive operating height, clamped at the top of the drawing. It represents height. The first metric with a valid label and unique id is used. Missing stage states remain unknown. The schematic depicts a fixed, illustrative six-stage layout. Pipe motion requires a fresh snapshot with flowState set to flowing, and bubble motion requires a fresh snapshot with a reported backwash.