Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Sparkplug MQTT protocol #143

Open
amotl opened this issue Jun 8, 2023 · 2 comments
Open

Support Sparkplug MQTT protocol #143

amotl opened this issue Jun 8, 2023 · 2 comments

Comments

@amotl
Copy link
Member

amotl commented Jun 8, 2023

About

"I am so pleased to see the Sparkplug specification bring MQTT back to the market sector it was developed for in the first place."

-- Arlen Nipper, Co-inventor of MQTT
-- https://sparkplug.eclipse.org/

Cirrus Link created Sparkplug an open source software specification, to help clients seamlessly integrate data between their sensors, devices or gateways and applications within an MQTT infrastructure.

Sparkplug is rapidly becoming the standard for the Industrial Internet of Things (IIoT) to achieve cross industry interoperability and digital transformation.

History of MQTT and Sparkplug

MQTT is a publish/subscribe messaging protocol developed over 20 years ago to address the need for lightweight communications over low bandwidth networks. The need for an MQTT definition for the IIoT was critically overdue, [and Sparkplug fills that gap].

Idea

The Internet expanded rapidly thanks to two technologies. First HTTP, a data exchange protocol, and then HTML, which was used to define the data sent by HTTP. Both technologies were needed, and the explosion of the Internet was made possible, and interoperable, by the uniform adoption of these common standards.

The same is happening today with MQTT and Sparkplug, where MQTT is the exchange protocol and Sparkplug defines the data sent. It is expected that this will provide the same explosion of interoperability and adoption for IIoT.

-- https://cirrus-link.com/mqtt-sparkplug-tahu/

Resources

@amotl
Copy link
Member Author

amotl commented Jun 8, 2023

Details

Just looking up the details, I run across that in the Sparkplug 3.0.0 specification document:

4.1. All MQTT clients that communicate using the Sparkplug B principle use the following MQTT Topic structure:

namespace/group_id/message_type/edge_node_id/[device_id]

image

-- https://www.eclipse.org/tahu/spec/sparkplug_spec.pdf, p. 18

It looks like the MQTT topic structure of the Sparkplug specification is not that far away from the SensorWAN addressing scheme. That's sweet.

Cheers, @einsiedlerkrebs.

@amotl
Copy link
Member Author

amotl commented Jun 21, 2023

The current version is Sparkplug 3, but apparently, Sparkplug 4 is coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant