How to integrate TagoIO with Kerlink LoRaWAN

Here is a quick tutorial showing how to add any LoRaWAN device with Kerlink in your account. For this, you need to access your account at Wanesy Management Center.

1.First go to your TagoIO account, and if this is your first device connected between Kerlink and TagoIO, you will need to create an Authorization here .

Make sure you fill the Additional Parameters with your Kerlink url, login and password, like this:

Copy it to use at Kerlink later. Note : you just need to create one Authorization for all your devices.

2.Now you need to go to Kerlink website and create a new push configuration. You can create a new push configuration under the menu Administration > Clusters > Push configuration.

create-push-configuration.3f6476d0

Fill the fields accordingly:

  • Type: HTTP
  • Message detailed level: Payload
  • URL: https://kerlink.middleware.tago.io
  • Username and password: Enter anything you want, TagoIO doesn’t use it but the fields are required by Kerlink.
  • SSL Options: Just skip by pressing next.
  • In Custom Headers, Key: authorization-code, and the value being the Authorization copied from TagoIO at beginning of this tutorial.

3. Make sure you have Push enabled under Administration > Clusters. Edit your Cluster to see the options.

4.Now, you just need to Add the Device in your TagoIO account.
Go to Devices/Kerlink and chosse the device connector and enter your device EUI - you can use the QR code to capture the EUI !

Done! Just turn your device on, and you will see data arriving in your new dashboard.
If data doesn’t show up in your TagoIO account (use the Live Inspector tab in your Device to see data arriving), make sure you can see data in your Kerlink portal first, and check the keys and the configuration.

@ClaudioClaudio Rosa

Hi @vitor ,

I think that I did your recomendations to be able to send Downlink commands by Dashboard, but the it is not reaching the Kerlink WMC.

In the begininning, I was receiving HTTP 403 - Forbidden - but I found that in a wrong letter in the user name in the Authorization that I created for this communication.

Now I am not receiving error messages anymore in the Device Live Inspector, but the reallity is nothing good or bad is reaching :slightly_frowning_face:

In the Analysis messages I did a change to increase the information level, then you can see Return Code 200 and everything seems normal to me.

A quick question: How could I change the authorization code in the Kerlink-TagoIO communication? Anyway to do it in the Connector/Network configuration?

Any idea?



Blockquote


[2021-06-06 17:49:43] Downlink accepted with status 200
[2021-06-06 17:49:43] LNS URL = kerlink.middleware.tago.io
[2021-06-06 17:49:43] network = 60a05331bc94f70012ac4f63
[2021-06-06 17:49:43] data = {“device”:“f80332020002535c”,“authorization”:“at0e1c13e3209043e8971db03027c42d30”,“payload”:“03020A”,“port”:3}

[2021-06-06 17:49:43] Trying to send the downlink
[2021-06-06 17:49:43] Downlink analysis started
[2021-06-06 17:49:42] Starting analysis 60b9634a61c1b40017f6747



Blockquote


@Claudio Rosa

I found the problem: it was a dot instead a semicolon between Kerlink URL and user name in the Authorization feature :sweat_smile:

Documentation had been updated to Kerlink v3.0.1