MQTT-Explorer
MQTT-Explorer copied to clipboard
Support for Protobuf decoding of payloads
Don't you need the actual schema for each model to be able to decode Protobuf messages?
Don't you need the actual schema for each model to be able to decode Protobuf messages?
https://stackoverflow.com/questions/35049657/how-to-decode-binary-raw-google-protobuf-data
I would really like this feature. Would it be possible to select/import a proto file for a given topic ?
Don't you need the actual schema for each model to be able to decode Protobuf messages?
Sorry late response on this :D Yes, you would need to assign the relevant .proto file for the coresponding topic
Would love to see this too. Moving to protobuf as standard for all of our payloads
@thomasnordquist, are you happy for a PR?
If so, is there any thing you would like us to consider?
cheers
I have a working proof of concept that I could share. Any suggestions how to integrate this feature in the UI?
Here it is: #532
I was kind of stunned to see this tool (which is pretty slick!) doesn't support sparkplug B protobuf decoding, I would think this would at a minimum would make sense given it is a popular industry standard. Proto file details located here.
it is, but MQTT has so much more than just industrial control, and i would imagine that the use of sparkplug doesnt even register on the use of MQTT.
But very cool that someone has implemented protobuf de-serialisation. my next issue is that we Gzip our payloads prior to sending to reduce the size.
On Fri, Apr 23, 2021 at 1:33 AM Ben Becker @.***> wrote:
I was kind of stunned to see this tool (which is pretty slick!) doesn't support sparkplug B protobuf decoding, I would think this would at a minimum would make sense given it is a popular industry standard. Proto file details located here https://github.com/Cirrus-Link/Sparkplug/blob/master/sparkplug_b/sparkplug_b.proto .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/thomasnordquist/MQTT-Explorer/issues/196#issuecomment-825049112, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABST2IBTRW4QAD3ARLKYVJ3TKBMV3ANCNFSM4IOUEBLQ .
@thomasnordquist - curious to see what kind of help you'd need on your end - this would be a great add to an already helpful tool!
Duplicate? I believe support sparkplug decoding is supported in master, not released yet though.
https://github.com/thomasnordquist/MQTT-Explorer/pull/582 https://github.com/thomasnordquist/MQTT-Explorer/issues/427