1-Milesight Gateways and LoRaWAN Devices
2-Milesight NB-IoT Devices
TABLE OF CONTENTS
1-Milesight Gateways and LoRaWAN Devices
Description
Daizy is a low-code platform designed for Internet of Things (IoT) projects, focusing on unified device management, data stream integration, and lifecycle control. The platform supports multiple communication protocols such as LoRaWAN, NB-IoT, and LTE-M, enabling flexible integration of various sensors and gateway devices. Users can remotely configure devices, enable auto-activation, visualize data, and manage alerts through the Daizy platform.
In addition, Daizy offers a rich set of APIs, data publishing mechanisms (e.g., MQTT, Webhook, S3), and a visual workflow editor to help businesses quickly build IoT applications, accelerate deployment, and improve operational efficiency.
This document provides a complete guide and demonstration on how to connect a UG65 gateway to the Daizy platform and use a LoRaWAN device as an example.
Requirement
- Gateway Model: UG65 (UG56, UG67,UG63,SG50 also supported)
Sensor Model: EM310-Tilt ( or other type of Milesight Sensors)
The gateway must be connected to the internet
Configuration
Step 1: Register an Account
Visit Platform for IoT Management | Daizy - connect to 1000s of devices :
Click on "Request Demo".
After submission, Daizy staff will create an account for you based on your request.
Step 2: Register the Gateway
Navigate to the Gateways page and click "Select gateway type", then choose your gateway model.
In the pop-up window, fill in the required parameters such as:
- Gateway EUI
Name
Keep Alive Interval
Note:
Check the box for "Use authenticated connection".
We will use Basics Station mode to connect the gateway to the platform.
After clicking "Next", you will see the following information:
Please record and download the related certificates:
- CUPS URL and Certificate
LNS URL and Certificate
Root Certificate List
Now ,let us configure the Gateway:
Refer to the guide <How to Login Web GUI of Milesight Gateway> to access the gateway’s web interface.
Create a new Multi-Destination entry with type set to Basics Station, then configure it as shown (use the CUPS and LNS addresses and certificates as mentioned above, along with the root certificate):
After clicking Save, wait a few moments.
The gateway will automatically establish a connection with the Daizy platform.
Once connected, the gateway integration is complete. Next, we will add a sensor device.
Step 3: Add Sensor Devices
Navigate to the Device Catalogue page and click "Add device types".Select your device and click "Confirm".
Next, click "Add devices".
You have two options:
- Method 1: Manual Addition
Enter the following parameters: Device ID, Device EUI, App EUI and App Key.
- Method 2: Import in Bulk via CSV File
Once configured, the device will appear in the Stock list in Daizy.
At this point, our sensor has been successfully added, and the platform is now able to receive real-time data from the sensor.
Step 4: Manage Device in project
There are three methods to activate devices of the project and at this time , you can see the device data too:
- Method 1: Move to Test Bench
For testing purposes, devices can be added to the Test Bench to view data without publishing to a live environment.
- Method 2: Manually Mount into a Project
Click "Mount" on a stocked device to install it into a project immediately.Enter the project location name.
After mounting, click on the device to see its new assigned location and perform configuration if needed.
To configure custom parameters, go to the Device Catalogue, select the device, and click "Add new profile".
- Method 3: Use Daizy Mobile App for Bulk Deployment
This method is ideal for large-scale deployment.In Project Composer, select the deployment site, device type, and (optional) configuration Profile, then click "Create Tasks".
The task will be sent to the mobile app's task inbox. Installers can simply scan the device's QR code to complete subscription, activation, configuration, and deployment.
Step 5: Device Status
To view the current status of the device, go to the “Devices” menu.
Here you can perform actions on devices individually or in bulk. Click into a device to view its current status.
The “State” tab will show the latest data from the device.
The “Messages” tab will show recent messages, with network and signal information.
Step 6: Device and Project events
Daizy provides real-time monitoring of deployed devices. If a device goes offline or has issues such as low battery, the system will automatically generate alerts.
To receive alerts, connect your integration to "Device and Project events".
2-Milesight NB-IoT Devices
Description
Daizy is a low-code platform designed for IoT (Internet of Things) projects, focusing on unified device management, data stream integration, and project lifecycle control. The platform supports multiple communication protocols (e.g., LoRaWAN, NB-IoT, LTE-M), allowing flexible integration of various sensors and gateway devices. With Daizy, users can remotely configure devices, automate activation, visualize data, and manage alerts.
Additionally, Daizy provides rich APIs, data publishing mechanisms (such as MQTT, Webhook, S3, etc.), and a visual workflow editor to help enterprises quickly build IoT applications, accelerate deployment, and enhance operational efficiency.
This document mainly describes how to connect the NB-IoT device to the Daizy platform and demonstrates the full workflow as an example.
Requirement
- NB-IoT or LTE-M device
A valid SIM card
Configuration
Step 1: Register an Account
Visit Platform for IoT Management | Daizy - connect to 1000s of devices :
Click on "Request Demo". After submission, Daizy staff will create an account for you based on your request.
Step 2: Add Sensor Device
Go to the Device Catalogue page and click “Add device types”.
Select your device and then click “Confirm”.
You will need the following information:
- A device ID (this could be the device serial number, or a unique ID such as an asset label)
- Device serial number (SN)
- An authentication ID - this is something you create to authenticate the device with Daizy. For added security this should be unique for every device.
- SIM card ICCID
If you are using a SIM supplied by Daizy it will be automatically activated when you install your device, and will provide real time presence information in the device details screen for troubleshooting communication issues.
If you are using a SIM from elsewhere, select "Use third party SIM".
Step 3: Configure Device Parameters
Use the Tool Box utility to configure sensor parameters.
Key parameters include:
● APN Settings (only applicable for Daizy SIM cards):
APN Name: iotaccesspoint.net
APN Username: (leave blank)
APN Password: (leave blank)
● MQTT Settings:
Broker Address: mqtts://mqtt.iotaccesspoint.net
Port: 8883
Authentication: Enabled
Username: device
Password: The authentication token used when registering the device
TLS: Enabled
After completing the configuration, wait a moment, the device will automatically connect to the network and appear online in Daizy.
At this point, the NB-IoT/LTE-M device has been successfully added to the platform.
Step 4: Configure Device Parameters
There are three methods to activate devices of the project and at this time , you can see the device data too:
- Method 1: Move to Test Bench
For testing purposes, devices can be added to the Test Bench to view data without publishing to a live environment.
- Method 2: Manually Mount into a Project
Click "Mount" on a stocked device to install it into a project immediately.Enter the project location name.
After mounting, click on the device to see its new assigned location and perform configuration if needed.
To configure custom parameters, go to the Device Catalogue, select the device, and click "Add new profile".
- Method 3: Use Daizy Mobile App for Bulk Deployment
This method is ideal for large-scale deployment.In Project Composer, select the deployment site, device type, and (optional) configuration Profile, then click "Create Tasks".
The task will be sent to the mobile app's task inbox. Installers can simply scan the device's QR code to complete subscription, activation, configuration, and deployment.
Step 5: Device and Project events
Daizy provides real-time monitoring of deployed devices. If a device goes offline or has issues such as low battery, the system will automatically generate alerts.
To receive alerts, connect your integration to "Device and Project events".
-END-