Environmental monitoring stations and grid collaboration
Last updated: 2026-11-24
This is a reference scenario and architecture, not a customer case. Instruments, station housing and data review are labeled
reference; compliant monitoring and regulatory upload stay with qualified systems.
Bottom line: environmental monitoring is not mainly about which analyzer to buy. It is about whether siting is representative, whether data is trustworthy, and who acts when a limit is exceeded. A workable pattern: choose factors and sites by scenario, normalize instruments through a data logger or gateway, and route alerts plus maintenance records into one conversation. Regulatory upload continues in the required system; Keragi is the internal collaboration layer.
1. Two different kinds of environmental monitoring
| Type | Object | Typical system | Key requirement |
|---|---|---|---|
| Ambient quality | air, surface water, noise, soil | air quality station, water quality station | siting representativeness, instrument approval, QC and data review |
| Source monitoring | outfalls, fence line, fugitive emissions | source online monitoring, data acquisition unit | installation/acceptance/O&M rules, validity, network upload |
| Park / grid monitoring | parks, streets, enterprise boundaries | micro stations, VOCs points, noise points | cost, density, data quality and maintenance capacity |
Keragi plays the same role in all three: turn monitoring data into actionable alerts and context for the team, not replace the station, the data logger or the regulator.
2. Factors and sensors
2.1 Ambient air and parks
| Factor | Common principle | Typical output | Notes |
|---|---|---|---|
| PM2.5 / PM10 | beta attenuation, light scattering | RS485, 4-20mA, digital | scattering needs humidity correction; beta for fixed stations |
| SO2 / NO2 / CO / O3 | point analyzers, electrochemical | RS485, 4-20mA, analog | fixed stations use analyzers; micro stations use electrochemical |
| VOCs / TVOC | PID, FID, GC | RS485, 4-20mA | park boundary and process areas; explosion-proof and heated lines |
| Noise | sound level meter | RS485, 4-20mA | wind screen, calibrator and time-period statistics |
| Weather (5 params) | integrated weather station | RS485 Modbus RTU | temperature, humidity, wind direction/speed, pressure |
| Station environment | temperature, smoke, door, UPS | digital, RS485 | station faults directly corrupt data |
2.2 Surface water
| Factor | Common principle | Typical output |
|---|---|---|
| pH / DO / conductivity / turbidity | electrode, optical | RS485, 4-20mA |
| Ammonia / total P / total N / COD | digestion colorimetry, UV254, electrode | RS485, 4-20mA |
| Flow / level | Doppler, electromagnetic, radar | RS485, 4-20mA, pulse |
Instrument selection, ranges, detection limits and approval requirements follow the monitoring objective, discharge standard and local rules; this page does not recommend brands or models.
3. Siting and station housing
Ask four questions before siting:
- Representativeness: does this point represent the target area or fence line?
- Comparability: is it comparable with history, nearby sites and regulatory points?
- Accessibility: can maintenance staff safely reach, sample and calibrate?
- Interference: exhausts, cooking fumes, road dust or ventilation nearby?
Denser is not automatically better. More sites also mean more calibration, consumables, communications and invalid data.
4. Data path: how sensors connect to Keragi
Field systems usually have three layers: sensor/analyzer → data logger or edge gateway → platform. Keragi sits on the platform side and does not drive instruments.
| Path | Data flow | Fits | Notes |
|---|---|---|---|
| WASM gateway resource | gateway → MQTT/HTTP → server gateway → conversation | multi-site, unattended, alert reporting | with E2EE it only handles plaintext/bot channels |
| Local edge bridge | gateway → trusted local host → conversation | reading E2EE, local interlock, serial devices | the bridge host is a trust boundary |
| Client participant | gateway-class device joins with subaccount-like identity | edge gateways with secure storage | device identity is still planned; manage credentials yourself |
Standardization the gateway must handle:
- adapt 4-20mA, RS485 Modbus RTU, pulse and digital inputs with per-instrument registers and scaling;
- normalize to
deviceId,pointId,value,unit,ts,quality,seq; - synchronize time with NTP and keep both device and gateway timestamps;
- attach a quality flag: good, calibrating, fault, maintenance, invalid;
- store and forward with sequence numbers and deduplication;
- report on change: exceedances immediately, normal values periodically or on deadband.
Avoid scattering Modbus register addresses across platform config, using transparent pass-through as a substitute for edge parsing, or letting each site define its own field names. Once sites multiply, alert rules stop being reusable.
5. Data quality matters more than alert count
| State | Meaning | Handling in the conversation |
|---|---|---|
| Good | passed QC, within validity | participates in alert evaluation |
| Calibrating | zero/span check, comparison | suppress alerts, record the operator |
| Fault | instrument alarm, comms loss, sampling fault | create a maintenance ticket, do not call it an exceedance |
| Maintenance | consumable change, cleaning, repair | record the maintenance window |
| Invalid/suspect | out of range, step change, QC failure | flag it, exclude from performance statistics |
Keep calibration records, reference-material validity, maintenance check-ins and backfill notes on the same timeline. Keragi does not judge data validity, but it keeps these states and human confirmations together for review.
6. Exceedance and maintenance workflow
Suggested levels:
| Event | Level | Human action |
|---|---|---|
| Persistent concentration exceedance | P1 | verify instrument and nearby sites, follow the response plan |
| Site offline / data interruption | P2 | check power, comms, logger; record backfill |
| Instrument fault / calibration due | P3 | schedule maintenance, avoid false pollution events |
| Station environment alarm | P3 | inspect on site, prevent data corruption |
| Abnormal fugitive VOCs | P1/P2 | combine wind and process state, consider on-site monitoring |
7. What AI can and cannot do
Can: group simultaneous exceedances and offline events; combine wind, weather, history and maintenance records to suggest a troubleshooting order; draft handover summaries and timelines; remind about calibration, consumables and certificates; answer questions that span records.
Cannot: judge validity or legal exceedance; replace a qualified station, data logger or regulatory upload; control sampling, calibration or treatment equipment; replace on-site safety procedures.
8. Relationship with regulatory platforms
| System | Responsibility | Relationship to Keragi |
|---|---|---|
| Station / data logger | sampling, analysis, QC, HJ 212 upload | independent; status and alerts may be mirrored into conversations |
| Regulatory platform | data reception, review, assessment | not replaced by Keragi |
| Treatment / PLC | dust removal, desulfurization, VOCs treatment | independent; Keragi does not control it |
| Keragi | alert collaboration, maintenance records, AI summary, handover | collaboration only, no compliance judgement |
9. Security and boundaries
- Private and group text can use optional E2EE (off by default); device data through a gateway uses plaintext/bot channels.
- Give gateways and loggers their own credentials with source, rate and timeout limits; never expose management interfaces to the internet.
- Explosion-proof areas, heated lines, sampling platforms and confined-space work follow site procedures.
- Treatment equipment and actuators need independent control and safety interlocks with human confirmation and emergency stop.
- This page is not a monitoring method, instrument selection or compliance conclusion; follow current standards, permits and local rules.
10. Pilot checklist and metrics
| Item | Suggestion |
|---|---|
| Server | one Linux x86_64 host, SQLite (HelixDB supported) |
| Gateway | Modbus RTU/4-20mA edge gateway, one site first |
| Site | six-parameter micro station, or VOCs + weather + noise |
| Rooms | maintenance room plus on-call room |
| Rules | threshold, duration, hysteresis, calibration/maintenance suppression |
| Records | acknowledger, action, backfill note, closure |
Observe:
- time from exceedance to first acknowledgement;
- invalid data ratio and offline duration;
- on-time calibration/maintenance rate;
- handover summary completeness;
- effective alert ratio after deduplication across sites.
11. Common failure modes
- Stations without maintenance: data drifts quickly;
- Alerts without state: calibration and faults treated as exceedances;
- Inconsistent site naming: cross-site statistics become impossible;
- Pass-through all the way: the platform carries parsing and breaks when instruments change;
- Dashboards without closure: exceedances still handled by phone.
Next steps
- Read device integration modes.
- Read the hardware and integration overview.
- Follow the five-step pilot with one site first.
- For delivery support, see FDE delivery with Keragi.
- For encryption scope, read the E2EE boundaries.
Frequently asked questions
Does this replace an ambient air quality monitoring station?
No. Station housing, instrument selection, quality control, data review and regulatory upload follow dedicated standards and qualifications. Keragi handles alerts, maintenance collaboration, handover and review after data reaches the team; it does not replace compliant monitoring or validity judgement.
How do environmental sensors connect to Keragi?
Typically sensors and analyzers connect to a data logger or edge gateway; the gateway adapts 4-20mA or RS485 Modbus RTU and reports over MQTT or HTTP to Keragi's gateway resource or a local bridge. Keragi does not parse Modbus natively and ships no instrument drivers.
Can Keragi upload data to the regulator?
No. Regulatory upload is usually done by a data acquisition unit per HJ 212 and related rules, with qualification, acceptance and data validity requirements. Keragi is for internal collaboration and alerts only.
Do we need VOCs, noise and weather at every site?
No. Start with the factors required by the permit or monitoring objective, then add supporting parameters. For grid monitoring, siting representativeness, data quality and maintenance cost matter more than parameter count.
How does a minimum pilot look?
One Linux x86_64 server, one edge gateway, one site (six-parameter or VOCs plus weather), one maintenance conversation and agreed alert levels. Validate data quality and alert flow before scaling sites.