Integrations • MQTT Sparkplug B

How to Connect MQTT Sparkplug B to Cloud SCADA

Merobix Engineering • • 7 min read

MQTT Sparkplug B is the modern way to move industrial data from the edge to the cloud - lightweight, publish-by-exception, and built for unreliable connectivity. This guide explains how Merobix ingests Sparkplug B, so edge gateways at remote oilfield sites can feed a cloud dashboard efficiently.

Back to Blog

Short version: Merobix subscribes to MQTT Sparkplug B, so an edge gateway that publishes field data by exception can feed the cloud platform directly. Adopting it can be as simple as pointing Merobix at the same broker your edge nodes publish to - efficient on cellular, with no inbound firewall rules.

Why Sparkplug B for the Edge

MQTT is a lightweight publish/subscribe protocol; Sparkplug B is the industrial specification on top of it that defines how devices, tags, and state are represented and published by exception. It suits remote sites because it publishes only on change (saving cellular data and battery), connects outbound to a broker (no inbound firewall rules), and handles connection state cleanly. See what IIoT is and edge computing for context.

Ingesting Sparkplug B Into Merobix

If you already run edge gateways publishing Sparkplug B - common with modern IIoT and an edge SCADA product deployments - Merobix subscribes to the same broker, so migration or expansion can be as simple as adding a subscriber. Where you do not yet have MQTT, a Merobix cellular gateway can read local devices and publish to the cloud on your behalf.

How to Connect MQTT Sparkplug B Data to Merobix

  1. Confirm the protocol and connection. Identify that your device speaks MQTT Sparkplug B and how it is reached - a direct IP address, a serial connection, or through a cellular gateway at the site.
  2. Establish connectivity to the cloud. For remote sites, a cellular edge gateway reads the local device and connects outbound to the cloud - no fixed IP, no inbound firewall rule, no VPN. On networked sites, a direct connection works.
  3. Map the tags you care about. Select the registers, points, or nodes you want to monitor - pressures, levels, flows, states, alarms - and map them to named tags with engineering units. Merobix configures this for you as part of onboarding.
  4. Set polling or report-by-exception. Choose how data is collected - scheduled polling for reliable links, or report-by-exception to conserve cellular data and battery on remote sites.
  5. Verify data and set alarms. Confirm live values match the field, then set alarm thresholds. Sub-30-second SMS and email alarms are included, so the data is not just visible - it reaches someone when it matters.

Frequently Asked Questions

Can Merobix subscribe to my existing MQTT broker?

Yes. Merobix subscribes to MQTT Sparkplug B, so if your edge gateways already publish to a broker, Merobix can consume the same feed - often as simple as adding a subscriber, with no field changes.

Why use MQTT Sparkplug B for remote sites?

It publishes by exception (only on change plus a heartbeat), which conserves cellular data and battery, and connects outbound to a broker so no inbound firewall rule is needed. That suits remote, low-power oilfield sites well.

What if I do not have MQTT yet?

A Merobix cellular edge gateway can read your local devices (Modbus, DNP3, etc.) and publish to the cloud, so you get the benefits of edge publishing without building an MQTT stack yourself.

Sources and verification

This page references the standards, specifications, and official documentation published by the organizations below. Editions, product capabilities, and documentation change over time - confirm current requirements and specifications directly with the source.

Last reviewed: July 27, 2026. Merobix is not affiliated with, endorsed by, or sponsored by these organizations; their names are used only to identify the standards and products discussed.

Prove It Reads MQTT Sparkplug B Data

Book a demo and we will connect to your actual devices on your own sites - proof it talks to your gear, live in days.

Request a Free Demo +1 (903) 307-7300
More in Integrations
Connect Modbus  •  Connect DNP3  •  Connect OPC UA  •  Connect EtherNet/IP  •  Connect Siemens S7  •  Connect IEC 60870  •  Connect BACnet  •  Connect Flow Computers  •  Connect Allen-Bradley  •  All Integrations →
Free SCADA operator training
Merobix University - 70 video lessons & 261 quiz questions, from first login to compliance reporting. No demo call required.
Start free →