thomasnordquist / MQTT-Explorer

An all-round MQTT client that provides a structured topic overview
https://mqtt-explorer.com
Other
2.96k stars 286 forks source link

Support for Protobuf decoding of payloads #196

Closed ITS-Tactical closed 3 months ago

thomasnordquist commented 5 years ago

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

anion155 commented 4 years ago

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

Zorvalt commented 4 years ago

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

ITS-Tactical commented 4 years ago

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

elduds commented 4 years ago

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

palitu commented 4 years ago

@thomasnordquist, are you happy for a PR?

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

cheers

superkartoffel commented 3 years ago

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

superkartoffel commented 3 years ago

Here it is: #532

beckerben commented 3 years ago

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.

palitu commented 3 years ago

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 .

tsaiDavid commented 3 years ago

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

bj00rn commented 4 months ago

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