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
- Click on the Sparkplug B. link and use the scroll bar to enable Sparkplug B.
- Specify an Edge Node ID.
- Specify a Group ID.
- (optional) Specify a Primary Host ID.
- Click SUBMIT.
Configuring a Broker
- Click on the + CREATE link to create a broker for Sparkplug B.
- Specify a Server (default port: 8883).
- (optional) Enter Client ID, Username, and Password.
- (optional) Enable SSL/TLS and upload Client Certificate, Key, and Trusted Root CA.
- Click SUBMIT.
Configuring a Telemetry Message
- Click on the + MESSAGE link.
- Select tags from providers (e.g., Modbus Master).
- Select devices or system tags.
- Click NEXT.
- Select a publish mode.
- Select sampling mode.
- Click NEXT.
- (optional) Specify a description.
- Click SUBMIT.
Last updated on 2022-05-31 by Aeluin Chen (陳映攸)