Skip to main content

General

Export to Sparkplug B

Industrial IoT messaging using Eclipse Sparkplug B specification with device lifecycle management.

Industrial IoT messaging using the Eclipse Sparkplug B specification with full device lifecycle management. Implements the complete Sparkplug B pattern with NBIRTH, DBIRTH, NDEATH, and DDEATH messages for industrial applications.

open_in_new

Sparkplug B Specification

eclipse.org/sparkplug

Configuration Parameters

ParameterRequiredTypeDefaultDescription
GroupIdNostringProxusGroupSparkplug Group ID for logical grouping.
EdgeNodeIdNostringEdge_{random_guid}Edge node identifier within the group.
BrokerHostNostringlocalhostMQTT broker hostname for Sparkplug B messages.
BrokerPortNoint1883MQTT broker port (use 8883 for TLS).
UsernameNostring(empty)MQTT authentication username.
PasswordNostring(empty)MQTT authentication password.
ScadaHostIdentifierNostringscada1SCADA host identifier for the deployment.
ProtocolNostringV311MQTT protocol version.
UseWebSocketNoboolfalseUse WebSocket transport instead of TCP.
ReconnectIntervalNoint5Reconnection interval in seconds.
UseTlsNoboolfalseEnable TLS encryption.
TlsVersionNostringTls12TLS protocol version.
PfxCertificateNostring(empty)Base64-encoded PFX certificate for TLS.

Internal Behavior

Device Lifecycle Management

  • NBIRTH Messages: Edge node birth messages sent on connection establishment
  • DBIRTH Messages: Device birth messages sent for new devices
  • NDATA/DDATA Messages: Data update messages for existing metrics
  • NDEATH/DDEATH Messages: Graceful death messages sent during shutdown

Performance Features

  • Metric Mapping: Automatic mapping of Proxus data types to Sparkplug B metric types
  • Value Conversion: Intelligent type conversion for numeric, boolean, and string values
  • Connection Resilience: Automatic reconnection with exponential backoff
  • Batch Optimization: Efficient batch processing of device metrics