The Things Stack

The Qubitro and The Things Stack (TTS) integration allows you to sync all devices and their data from The Things Stack.

Overview

The Qubitro and The Things Stack (TTS) integration allows you to sync all devices and their data from The Things Stack to Qubitro—without writing any code.

Once your LoRaWAN devices are configured and sending data to The Things Stack, a corresponding device is automatically created in Qubitro, representing each device with its unique DevEUI.

Qubitro can decode incoming data automatically if no decoder is configured in The Things Stack. If a decoder is already applied in The Things Stack, Qubitro stores the incoming JSON data as-is. Transformation functions can be applied before storing data in Qubitro.

This integration does not require additional device-side configuration. Data flows directly between The Things Stack and Qubitro without manual HTTP or MQTT forwarding.

Prerequisites

How It Works

Below is the diagram that shows how the integration works.

Configuring the Integration

1

Create an Integration in Qubitro

  1. Log in to the Qubitro Portal.

  2. Select a project from the list.

  3. Click New Source.

  4. Select The Things Stack from the available sources.

This page will display the Webhook URL and required headers for The Things Stack configuration. Keep it open for the next step.

2

Set Up a Webhook in The Things Stack

  1. Log in to The Things Stack Console.

  2. Choose the application from the list.

  3. Click Webhooks from the left navigation menu.

  4. Click the Add Webhook button in the top right corner.

  5. Select Qubitro from the list.

  6. Copy and paste the values provided in Step 1 on the Qubitro Portal

  7. Choose the Application – Select the TTS application managing your devices.

  8. Set the Uplink Data Format – Ensure JSON output is enabled.

  9. Save the webhook configuration.

3

Verify the Integration

  1. Return to Qubitro Portal.

  2. Click Go to Project and then Refresh to check if the devices appear.

Configuring Data Decoding

When integrating with The Things Stack, Qubitro can handle incoming data in different ways, depending on the decoder setup.

Using The Things Stack Decoder

If a decoder is already configured in The Things Stack, Qubitro will store the incoming JSON automatically without any modifications.

Using Qubitro's Built-in Decoder Functions

If no decoder is set in The Things Stack, Qubitro provides built-in Decoder Functions, including Device Templates, to automatically parse and structure the payload.

Applying Transformation Functions

If additional modifications are required before storing data, Transformation Functions can be enabled in Qubitro to process and modify the payload dynamically.

FAQs

Do I need to set up MQTT or HTTP forwarding in The Things Stack?

No. The integration works directly between The Things Stack and Qubitro. No additional forwarding setup is needed.

Do I need to send data from my device to Qubitro?

No. Once data is sent to The Things Stack, it is automatically forwarded to Qubitro via integration.

How does decoding work between The Things and Qubitro?

If a decoder is configured in The Things Stack, Qubitro stores the decoded JSON as-is; otherwise, it offers Decoder Functions, which can be applied before storing the data, while Transformation Functions allow further modifications if needed.

Can I group devices under different Qubitro projects?

Yes. You can create multiple integrations to separate devices across different projects.

Are there additional fees for this integration?

No. There are no hidden costs such as data transfer (egress) fees for using the Qubitro <> The Things Stack integration.

Last updated