This guide will walk you through the process of integrating a LoRaWan device with the KPN Network and TagoIO. By following the steps outlined below, you will be able to set up your device for both uplink and downlink operations, enabling seamless data exchange.
Uplink Configuration
To configure uplink communication, follow these three main steps:
1) TagoIO Setup
- Navigate to your TagoIO account. If this is your first time connecting a device between KPN Things and TagoIO, you must create an Authorization here. Remember to copy it for later use in KPN.
- Follow documentation to guide you through the Authorization.
Note: you need to create only one Authorization for all your devices.
2) Setting up KPN Things
Access your
KPN Things portal, log in, and follow the steps:
- Select the "Things Management" tab.
- Choose "Add new Destination."
- Select "HTTPS" as the destination type.
- Fill in the required fields:
- Name (Required)
- Description (Optional)
- URL: https://kpn.middleware.tago.io/uplink
- Shared secret (Required)
- Click on Advanced Configuration and insert in Headers the token you have generated on step one.
- { Authorization: your_authorization_token }
- HTTP method - POST
- Expected response code - 200
- Click on Add HTTPS endpoint
3) Create Device on TagoIO
To enable TagoIO to receive uplink data, create your device in TagoIO as follows:
- Navigate to "Devices."
- Click on "+ Add Device."
- Search for "KPN Things."
- Enter your device's name.
- Choose between "immutable" or "mutable."
- Enter the Serial Number (EUI, IMEI, or UUID) of your device in KPN.
With these steps completed, TagoIO will receive data anytime your device sends an uplink.
Downlink Configuration
After you have setup the Uplink properly, you can then configure the downlinks for being capable of transmitting data from TagoIO to your devices.
For this step, you need to create API Keys at KPN Grip Portal. For that you need to be an administrator in the GRIP Portal. More information
here.
1) Setting up KPN Things
- Access your customer account to obtain the Grip tenant ID.
- For detailed instructions, refer to the guidance provided in this link.
- Save this information as it will be needed later.
- Access your GRIP portal and enable API keys for downlink as follows:
- Click on "Identity and API Keys" on the left side.
- Click "+ Add."
- Fill in the required fields:
- Name (Mandatory)
- Description (Optional)
- Click "Add" to obtain your Client ID and Client Secret.
- Copy the have the Client ID and Client Secret
- Enable permission for the API key follows:
- Access the tab Services and roles.
- Click on + Add service
- Select the option KPN Things Portal
- Click "Add" and Save
2) TagoIO Setup
In the Authorization you previously added, edit the parameter to include the client id, client secret and grip tenant id, separated by a semicolon, like so:
your_client_id;your_client_secret;grip_tenant_id
3) Sending Downlinks
Now you can use TagoIO built-in functionalities to send downlinks to your devices. Read more about it at
Downlink for LoRaWAN™.