Articles on: LoRaWAN

How do I add a Milesight Gateway?

Adding a Milesight Gateway in cThings Cloud involves two stages:
Stage 1: Create the Gateway in cThings Cloud.
Stage 2: Add a new destination on the Milesight dashboard.

Create the Gateway in cThings Cloud



To create a new Gateway in cThings Cloud, follow these steps:

1. Create a new Network Node


Navigate to the Network Nodes page by clicking Network in the menu on the left-hand side.
Click New Network Node in the top-right corner of the page.

Clicking the New Network Node button

2. Select the type of Network Node


Select Gateway.

Selecting the node type

3. Select the Gateway Manufacturer


Choose Milesight as the Gateway manufacturer.

Selecting the manufacturer

4. Select the Gateway Product


Select the relevant Milesight product.
E.g Milesight UG65.

Selecting the product

5. Enter the required details


Name: Give the Gateway a descriptive name.
Serial Number: Copy the serial number from the Milesight dashboard – found under Serial Number (see screenshot below).
Parent Asset: Select the Asset under which to add your Gateway.
Provider: Select the Gateway Provider.
Click Next.

Entering required gateway details
Retrieving the gateway serial number from the Milesight dashboard

6. Navigate to the LoRa tab and configure the following:


Network Server: Select AWS IoT LoRaWAN.
Gateway EUI: Find this in the Milesight dashboard by clicking Packet Forwarder from the left-hand menu and copying the Gateway EUI (See screenshot below).
Gateway Profile: Select EU868 as the gateway profile.
Click Next.

Select the communication interface your device will be using
Retrieving the Gateway EUI from the Milesight dashboard

7. Create the Gateway


Review the details on the summary page
Click Create Node to create the Gateway

Adding a new destination on the Milesight dashboard



Once the network node is set up in cThings Cloud, you next need to add a new destination on the Milesight dashboard.

Before adding a new destination, make sure to disable any existing ones to prevent conflicts.

1. Add a new Destination


Go to the Milesight dashboard.
Click Packet Forwarder from the left-hand menu.
Click the plus (+) button to add a new destination.

Adding a new destination on the Milesight dashboard

2. Select Destination type


Select Basic Station as the destination type.



3. Copy the CUPS URI and generate Gateway certificates on cThings Cloud


Go to the newly created Gateway on cThings cloud.
Click Network Node in the top right hand corner of the page.
Then select Generate Certificates from the dropdown menu.
Copy the CUPS URI and paste it into the URI input on the Milesight dashboard
Click the Download Certificates button.

Copying the CUPS URI and downloading certificates on cThings Cloud

4. Rename the downloaded certificate files as follows:


Change the file ending in .server_certificate.pem to .server_certificate.trust.
Change the file ending in .gateway_certificate.pem to .gateway_certificate.crt.

5. Upload the certificates to the Milesight dashboard by selecting the correct files for each input


CA File (.trust): Click Browse, then select the *.trust file.
Client Certificate File (.crt): Click Browse, then select the *.crt file.
Client Key File (.key): Click Browse, then select the *.key file.

After selecting each file, click the Import button to upload it, then click Save.

Importing certificates on the Milesight dashboard

6. Save your changes


Click Save and Apply to save all your changes.

Clicking Save & Apply

Conclusion


You’ve successfully added a Milesight Gateway on cThings Cloud. The Gateway is now ready to use and can be managed from the Networks page.

For further assistance, feel free to contact us directly. We’re here to help!

Updated on: 05/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!