Skip to main content
Version: 2.2.0

Sparkplug B

Sparkplug B is a specification designed specifically for IoT applications so that MQTT devices and applications can send and receive messages in a stateful way. ThingsPro Edge provides an interface to enable and configure Sparkplug B communication. The configuration process consissts of the following:

  • Enabling Sparkplug
  • Configuring a Broker
  • Configuring a Telemety Message

Enabling Sparkplug

  1. Click on the Sparkplug B. link and use the scroll bar to enable Sparkplug B.
  2. Specify an Edge Node ID.
  3. Specify a Group ID.
  4. (optional) Specify a Primary Host ID.
  5. Click SUBMIT.

img

Configuring a Broker

  1. Click on the + CREATE link to create a broker for Sparkplug B.
  2. Specify a Server (default port: 8883).
  3. (optional) Enter Client ID, Username, and Password.
  4. (optional) Enable SSL/TLS and upload Client Certificate, Key, and Trusted Root CA.
  5. Click SUBMIT.

imgimg

Configuring a Telemetry Message

  1. Click on the + MESSAGE link.
  2. Select tags from providers (e.g., Modbus Master).
  3. Select devices or system tags.
  4. Click NEXT. img
  5. Select a publish mode.
  6. Select sampling mode.
  7. Click NEXT. img
  8. (optional) Specify a description.
  9. Click SUBMIT. img

Last updated on 2022-05-31 by Aeluin Chen (陳映攸)