Payload Formatters
Payload formatters allow you to process data going to and from end devices.
This section explains how to set up payload formatters for a specific end device or an entire application. You can easily create, validate and play with your data by Qubitro Portal.
Device payload formatters allow you to specify a unique payload formatter for each device.

Getting started

First, for Qubitro to be able to decode the data coming from integration, you need to create an uplink payload formatter. Payload formatter can be created on Qubitro.
The example uplink payload formatter is shown below.
As seen below, the returned value must be a JSON object with the 'data' key.
function decodeUplink(input) {
return {
data: {
temperature: input.bytes[0],
humidity: input.bytes[1]
}
};
}

JavaScript Payload Formatter

Qubitro supports JavaScript payload formatter. You can find further documentation down below.

Examples

Once the payload formatter is set up correctly, it is possible to utilize all Qubitro features, including visualizing data and building custom applications with Qubitro APIs and make your life much easier.
You can find some of the examples and documentation down below.

Working with APIs

It is possible to utilize Qubitro APIs for various scenarios. Visit API documentation below to learn more.
Welcome
Qubitro API Documentation (Beta)

Support and Feedback

If you have further questions or suggestions, feel free to join
👇
-> Qubitro Community Forum -> Community Discord via this invitation link.