Cloud Technology

How do you handle IoT data interoperability between different hardware vendors?

CH Asked by Christopher Hall · 03-01-2023
0 upvotes 9,332 views 0 comments
The question

We are integrating sensors from three different manufacturers, and they all use different payload formats. One uses JSON, another uses Protobuf, and the third is a proprietary binary format. What is the most efficient way to normalize this data before it hits our analytics engine? 

3 answers

0
PA
Answered on 05-01-2024

The most scalable solution is to implement an "Abstraction Layer" using a message broker like EMQX or HiveMQ. You can write simple "Hooks" or use a serverless function (like AWS Lambda) to intercept the messages as they arrive. These functions act as a translator, converting the Protobuf or binary payloads into a standardized JSON schema that your data lake expects. This ensures that your downstream analytics team doesn't have to worry about which sensor the data came from. Standardizing early in the pipeline prevents "Data Swamp" issues and makes adding a fourth vendor in the future much easier. 

0
RO
Answered on 06-01-2024

Are you finding that the overhead of converting everything to JSON is significantly increasing your storage costs compared to keeping the binary data as-is in your S3 buckets?

CH 08-01-2024

We actually kept the raw binary data in a 'Bronze' layer for auditing purposes, Robert. However, the JSON conversion is only for the 'Silver' layer where our dashboards live. While it does increase storage slightly, the time saved by our data scientists not having to manually decode hex strings for every new project is worth every penny. We also started using Parquet for the final storage, which compresses the JSON very efficiently while keeping it easy for SQL engines to query.

0
ST
Answered on 09-01-2024

I highly recommend looking into the Sparkplug B specification. It’s designed specifically to bring some order to the chaos of different MQTT payload formats. 

PA 10-01-2024

I agree, Steven. Sparkplug B is gaining a lot of traction in the industrial space for exactly this reason—it provides a clear structure for state management.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session