MQTT Sparkplug

Sparkplug B is an industrial IoT data transfer specification built on MQTT 3.1.1. Sparkplug B provides a unified way for device manufacturers and software providers to share data by making MQTT networks state-aware and interoperable while ensuring flexibility and efficiency.

Data collected by Neuron from devices can be transferred from the edge to the Sparkplug B application via the Sparkplug B protocol, and users can send data modification commands to Neuron from the application. sparkplug B is an application-based protocol running on top of MQTT, so the setup in Neuron is similar to the MQTT driver.

Parameters

ParameterDescription
Client IDMQTT client ID, a unique identifier for the connection
Group IDThe top-level logical grouping in the Sparkplug B protocol, which can represent entities such as factories or workshops
Node IDUnique Identification of Edge Nodes in Sparkplug B Protocol
SSLWhether to enable mqtt ssl, default false
Broker HostMQTT Broker Host
Broker PortMQTT Broker Port
UsernameUsername to use when connecting to Broker
PasswordPassword to use when connecting to Broker
CACa file, enabled only if the ssl value is true
Client CertCert file, enabled only if the ssl value is true
Client KeyKey file, enabled only if the ssl value is true
KeypassKey file password, only enabled if ssl value is true

TIP

Only the Group ID and Node ID are from the Sparkplug B specification, the rest are connection parameters of the MQTT Broker, see MQTT Overview.