The Things Network LoRaWAN™

The Things Network LoRaWAN™

This tutorial provides a step-by-step guide to integrate The Things Network (TTN) with the TagoIO Platform. By following these instructions, you will enable uplink and downlink operations, allowing data exchange between your LoRaWAN devices and the TagoIO application.

If you're trying to integrate TTI or TTN v3, use our TTI integration instructions.

Prerequisites

Before you begin, ensure you have the following:
  • TTN v3 Account: If you don't have one, register here.
  • LoRaWAN Device: Ensure your device is connect to TTN and transmitting data. If you need help doing that, watch this TTN video tutorial.


Step 1: Create Authorization in TagoIO

  1. Access Authorizations:
    1. Go to Devices.
    2. Click on Authorizations at the top of the page.
  2. Create a New Authorization:
    1. Click the Create Authorization button.
    2. Provide a meaningful name for the authorization (e.g., TTN-Integration).
    3. Click Save.
  3. Copy the Authorization Token:
    1. After creation, copy the authorization token. You will need this in later steps.




Step 2: Set Up Integration in TTN

Go to your TTN console and create a new Integration. You can create a new integration under the your Your Application > Integrations > Webhook > + Add Webhook > Select Custom Webhook from the list

Configure the Integration:

FieldDescription
Webhook IDEnter a unique identifier (e.g., tagoio-integration).
Webhook Format
JSON
Base URL
Use the endpoint format https://ttn.middleware.REGION.tago.io. Replace REGION with your deployment region (e.g., us-e1, eu-w1). For a list of available regions, visit TagoIO Network Integration.
Additional Headers
Add a header key Authorization and set its value to the authorization token you copied in Step 1.
Enabled event types
Enable the event types you expect to receive in your device. Set the path of all the event types enabled to /uplink





Step 3: Add Device in TagoIO

To integrate your device with the TagoIO Platform, follow these guidelines:
  1. Ensure Device EUI Consistency:
    1. When creating the device in TagoIO, use the exact same Device EUI that is configured in TTN.
    2. The Device EUI must match exactly to establish a successful connection between TTN and TagoIO.
  2. Select the Appropriate Network and Device Type:
    1. Choose the LoRaWAN TTN Network during the device setup process.
    2. Select the correct device type from the available options. If your device is not listed, you can add support through connectors.
  3. Add Device Support via Connectors (If Necessary):
    1. If your device type is not available in the default list, enhance its compatibility by utilizing connectors.
    2. For more information on available connectors and how to use them, refer to the Connector Overview.
For detailed instructions on adding devices, visit the Adding Devices page.


Finalizing Setup

  1. Power On Your Devices:
    1. Turn on your LoRaWAN device and gateway to initiate data transmission.
  2. Verify Data Reception:
    1. In TagoIO, navigate to the Device and into the Data tab to confirm that data is being received.
    2. Alternatively, use the Live Inspector within your device settings to monitor incoming data in real-time.

With data successfully flowing into TagoIO, you can start creating Dashboards, Analyses, and Actions to visualize and manage your device data effectively.

Learn how to perform downlink for LoRaWAN

    • Related Articles

    • Network Integration

      Your devices can always connect directly with TagoIO API using HTTPS or MQTT protocol. But, you can also connect them using different protocols to databases and web services by using one of this methods: Create a script that initiate access to ...
    • LoRaWAN Publication of Environmental Measurements with a LoRa-E5 Module

      This tutorial explains how to implement a LoRaWAN publication on The Things Network (TTN) with a TagoIO integration using a MicroPython driver for a Grove LoRa-E5 module. it was originally posted on ...
    • Adeunis with LoRaWAN™

      TagoIO supports most Adeunis devices by providing the perfect integration with several LoRaWAN™ networks. It also parses the data by extracting the value of the measured variables in real-time.  All data sent by your device will be readily available ...
    • Orbiwise LoRaWAN™

      This tutorial provides a step-by-step guide to integrate Orbiwise LoRaWAN™ with the TagoIO Platform. By following these instructions, you will enable uplink and downlink operations, allowing data exchange between your LoRaWAN devices and the TagoIO ...
    • machineQ LoRaWAN™

      This tutorial provides a step-by-step guide to integrate machineQ LoRaWAN with the TagoIO Platform. By following these instructions, you will enable uplink and downlink operations, allowing data exchange between your LoRaWAN devices and the TagoIO ...