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 for Decoding Sparkplug-B Payloads #427

Closed
AccuBytes-TimJ opened this issue Aug 27, 2020 · 4 comments
Closed

Support for Decoding Sparkplug-B Payloads #427

AccuBytes-TimJ opened this issue Aug 27, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@AccuBytes-TimJ
Copy link

This is an essential feature for many IIoT devices as they use CirrusLink's Sparkplug-B specification.
There is already a project for it:
https://github.com/Cirrus-Link/Sparkplug/tree/master/client_libraries/javascript/sparkplug-payload

A selection of decoding options would be great, similar to MQTT.fx

@greggwon
Copy link

Yes, this would be a great thing to add, including support for sending sparkplug with a list of name and value pairs, birth, death and other certs too.

@dubyte
Copy link
Contributor

dubyte commented Aug 8, 2021

I am sending a pull request to decode sparkplugb, I am a go developer not a js dev so this first change if accepted in the future I could try to add more support for sending.

#582

So this is about be able to see the sparkplug payload in the views and in the diff panels.

@kc2zgu
Copy link

kc2zgu commented May 2, 2024

There seems to be a serious bug with this implementation.

I have no idea what this "Sparkplug" format is, but MQTT Explorer is erroneously trying to use it to decode some topics that are plain text/floating point numbers. It appears to think any string of 5 characters that starts with "5" is Sparkplug, and only shows {} for the value (first noticed this with humidity sensors that report values like 55.49 but also confirmed the same thing happens with strings like 50000 5____ and 5abcd). I don't even see a way to force the decoding off and show the raw values, so the real content of these topics is basically invisible in MQTT Explorer.

@bj00rn
Copy link
Collaborator

bj00rn commented May 14, 2024

#792

@bj00rn bj00rn closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants