H2S above threshold at an unmanned wellsite
An electrochemical H2S detector hitting the OSHA ceiling at an unmanned wellsite is a hazardous event with nobody there to respond. The alarm needs to fire before the next scheduled site visit.
Engineering intelligence. Let’s talk Solution pack / Magistrala
The Oil & Gas Field Monitoring pack gives upstream production teams real-time visibility across wellhead gateways, flow meters, pressure sensors, gas detectors, storage tank sensors, separator controllers, and pump controllers. Five detection rules cover high wellhead pressure, H2S and LEL gas hazards, low oil flow, rising water cut, and tank overfill protection.
Why Magistrala
Field devices connect over MQTT with per-client credentials, so a compromised sensor does not expose the rest of the wellsite network. Raw telemetry and validated data flow through separate channels, keeping detection rules clear of corrupted sensor records. One Well Operator template scales to any number of wellheads without duplicating dashboard configuration.
Explore the platformPlatform dashboards
Purpose-built dashboards for every layer of your oil & gas field monitoring deployment.
The challenge
Wellhead incidents, gas hazards, and overfill events all have warning signals; the problem is having a system that catches them in time.
An electrochemical H2S detector hitting the OSHA ceiling at an unmanned wellsite is a hazardous event with nobody there to respond. The alarm needs to fire before the next scheduled site visit.
When the transfer pump trips at midnight and nobody notices, crude keeps flowing into the tank. By morning the level is at 90% and the spill risk window is closing.
Pressure excursions that develop between manual checks can reach critical levels before anyone looks at the gauge. Continuous monitoring catches the trend at 1800 psi before it reaches 2200.
How it works
Four steps from wellhead sensor to actionable alarm
Wellhead sensors and controllers publish SenML payloads over MQTT to the Raw Telemetry Channel using per-device credentials. Every reading is saved immediately.
A data processing rule checks each incoming record against field safe ranges before alarm logic runs. Out-of-range sensor values are discarded before they reach detection rules.
Five rules watch clean data continuously. Pressure above 1800 psi fires a warning; above 2200 psi fires critical. H2S above 5 ppm triggers a gas hazard warning. Tank above 85% triggers an overfill warning.
Daily production, weekly operations summary, and monthly compliance reports go out automatically by email. Long-term production records write to PostgreSQL for regulatory reporting.
Applications
Where upstream operators deploy the Oil & Gas Field Monitoring pack
Flow rate, gas-oil ratio, and water cut tracked continuously across producing wells. Daily production reports close the loop without manual data collection.
Continuous OSHA-threshold monitoring at wellheads. Gas hazard alarms fire within seconds and reach on-call contacts by email.
Crude oil storage level monitored against two fill thresholds. Warning at 85% gives trucking schedulers a lead window before spill risk at 95%.
Separator temperature and pressure trended for process upsets. Transfer pump status displayed and controllable from the KPI dashboard.
Benefits
FAQ
Open the High Pressure Alert rule in the Rules page and edit the threshold constants. The defaults (1800 psi warning, 2200 psi critical) are typical Permian Basin parameters. Replace them with your well's specific MAOP specification.
Yes. Each field site is a Magistrala domain with its own device clients, channels, and rules. The Well Operator and Field Manager Summary templates use tag-based device references, so deploying a new well means provisioning its clients and assigning a group.
The Gas Leak Detection rule sends email notifications to configured recipients the moment the alarm fires. For SMS or Safety Management System integration, use the rule's webhook output to POST the event to your external system.
Either works. Each device type has its own client credentials, so sensors can connect directly if they have MQTT capability. In most field deployments, all sensors route through the Wellhead Gateway for a single TLS connection.
Your next step
Start free on Magistrala Cloud, or contact us to scope a custom deployment for your organisation.
More solution packs
Most utilities find out about burst pipes from tenant complaints. This pack connects your meters and sensors to a single platform, catches problems in seconds, and files weekly compliance reports automatically.
Digitize urban infrastructure and unify civic command centers. Monitor traffic, energy, and public utilities from a single platform.
Balance loads and monitor renewable generation with sub-millisecond telemetry and automated alerts.