TABLE OF CONTENTS


Description

The Mainlink platform is a comprehensive IoT data ingestion and management platform. Its design goal is to provide users with a stable, flexible, and highly extensible environment to help enterprises and developers quickly realize device onboarding, data collection and visualization, and integration with upper-layer applications. Unlike some platforms that directly manage gateways, Mainlink adopts a collaborative division-of-labor model: gateway onboarding and LNS (LoRaWAN Network Server) integration are mainly handled by vendors and administrators, while end users can conveniently perform bulk sensor addition and management through the platform’s self-service tools. This guide combines practical operational steps to help users progressively complete the entire process from gateway activation to data visualization. 


This article mainly explains how to integrate using Milesight's EM300-DI, during which cooperation from Mainlink staff is required. 


Note: 

Currently the platform only supports the EM300-DI model. If you need support for other models, you can contact us or Mainlink staff for assistance. If you are using a different LoRaWAN sensor, this article may still provide some useful reference. 


Gateway Integration Process

On the Mainlink platform, gateway management is handled jointly by the device vendor and Mainlink administrators. End users do not need to configure gateways themselves.Some gateway models, such as Kerlink, support automatic integration through The Things Industries (TTI) Zero-Touch Provisioning (ZTP). Once the vendor completes the setup, administrators only ensure the data link between the LoRa Network Server (LNS) and Mainlink is working correctly.This approach allows users to focus on device data and applications without dealing with gateway-level technical details.

Under normal circumstances, in the following demonstration, you can refer to the figure below to check whether your gateway is functioning properly :


Configuration

On the Mainlink platform, onboarding and managing sensors (devices) is a core part of IoT applications. By adding sensors, the platform can collect, process and visualize real-time field data, and support subsequent business logic, alerts and reporting functions.

Unlike gateway configuration, sensor addition requires users to perform certain actions on the platform. The general process includes device registration, communication parameter configuration, data verification and display. The primary goal is to ensure that the platform can correctly identify devices, receive data, and map it into business logic.


Notes

  • The platform provides common sensor templates that users can use to reduce configuration workload.

  • For custom devices, administrators need to configure payload decoding rules (e.g., payload decoders) manually.

  • Mainlink’s device management supports bulk import to facilitate rapid onboarding in large-scale deployments.


Step 1: Log in to the platform

For end users, Mainlink will provide a username, password, and access address. The following demonstration uses the sample platform, with the login page shown below.


Step 2: Go to Device Management

As shown in the figure, click to navigate to the Device Management interface :


Step 3: Download the CSV template file

As shown in the figure, click to download the template file to your local device :

Then, simply follow the instructions in the file and fill in the LoRa parameters of your EM300-DI. 


Step 4: Register devices

Then, follow the steps shown in the figure to import the CSV file :

At this stage, the Mainlink platform will read the CSV file line by line and create devices by calling the LNS API. After that, Mainlink will synchronize each device to the platform and establish the data link.

Additionally, you can also check the status information of each individual device :

And the Mainlink platform will start receiving data from each device in real time.


Verify data ingestion

The platform supports three dimensions of data analysis: Heat Report, Water Report, and Temperature Report :


--END--