The Things Network LoRaWAN™
The Authorization is no longer added inside of each Device configuration, now there is a new section that requires to generate only one Authorization per application. This article has been updated to help you to setup using the new Authorization.
In this article, you will be instructed on how to integrate TTN LoRaWANTM devices with TagoIO. You will be able to send data from your devices (uplink) to TagoIO and back to them (downlink).
The following two steps are enough for this integration:
1. TagoIO Setup
First, make sure you already have configured a gateway and an application at TTN. If you need help to do that, watch this TTN video tutorial.
Then, go to Devices, click on 'Add Devices', and filter by LoRaWAN TTN. Then, search for the device that you want to add. If you don't find it, select the type Custom TTN Device.
When selecting Custom TTN Device connector, a payload parse will NOT be included on the new device. You will need to add your own parser to extract values.
After the device is created, a standard parser script is included in the 'Payload Parser' tab based on the selected connector (unless you selected Custom TTN). Later, you can also add your own script to execute any calculation or to parse more data.
Then, you need to create an Authorization and use it in the TTN setup later.
This Authorization should be generated by TagoIO here; no Additional Parameters are needed.
Copy this Authorization to use it in the next step.
2. TTN Setup
On the TTN console, go to your already created Application, select the'Integrations' tab, and click +add integration.
Select TagoIO from the integration list.
Here you fill in your Process ID, your access key, and then paste the Authorization generated at TagoIO.
If you have followed all the steps, as soon as your devices start to send data to TTN, the data packages will be forwarded to your TagoIO account.
From here, you can create and edit dashboards, add notifications, and create scripts to process your data.
You also can learn how to perform downlink here.