Zoho IoT applications can now directly integrate with Milesight Gateway devices (with built-in LNS Eg. UG 65) via Data Streams, allowing you to monitor LoRa nodes managed by the Milesight Gateway device. Communication Integration with milesight gateway device using datastream is supported through both MQTT and HTTPS.
Prerequisite
Network Server must be enable in the Milesight Gateway.
Access to a Zoho IoT application.
The process of integrating a Milesight Gatew way with built-in Network Server with a Zoho IoT application involves two steps:
Adding a Milesight Data Stream in the Zoho IoT application.
Updating the Data Stream credentials in the Milesight Gateway device.
Adding a Milesight Data Stream supporting MQTT (or) HTTPS
Follow these steps to create a Milesight Data Stream in the Zoho IoT application,
Access the End Application and click the Settings icon in the top right corner.
Under the INTEGRATIONS section, click Data Streams.
Click Add LoRaWAN Data Stream.
Select Milesight and click Proceed.
Provide the required details and click Add:
LoRaWAN Data Stream Name : A unique name for the data stream.
Description : A brief description of the data stream.
Connectivity : The communication protocol between the Milesight Gateway and Zoho IoT application (e.g., MQTT or HTTPS).
Authentication Type : The method used for secure authentication (e.g., TLS or Without TLS authentication).
Keep Alive Interval : The frequency in seconds at which the connection is checked to ensure it remains active.
A new Data Stream is created, and its connection details will be displayed.
Click OK to close the connection details pop-up.
You will be redirected to the Data Stream Information page.
Click Close on the Onboarding Assistant pop-up.
Click Actions > Connection Details to view the Data Stream credentials.
Now that the Data Stream has been created and you have access to its connection details, you can update these details in the Milesight Gateway device to establish a connection with the Zoho IoT application.
[ Note: You access the connection details anytime by navigating to Settings > Data Stream > Click on the required Data Stream > Actions > Connection Details.]Enabling Data Transmission in the Milesight Gateway
Open the Milesight Gateway device application.
Navigate to Network Server > Applications and Add a Device.
Add a Data Transmission.
Select the Data Transmission Type based on the Communication Protocol chosen in the Zoho IoT Milesight Data Stream:
For MQTT, enter the following credentials in the appropriate fields:
Fields in Milesight Device Application | Corresponding Field in Zoho IoT Data Stream |
Broker Address | Broker URL |
Broker Port | Broker Port |
Client ID | Stream ID |
Username | Username |
Password | Stream Token |
TLS | Authentication Type |
Uplink Data | Publish Topics |
For HTTPS, enter the following credentials in the appropriate fields:
Fields in Milesight Device Application | Corresponding Field in Zoho IoT Data Stream |
Uplink Data | URL Param Implementation |
Save the Settings.
If the integration is successful, every time a LoRa node connected to the Milesight Gateway sends an uplink message, it will be received in the integrated Zoho IoT Application.