PubInv / PubInv/krake

Firmware, Learn About Sparkplug with MQTT

Open
#247 1 comment 0 reactions 2 assignees View on GitHub

@ForrestErickson is already working on this.

Since Aug 5, 2025.

Spike
Dominant language
C++
Stars
8
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Infer that Sparkplug is a standard for interoperability of MQTT devices

https://www.google.com/search?q=sparkplug+on+top+of+MQTT&sca_esv=d5e847b1dc31b2cb&rlz=1C1GCEA_enUS891US891&sxsrf=AE3TifPyyRizKy-PDSeJMUr-KlW2njn-8w%3A1754407636656&ei=1CKSaMbiJ8__p84P4PbL0Qo&ved=0ahUKEwjGnOXf_fOOAxXP_8kDHWD7MqoQ4dUDCBE&uact=5&oq=sparkplug+on+top+of+MQTT&gs_lp=Egxnd3Mtd2l6LXNlcnAiGHNwYXJrcGx1ZyBvbiB0b3Agb2YgTVFUVDIHECMYsAIYJzIIEAAYgAQYogQyBRAAGO8FMgUQABjvBTIIEAAYgAQYogRIsRJQ8whY8whwAXgBkAEAmAGjAaABowGqAQMwLjG4AQPIAQD4AQGYAgKgAsABwgIKEAAYsAMY1gQYR5gDAIgGAZAGCJIHAzEuMaAHhgWyBwMwLjG4B68BwgcDMy0yyAcX&sclient=gws-wiz-serp

Sparkplug's Role:

Sparkplug enhances MQTT for Industrial IoT (IIoT) applications by providing a standardized way to structure data and manage device state. It defines:
Topic Namespace: Sparkplug defines a hierarchical topic namespace using groupId/edgeNodeId/deviceId, allowing for organized and predictable message routing.
Payload Definition: Sparkplug specifies the format of the data payload, including metrics (data points) with properties like key, value, timestamp, and data type.
State Management: Sparkplug includes mechanisms for managing device state (e.g., online/offline status) using "BIRTH" and "DEATH" messages, ensuring applications receive accurate data even after reconnections.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.