---
title: CONNECTING MILESIGHT LORA SENSORS WITH ALLEANTIA CORE (ISC) SOFTWARE
description: Learn how to connect Milesight UC300 IoT trough UG30 LoRa gateway in Alleantia ISC Software. One architecture to manage Iot data from wireless and cabled machines and sensors.
---

[Skip to content](https://kb.alleantia.com/how-to-connect-milesight-uc300-iot-trough-ug30-lorawan-gateway#main-content)

English

Show submenu for translations

![Alleantia\_ATJ\_whitelogocolorbandtrasnpbg\_HR-Oct-21-2021-02-02-26-19-PM.png\]](https://kb.alleantia.com/hs-fs/hubfs/Alleantia_ATJ_whitelogocolorbandtrasnpbg_HR-Oct-21-2021-02-02-26-19-PM.png?height=40&name=Alleantia_ATJ_whitelogocolorbandtrasnpbg_HR-Oct-21-2021-02-02-26-19-PM.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Visit our site](https://www.alleantia.com/)

[Visit our site](https://www.alleantia.com/)

 Welcome to Alleantia, Industrial IoT Edge Gateway. How can we help you?

- There are no suggestions because the search field is empty.

1. [Alleantia Knowledge Base](https://kb.alleantia.com/)
2. [Industrial IoT Connectivity in 4 steps](https://kb.alleantia.com/industrial-iot-connectivity-in-4-steps)

# CONNECTING MILESIGHT LORA SENSORS WITH ALLEANTIA CORE (ISC) SOFTWARE

## Learn how to connect Milesight UC300 IoT trough UG30 LoRa gateway in Alleantia ISC - one IoT architecture for any IoT device.

1\) Connect to your Milesight UG30 Gateway using its default IP via Ethernet port or Wi-Fi. 192.168.23.150. The UG30 default IP is listed in the box in the little brochure.

![](https://kb.alleantia.com/hs-fs/hubfs/1-jpg.jpeg?width=688&height=411&name=1-jpg.jpeg)

 

2\) Go to tab Network -\> Interface on the left side to edit the networking configuration according to your requirements

![](https://kb.alleantia.com/hs-fs/hubfs/2-jpg.jpeg?width=688&height=411&name=2-jpg.jpeg)

3\) For creating a new LoraWan architecture, go to the “Network Server” tab and then click on the “Applications” tag.

![](https://kb.alleantia.com/hs-fs/hubfs/3-jpg.jpeg?width=688&height=411&name=3-jpg.jpeg)

4\) Click on the ‘+’ Button to create a new application: in this case, we will use MQTT protocol, so you need to specify your MQTT broker address and, if used, username and password. Then, click on the save button. See this example

![](https://kb.alleantia.com/hs-fs/hubfs/4-jpg.jpeg?width=688&height=430&name=4-jpg.jpeg)

5\) Go to the bottom page and edit the topics for connecting a Milesight UC300 LoraWan IoT Gateway as specified below and then click on the save button  
I “Uplink data” tab Write: uc300/uplink   
In “Downlink data” tab write: uc300/downlink

![](https://kb.alleantia.com/hs-fs/hubfs/5-jpg.jpeg?width=688&height=411&name=5-jpg.jpeg)

6\) Click on “profile” upper button and click on “+” Button to create a new profile.

![](https://kb.alleantia.com/hs-fs/hubfs/5-jpg-1.jpeg?width=688&height=411&name=5-jpg-1.jpeg)

7\) Create a profile like this example and then click on the "Save" button

![](https://kb.alleantia.com/hs-fs/hubfs/7-jpg.jpeg?width=688&height=411&name=7-jpg.jpeg)

8\) Now we need to add our Milesight UC300 IoT gateway in UC300 Lorawan device list, so click on the upper “Device” button.

![](https://kb.alleantia.com/hs-fs/hubfs/8-jpg.jpeg?width=688&height=411&name=8-jpg.jpeg)

9\) Click on “Add” button to add a device. Please match all the fields with your UC300 gateway and then click on “Save & Apply”

![](https://kb.alleantia.com/hs-fs/hubfs/9-jpg.jpeg?width=688&height=430&name=9-jpg.jpeg)

 

10\) To get all the fields of your UC300 IoT gateway, you need to download “Milesight ToolBox” software. Set your COM port and use the default login password 123456 to connect. See this example

![](https://kb.alleantia.com/hs-fs/hubfs/10-jpg.jpeg?width=688&height=411&name=10-jpg.jpeg)

- After connecting, go to “Lorawan settings” and take note of the “Device EUI” and “App EUI” fields. You will need them in point n°9
  
  ![](https://kb.alleantia.com/hs-fs/hubfs/11-JPG.jpeg?width=688&height=469&name=11-JPG.jpeg)
- You can set the RS485 port to communicate with a Modbus RTU device and read up to 32 registers. To do that, go to “the General” tab, and then RS485”. This is an example of settings.
  
  ![](https://kb.alleantia.com/hs-fs/hubfs/12-JPG.jpeg?width=688&height=470&name=12-JPG.jpeg)
- If everything is configured properly, you will see JSON messages from UG30 in your broker. You can also double-check this in the UG30 webapp, in the “Network Server” page. Click on the “Packets” tab to see messages from your UC300 gateway. See this example,
  
  ![](https://kb.alleantia.com/hs-fs/hubfs/13-JPG.jpeg?width=688&height=468&name=13-JPG.jpeg)
- Now you can connect the UG30 / UC300 to Alleantia ISC.

![](https://kb.alleantia.com/hs-fs/hubfs/14-JPG.jpeg?width=688&height=466&name=14-JPG.jpeg)

11\) Download the Alleantia machine driver for the Milesight UC300 at this link:   
[https://cloud.alleantia.com/info/productDetail.zul?productId=4776](https://cloud.alleantia.com/info/productDetail.zul?productId=4776)   
and add to your catalogue by clicking on “add button” and then “Upload”

12\) Then, declare MQTT broker in the Alleantia ISC software. Go to the Configuration page / MQTT Brokers configuration

To add this device, go to Device Configuration page and then add uc300 drivers from the catalogue

![](https://kb.alleantia.com/hs-fs/hubfs/Immagine1-png-1.png?width=952&height=617&name=Immagine1-png-1.png)

 

Select your previously configured broker on the communication port tab as below and then click on save

![](https://kb.alleantia.com/hs-fs/hubfs/Immagine2-png.png?width=952&height=617&name=Immagine2-png.png)

 

Go to “Devices” tab and see your new UC300 gateway data!

![](https://kb.alleantia.com/hs-fs/hubfs/Immagine3-png.png?width=952&height=545&name=Immagine3-png.png)

Then, you can proceed to complete your IoT Configuration, API Setup etc.

- [Industrial IoT Connectivity in 4 steps](https://kb.alleantia.com/industrial-iot-connectivity-in-4-steps#main-content)

    - [Industrial Connectivity in 5 minutes - Configuration Steps](https://kb.alleantia.com/industrial-iot-connectivity-in-4-steps#industrial-connectivity-in-5-minutes-configuration-steps)
- [Alleantia Platform Overview](https://kb.alleantia.com/alleantia-platform-overview#main-content)

    - [Alleantia Core](https://kb.alleantia.com/alleantia-platform-overview#alleantia-core)
    - [Cloud Portal](https://kb.alleantia.com/alleantia-platform-overview#cloud-portal)
    - [Machine Drivers](https://kb.alleantia.com/alleantia-platform-overview#machine-drivers)
    - [IIoT Apps - Connect Business Apps](https://kb.alleantia.com/alleantia-platform-overview#iiot-apps-connect-business-apps)
    - [Site Manager](https://kb.alleantia.com/alleantia-platform-overview#site-manager)
- [Alleantia Core](https://kb.alleantia.com/alleantia-core#main-content)

    - [Alleantia Core - Download and Configurations](https://kb.alleantia.com/alleantia-core#alleantia-core-download-and-configurations)
- [Licenses and Free Version](https://kb.alleantia.com/licenses-and-free-version#main-content)

    - [License Management](https://kb.alleantia.com/licenses-and-free-version#license-management)
    - [Alleantia Core - Free Version](https://kb.alleantia.com/licenses-and-free-version#alleantia-core-free-version)
- [Machine Drivers](https://kb.alleantia.com/machine-drivers#main-content)

    - [How can I create a driver with spreadsheet template??](https://kb.alleantia.com/machine-drivers#how-can-i-create-a-driver-with-spreadsheet-template)
    - [How can I create a driver with Driver Editor?](https://kb.alleantia.com/machine-drivers#how-can-i-create-a-driver-with-driver-editor)
    - [Private Library](https://kb.alleantia.com/machine-drivers#private-library)
    - [Machines connection configurations](https://kb.alleantia.com/machine-drivers#machines-connection-configurations)
- [Stream Data - IIoT Apps](https://kb.alleantia.com/stream-data-iiot-apps#main-content)

    - [API REST](https://kb.alleantia.com/stream-data-iiot-apps#api-rest)
    - [Modbus](https://kb.alleantia.com/stream-data-iiot-apps#modbus)
    - [OPC UA](https://kb.alleantia.com/stream-data-iiot-apps#opc-ua)
    - [AWS](https://kb.alleantia.com/stream-data-iiot-apps#aws)
    - [Boomi](https://kb.alleantia.com/stream-data-iiot-apps#boomi)
    - [Microsoft Azure](https://kb.alleantia.com/stream-data-iiot-apps#microsoft-azure)
    - [Dropbox](https://kb.alleantia.com/stream-data-iiot-apps#dropbox)
    - [MQTT](https://kb.alleantia.com/stream-data-iiot-apps#mqtt)
    - [SQL](https://kb.alleantia.com/stream-data-iiot-apps#sql)
    - [OneDrive for Business](https://kb.alleantia.com/stream-data-iiot-apps#onedrive-for-business)
    - [TeamViewer](https://kb.alleantia.com/stream-data-iiot-apps#teamviewer)
- [Alleantia Certified Hardware](https://kb.alleantia.com/alleantia-certified-hardware#main-content)

    - [Advantech](https://kb.alleantia.com/alleantia-certified-hardware#advantech)
    - [Cisco](https://kb.alleantia.com/alleantia-certified-hardware#cisco)
    - [Dell](https://kb.alleantia.com/alleantia-certified-hardware#dell)
    - [Eurotech](https://kb.alleantia.com/alleantia-certified-hardware#eurotech)
    - [Lenovo](https://kb.alleantia.com/alleantia-certified-hardware#lenovo)
    - [Portwell](https://kb.alleantia.com/alleantia-certified-hardware#portwell)
    - [Stratus](https://kb.alleantia.com/alleantia-certified-hardware#stratus)
- [Simulators and Starter Kit Industria 4.0](https://kb.alleantia.com/simulators-and-starter-kit-industria-4-0#main-content)

    - [Simulators - PLCs, CNC, Energy meters](https://kb.alleantia.com/simulators-and-starter-kit-industria-4-0#simulators-plcs-cnc-energy-meters)
    - [Starter Kit Industria 4.0](https://kb.alleantia.com/simulators-and-starter-kit-industria-4-0#starter-kit-industria-4-0)
- [Edge Operational Applications](https://kb.alleantia.com/edge-operational-applications#main-content)

    - [Cobot Smart Service](https://kb.alleantia.com/edge-operational-applications#cobot-smart-service)
- [FAQs - Trouble Shooting](https://kb.alleantia.com/faqs-trouble-shooting#main-content)

    - [Configurations](https://kb.alleantia.com/faqs-trouble-shooting#configurations)
    - [System Setup](https://kb.alleantia.com/faqs-trouble-shooting#system-setup)
    - [Interfaces to IIoT Apps](https://kb.alleantia.com/faqs-trouble-shooting#interfaces-to-iiot-apps)
    - [Interfaces to Industrial Devices](https://kb.alleantia.com/faqs-trouble-shooting#interfaces-to-industrial-devices)
- [Connectivity](https://kb.alleantia.com/connectivity)

[![Chill listening crop-3](https://kb.alleantia.com/hs-fs/hubfs/Alleantia_ATJ_transpbg_HD-1.jpg?width=120&height=55&name=Alleantia_ATJ_transpbg_HD-1.jpg "Chill listening crop-3")](http://www.alleantia.com)

© 2024 Alleantia s.r.l

<https://www.linkedin.com/company/2293482/admin/> <https://twitter.com/Alleantiasrl> <https://www.facebook.com/Alleantia>

Copyright © 2026, ALLEANTIA SRL