Milesight D2D Settings

Milesight D2D protocol is developed by Milesight and used for setting up transmission among Milesight devices without gateway, which is able to reduce the latency and achieve the quick control.

D2D Data Receiving Settings

The device is able to receive temperature and humidity sensor data from Milesight sensors directly via Milesight D2D to display on the screen and achieve the accurate temperature control. Before using this feature, please ensure that you have one or more Milesight sensors which support D2D Data Sending feature.

1. Send downlink command to switch the data source as D2D.

2. Ensure the RX2 datarate and RX2 frequency are the same as the data sending devices.

3. Set the D2D key to be the same as the Milesight sensors. (Default D2D Key: 5572404C696E6B4C6F52613230313823)

4. Enable D2D Data Receiving Settings, click , then attach the smartphone to NFC areas of Milesight sensors to add them to the device settings. If you require to replace the devices, click Replace, then attach the smartphone to anther sensor.
Tip: One device supports to add 5 sensors at most. When multiple sensors are added, the device will use the average values of multiple sensors.
5. Click Write, then attach the smartphone to device to save above settings.

Milesight D2D Controller

The device is able to work as a D2D controller device to send commands to trigger D2D agent devices when system switches on/off or a specific schedule plan is switched.

1. Configure the RX2 datarate and RX2 frequency.
Note: It is suggested to change the default values if there are many LoRaWAN® devices around.


2. Enable D2D Controller Settings, and define a unique D2D key to be the same as D2D agent devices. (Default D2D Key: 5572404C696E6B4C6F52613230313823)

3. Enable one of statuses and configure 2-byte hexadecimal Milesight D2D command.
Note: If LoRa Uplink is enabled, a LoRaWAN® uplink packet that contains corresponding alarm status will be sent to gateway after the Milesight D2D command packet. Otherwise, the packet will not send to LoRaWAN® gateway.
Example: When the system switches to off, the device will send command ff01 to D2D agent devices.

Milesight D2D Agent

The device is able to work as a Milesight D2D agent device to receive commands from Milesight D2D controller devices to trigger the system on/off or switch the schedule plans.

1. Ensure the RX2 datarate and RX2 frequency are the same as the D2D controller devices.

2. Set the D2D key to be the same as the D2D controller devices. (Default D2D Key: 5572404C696E6B4C6F52613230313823)

3. Enable D2D Agent Settings, then add a rule to select the action object to trigger and configure a 2-byte hexadecimal Milesight D2D command. One device supports to add 8 rules at most.

Example 1: When receiving a command 0001, the device will switch the system on.

Example 2: When receiving a command 2000, the device will execute the Occupied schedule right away.