Description

The Things Network, a leading provider of LoRaWAN networks and services, is upgrading its stack to v3 (The Thing Stack v3). As a leading LoRaWAN end-devices and gateways provider, Milesight IoT’s gateway can be easily connected to The Thing Stack, no matter it’s via ‘Semtech Packet forwarder’ or The Thing Stack (v2) or the Basic Station. This document will guide you how to connect to The Thing Stack via Semtech Packet Forwarder in Milesight LoRaWAN gateway UG65. You can also refer to below video tutorial to know the steps: 




Requirement

\1. The Thing Stack Sandbox Account

\2. Milesight IoT Gateway (UG63, UG65, UG67, UG85, UG87)


Configuration

Step1. Login The Thing Stack

Login The Thing Stack using the credentials/the things ID. In this example, the address is https://eu1.cloud.thethings.network. You can also select server areas here.

This is the login page, choose Login with The Things ID


Input the credentials and click Submit


 


When done, you will see this console page successfully.


 


Step2. Add Gateway in The Thing Stack

Login the web interface of the gateway to check frequency plan in Packet Forwarder -> Radio page. In this example, the frequency plan is EU868.


 You will need to take a note of the Gateway ID and Gateway EUI, which is needed when Register a device in The Thing Stack.

If you chose the ‘Semtech’ packet forwarder in the this page, You cannot change the Gateway ID to yours, if not the gateway will not be online. In this example, Gateway ID= 24E124FFFEF1272B, Gateway EUI= 24E124FFFEF1272B.


Click Register a Gateway and input the items like this,



 

Since this gateway is EU868 type, we need to choose Europe 863-870Mhz in the Frequency Plan; if your gateway is other brands like AU915, you need to choose the corresponding value here.

When done, the gateway is created well.


 


Note:

\1. The Gateway ID cannot be reuse if you delete it in The Thing Stack

\2. The default Gateway ID in Milesight gateway is the same as Gateway EUI


 

Step3. Create the Packet Forwarder in Gateway

We can create a new destination in Milesight Gateway.

Input *eu1.cloud.thethings.network* in this example as the destination.


Click Save and Apply the changes to take effect.


You will find it’s connected still in both the gateway and The Thing Stack side.



In the above screenshots, we can see the packets from the gateway.


END