Milesight LoRaWAN Gateway - UG6x

Introduction

In this tutorial, we'll be guiding you through the process of adding the Milesight LoRaWAN Gateway UG6x Series to Datacake's LoRa Network Server (LNS). This step-by-step guide is designed to ensure a smooth setup process, allowing you to leverage the full capabilities of your LoRaWAN devices within the Datacake platform. Whether you're setting up a new workspace or looking to expand your current IoT network, this documentation will provide you with all the necessary instructions to successfully integrate your gateway with Datacake LNS. In this tutorial we are using Milesight LoRaWAN Gateway UG65.

Getting started

Requirements

  1. Make sure to have an account and a workspace at datacake.

  2. Wire everything up.

  3. Have every information of the Gateway next to you.

Add a new gateway

To commence the addition of your Milesight LoRaWAN Gateway, click on the "Gateway" section located on the sidebar of your workspace.

This action will lead you to the gateways view, which, initially, will not list any gateways. Datacake provides comprehensive documentation for adding gateways, accessible via a designated button.

Additionally, you'll find a blue "Add Gateway" button positioned in the top right corner—click this to proceed.

Configuring Gateway Information

Upon clicking "Add Gateway," a model will appear, prompting you to enter specific details about your gateway.

These details include the Gateway Name, Gateway UI (Unique Identifier), and the operating Frequency. Here's how to approach each requirement:

  • Gateway Name: Assign a name to your gateway, such as "My Milesight Gateway," to easily identify it within your workspace.

  • Gateway EUI: This unique identifier is essential for integrating your gateway with the network. In the following section, we will cover how to retrieve the Gateway EUI from your Milesight device.

  • Frequency: The frequency selection must match your gateway's operational frequency. This is typically determined by your geographic location (e.g., Europe operates on the 868 MHz frequency band).

Retrieving the Gateway EUI

The Gateway EUI is a critical component for the integration process. This unique identifier can be found on your gateway's management platform. To access this, you'll need to switch to the management platform of your Milesight LoRaWAN Gateway UG65.

Configuration of your Milesight LoRaWAN Gateway UG65

Your LoRaWAN gateway needs to be connected to the internet. You can plug the gateway into your home or company's network or using WiFi instead. You can find the tutorials from Milesight here: https://support.milesight-iot.com/support/solutions/articles/73000514278-how-to-connect-milesight-gateway-to-the-internet

Note: If you are using this gateway at your company's network you might want to talk to your IT department.

When connected to a network you can access the management platform / Web GUI of the gateway. You can find the tutorial from Milesight here: https://support.milesight-iot.com/support/solutions/articles/73000514071-how-to-login-web-gui-of-milesight-gateway

Copying the Gateway UI

The EUI, typically starting with "24," resembles a MAC address and includes an additional character for identification. To proceed, click on the copy button next to the EUI and return to your Datacake gateway configuration page to paste the identifier.

Enter Gateway EUI on Datacake

Copy and paste the Gateway EUI into Datacake's modal.

Setting the Frequency

After inputting the Gateway UI, the final step in the model is to select the appropriate frequency for your gateway. This frequency must align with the operational frequency of your Milesight Gateway, which is indicated on the device's management platform. For instance, if your gateway is located in Germany, you would select the European frequency band (868 MHz).

Finalizing Gateway Addition

With the gateway name, UI, and frequency correctly entered, you can finalize the addition of your Milesight Gateway to Datacake by clicking on the "Create Gateway" button. This action not only adds your gateway to the platform but also presents you with additional configuration information, such as the protocol, gateway server address, port number, and frequency summary.

Please don't close this modal yet, we do need to copy a few of those settings and information on the next steps.

Configuring Milesight LoRaWAN Gateway

Integrating your Milesight gateway with Datacake LNS requires a series of precise configurations within the gateway's configuration panel.

  1. Log into the Mileshight Gateway management platform like you did to get the EUI.

  2. Navigate to "Packet Forwarder" and scoll down to "Multi-Destination".

  3. Add a new destination by clicking "+".

  4. Make sure to enable the new destination, chose type "Semtech" and address to "custom". After you selected "custom" you are allowed to type in an address. Please select your Datacake LNS from the gateway information from Datacake. Make also sure that you have the same ports as in the gateway information from Datacake. Save afterwards.

  5. Optional: Disable the default destination by clicking on the edit button (pencil) and removing the tick at "Enable". Save afterwards.

Verify connectivity

Once your gateway reboots, verify that it has successfully connected to Datacake LNS. You can do this by checking the gateway's status on the Datacake platform, ensuring it appears online and is actively communicating data.

Last updated

Was this helpful?