MQTT-Explorer icon indicating copy to clipboard operation
MQTT-Explorer copied to clipboard

Support for Protobuf decoding of payloads

Open ITS-Tactical opened this issue 5 years ago • 12 comments

ITS-Tactical avatar Aug 22 '19 11:08 ITS-Tactical

Don't you need the actual schema for each model to be able to decode Protobuf messages?

thomasnordquist avatar Aug 22 '19 13:08 thomasnordquist

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

anion155 avatar Jan 29 '20 06:01 anion155

I would really like this feature. Would it be possible to select/import a proto file for a given topic ?

Zorvalt avatar Mar 22 '20 20:03 Zorvalt

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

ITS-Tactical avatar Jun 25 '20 08:06 ITS-Tactical

Would love to see this too. Moving to protobuf as standard for all of our payloads

elduds avatar Jul 10 '20 05:07 elduds

@thomasnordquist, are you happy for a PR?

If so, is there any thing you would like us to consider?

cheers

palitu avatar Jul 13 '20 01:07 palitu

I have a working proof of concept that I could share. Any suggestions how to integrate this feature in the UI?

superkartoffel avatar Mar 02 '21 07:03 superkartoffel

Here it is: #532

superkartoffel avatar Apr 02 '21 10:04 superkartoffel

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.

beckerben avatar Apr 22 '21 17:04 beckerben

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 .

palitu avatar Apr 22 '21 23:04 palitu

@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!

tsaiDavid avatar Jun 15 '21 22:06 tsaiDavid

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

bj00rn avatar May 02 '24 11:05 bj00rn