ConnectMQ Edge · Sparkplug B

Sparkplug B, ready-to-use JSON in the cloud

Sparkplug B works well on the plant floor, but its protobuf payloads are hard to use anywhere else. Point Ignition, Node-RED or your gateways at the local MQTT broker of ConnectMQ Edge: Edge forwards the messages securely and buffers them offline, and ConnectMQ Cloud publishes a JSON copy on an ISA-95 topic for dashboards, alerts and the Digital Twin.

  • Local MQTT broker · port 1883
  • Ignition, Node-RED, gateways
  • Protobuf & JSON

No card required

Why connect Sparkplug B to ConnectMQ

No protobuf decoder to build

ConnectMQ Cloud decodes protobuf and JSON Sparkplug payloads and publishes readable ISA-95 JSON next to the original topics.

One local broker for every node

Ignition, Node-RED and Sparkplug gateways publish to Edge on port 1883 — the nodes do not need internet access of their own.

Buffered when the link drops

Edge keeps the messages on disk while offline and forwards them over MQTT/TLS when the connection is back.

What it reads and does

  • Ignition MQTT Transmission, Node-RED and Sparkplug B gateways
  • Local MQTT broker on mqtt://<edge-pc>:1883
  • Protobuf and JSON payloads, decoded in ConnectMQ Cloud
  • DDATA / NDATA → telemetry, BIRTH → birth, DEATH → death, CMD → command
  • Group, edge node and device mapped to ISA-95 site, area, line and cell
What arrives in ConnectMQ Cloudconnectmq/plant1/packing/line1/filler1/telemetry
{ "Temperature": 71.4, "Speed": 120, "Running": true, "timestamp": 1763049600000 }

Up and running in three steps

  1. 1

    Install ConnectMQ Edge

    Download Edge from your ConnectMQ account and sign in — the Windows service and desktop app come in one installer.

  2. 2

    Add the Sparkplug B channel

    Pick the Sparkplug B template, enter the address of your device and the tags you need, and press Save and apply.

  3. 3

    Use the data

    The tags appear in your ConnectMQ broker as ISA-95 topics, ready for dashboards, alerts and the Digital Twin.

Where teams use it

Ignition data in cloud dashboards

Show line metrics from Ignition to teams outside the plant on ConnectMQ dashboards, using the decoded JSON topics.

Node online / offline alerts

Use the converted birth and death topics to raise an alert when an edge node or device goes offline.

Several plants in one tree

Name Sparkplug groups by site and area so lines from several plants land in one ISA-95 topic tree, ready for the Digital Twin.

Sparkplug B: frequently asked questions

How do I send Sparkplug B data from Ignition to a cloud MQTT broker?

Point Ignition MQTT Transmission (or any Sparkplug B node) to the local broker of ConnectMQ Edge at mqtt://<edge-pc>:1883 and add the wildcard rule spBv1.0/# for Local client messages on the Topics page. Edge forwards the messages to your ConnectMQ broker over MQTT/TLS and buffers them while offline.

Does ConnectMQ convert Sparkplug B protobuf to JSON?

Yes. ConnectMQ Cloud decodes protobuf and JSON Sparkplug payloads and publishes a JSON copy on an ISA-95 topic: DDATA / NDATA become …/telemetry, BIRTH …/birth, DEATH …/death and CMD …/command. The original spBv1.0/… topics stay available too.

Can I send NCMD / DCMD commands to local Sparkplug nodes?

No. Commands sent from the cloud (NCMD / DCMD, rebirth requests) are not delivered to local Sparkplug nodes. Commands published by local nodes do appear in the cloud under …/command.

Technical details: step-by-step setup and example configuration

Set it up step by step

  1. 1

    Make sure Windows Service Settings › Start with the service › Start the local MQTT broker is on.

  2. 2

    Point your Sparkplug B edge nodes (Ignition MQTT Transmission, Node-RED, gateways) to mqtt://<edge-pc>:1883.

  3. 3

    Name the Sparkplug group <site>_<area> (for example plant1_packing). ConnectMQ Cloud uses it for the ISA-95 site and area; the edge node becomes the line and the device the cell.

  4. 4

    On the Topics page, under Wildcard rules, choose Local client messages, type spBv1.0/#, click Add rule and then Save and apply. Leave the topic prefix in Cloud Settings empty — the cloud only recognises topics that start with spBv1.0/.

  5. 5

    In the ConnectMQ portal you find the original spBv1.0/… topics and the converted ISA-95 topics: DDATA / NDATA → …/telemetry, BIRTH → …/birth, DEATH → …/death, CMD → …/command (commands published by local nodes). Protobuf and JSON payloads are both decoded.

Example configuration
Sparkplug B node publishes to Edge (:1883)
  spBv1.0/plant1_packing/DDATA/line1/filler1      (protobuf)

ConnectMQ Cloud publishes the ISA-95 copy
  connectmq/plant1/packing/line1/filler1/telemetry

Good to know

  • Edge passes Sparkplug B through to the cloud only; the decoding into ISA-95 JSON runs in ConnectMQ Cloud.
  • Commands sent from the cloud (NCMD / DCMD, rebirth requests) are not delivered to local Sparkplug nodes.
  • Keep the topic prefix in Cloud Settings empty, otherwise the topics no longer start with spBv1.0/ and are not converted.
  • Sparkplug devices that can reach the internet may also publish to your ConnectMQ broker directly.

Connect your first PLC this week

Create your ConnectMQ account, download ConnectMQ Edge from the portal and add your first connector in minutes.