Node-Birth-Paket (EN)
ConceptSparkplug B message for initializing a node in an MQTT network
Definition
The Node-Birth-Paket is a special message in the Sparkplug B standard used to initialize a node in an MQTT network. This message is sent when a device or application communicates with the broker for the first time or after a restart. It contains information about the device structure, available metrics, and their data types, enabling the broker to manage the system state and inform new clients about available data. Implementation is typically done using the SparkplugBPayload library.
Lifecycle
stateDiagram-v2 [*] --> Offline Offline --> Connecting: Device starts Connecting --> NodeBirth: Connection to broker NodeBirth --> Online: Node-Birth-Paket sent Online --> DataPublish: Data publishing Online --> NodeDeath: Device is shut down NodeDeath --> Offline: Connection disconnected Online --> Rebirth: Device restart Rebirth --> NodeBirth: New Node-Birth-Paket
In Context
- Typically used together with Node-Death-Pakets
- Related to: MQTT, Sparkplug B, IIoT, data points
- Example use: Initialization of sensor nodes in a manufacturing plant