How can I parse and process Protobuf data?



Hello,
I am facing a problem and I need some help. A wireless vibration sensor sends Protobuf-encoded data to an Ignition Tag via MQTT, but the data is garbled because it is not in JSON format. How can I handle this? Is there anyone who has experience with this and can guide me? Thank you!

This doesn't appear to be Sparkplug.

I think at a minimum you would need the definition (.proto file) for these protobuf encodings. Even with that I'm not sure you'll be able to decode them because usually you generate code ahead of time from the definitions and then use that to decode the payloads.

1 Like

谢谢您的快速回复 - 我会看看你建议的选项。

Can you turn off intaking the data as a JSON string in the MQTT engine?
I'm not too familiar with Protobuf because all of our sensors send in JSON but I would try messing with this setting.