ChirpStack
Qubitro and Chirpstack integration.
ChirpStack, an open-source LoRaWAN® Network Server stack provides open-source components for LoRaWAN networks.
This guide will help you integrate ChirpStack devices with Qubitro.

Getting started

You can easily integrate your ChirpStack devices with Qubitro in several steps. All you have to do is follow our guide steps.

Creating a Project

First, if you don't have any current project, you need to create a new one to get the Project ID and Webhook Signing Key. These two credentials are essential for our integration steps.
You can get your credentials under the Settings tab if you have a project already going on.
After logging in to our portal, click on the new project from the top left.

Getting Credentials

When you choose devices, make sure that you select ChirpStack.
Then there will be quick details about the integration process. After clicking continue, you will get credentials for your integration. You can easily copy it right away or find it under the credentials tab from the left bar any time you need it.

Add Integration on ChirpStack

Click on the Integrations tab under the project and click on ADD or EDIT button on the HTTP:// option.

Integration configuration

Marshaler type

Choose JSON under the Payload marshaler option.

Endpoint URL

Headers

Copy keys exactly the same as below and use values that you copied from Qubitro Portal.
Key
Value
projectId
Project ID
webhookSigningKey
Signing Key
Example screenshot

Observe Devices and Customize Device Data

Refresh the device list and make sure all devices are synchronized.
If you want to make changes to your device information, click on settings and quickly customize your device photo, name, brand, etc. So you can keep your projects more organized.

Payload Formatters

Payload formatters allow you to process data going to and from end devices.
For Qubitro to be able to decode the sensor data coming from Chirpstack, you need to create an uplink payload formatter.
The example uplink payload formatter is shown below.
As seen below, the returned value must be a JSON object with the 'data' key and the function name must be 'decodeUplink' with a single parameter.
1
function decodeUplink(input) {
2
return {
3
data: {
4
temperature: input.bytes[0],
5
humidity: input.bytes[1]
6
},
7
warnings: [],
8
errors: []
9
};
10
}
Copied!

Creating Payload Formatter

To create a payload formatter for Uplink messages, you can click on any device and the Formatter tab.
As seen below, the returned value must be a JSON object with the 'data' key and the function name must be 'decodeUplink' with a single parameter.

Validate Payload Formatter

Working with Data

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.

Visualizing Data

You can easily visualize your data with our widgets from the Monitoring section on the left side of our portal or under the analytics tab in your project.
Multiple charts are also can be added under a specific device. Also, you can quickly filter your data by clicking the calendar under Data or Analytics.

Support and Feedback

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