1-Integration via Basic Station
2-Integration via Semtech
3-Milesight LoRaWAN Device Integration
4-Integration via ZTP (recommend)
TABLE OF CONTENTS
Description
TheThings - Industry platform is a cloud-based service and management platform designed specifically for Industrial IoT (IIoT) scenarios. Built on LoRaWAN® technology, it enables full-process support from device access and network management to data visualization and business integration.
It provides enterprises with secure, scalable network services, supports centralized management of multiple sites and applications, and can be integrated with existing IT/OT systems to enable data-driven production optimization and intelligent decision-making. The platform offers high availability, flexible user and permission management, automated alerts, and multi-dimensional data analytics capabilities, making it suitable for various industry scenarios such as smart factories, energy management, environmental monitoring, and smart cities.
This document primarily describes how to connect a UG65 gateway to the TheThings - Industry platform, automatically create the gateway information on the platform, and view the gateway’s data in real-time, all completed automatically without manual intervention.
Note:
The UG65 device mentioned in this document is used only for demonstration purposes. Please refer to the steps according to your actual situation.
Requirement
- Gateway Model: UG65 (UG56, UG67 also supported)
The gateway must be connected to the internet
A valid TheThings - Industry account
Configuration
Step 1: Obtain Platform Information
Visit: The LoRaWAN Network server for scale | The Things Industries
(If this is your first time using the platform, simply follow the on-screen instructions to register)
After completing registration and logging in for the first time, verify your credit card information, and you will see the following interface:
Then create a configuration named milesight-demo-use-only.
All demonstration information in this tutorial will be displayed under this configuration:
Click the Open Consoles button to enter the management interface:
Refer to the figure below to obtain the key information: User ID, API Key, and Server Address.
● Get User ID:In this demo, the User ID is lockon.
● Get API Key:
● Get Server Address:
Copy it directly from the browser address bar (be sure to remove https and any slashes).
At this point, the platform parameters are ready.
Example like:
User ID | lockon |
API key | NNSXS.3L5TA****** |
Server Address | milesight-demo-use-only.eu1.cloud.thethings.industries |
Note 1:
If your deployment is for a large-scale project and requires bulk installation, you can provide the above parameters to us in advance. We can pre-configure them before shipping the gateways, so that the gateways can be used immediately upon power-up and network connection, greatly reducing on-site work.
Note 2:
Because the demonstration environment is in the EU region, but the current gateway frequency band is US, this does not affect the registration or use of the gateway. Therefore, we recommend that users handle this according to their actual needs.
Step 2: Configure the Gateway
a) Disable Default Packet Forwarding Parameters
First, log in to the gateway’s management interface (refer to How to Login Web GUI of Milesight Gateway : IoT Support) and follow the screenshot instructions below:
(If it is already disabled accordingly, you can skip this step.)
After completion, the result should look like this:
b) Configure Parameters
Follow the figure below:
Click the add button, and in the pop-up window, select The Things Industries - Auto from the Type dropdown:
Fill in the fields as prompted, all parameters come from the previous steps.
Note:
The Server Protocol supports three types, choose the one that fits your actual use case.
After completing all configurations, the result should be as shown:
Click Save, then Save & Apply to submit the settings and wait 3-5 mins for the changes to take effect.
At this point, the entire configuration process is complete.
Next, verify the results.
Step 3: Check the Results
Go back to the console interface and click Gateways tab:
Filter using the gateway’s EUI.
You should see that the gateway has been automatically registered on the platform:
Click to view details:
You can see that the platform is already receiving data reported by the gateway in real time, indicating that the gateway has successfully connected to the platform and is transmitting data.
-END-