Description

Milesight nodes support to sync device time which can display on the screen or for data storage and retransmission feature , this article will describe the detailed steps. 



Requirement

  • Milesight LoRaWAN Sensors/Controllers: AM series sensors, EM320-TH, WTS series sensors, EM300-DI, UC51x Series
  • ToolBox App or ToolBox software: download here



Configuration

There are two ways to do time synchronization, one is manually syncing via ToolBox, another is syncing with network server. 


Time Synchronization via ToolBox 

1. Run ToolBox App and go to Device > Status, or run ToolBox software and go to Status page.

2. Click Sync button to complete synchronization, the device will get the time from your smartphone or computer.



Time Synchronization via Network Server

LoRaWAN network sever which LoRaWAN version is 1.0.3 or later supports assigning the time to device via MAC commands everytime the device joins to the network. 

1. Run ToolBox App and go to Device > Setting > LoRaWAN Settings, or run ToolBox software and go to LoRaWAN Settings > Basic page.

2. Change the LoRaWAN version the same as your network server setting, it’s suggested to select LoRaWAN V1.0.3. After joining the network, the device will send MAC request to ask for time from network server.




3. Sometimes the network server only assign the time which is different from your timezone, you can use this downlink command to assign the time zone: ff17+time zone*10 (2 bytes).

Example 1: set the time zone as GMT-4.

ff17d8ff

Channel

Type

Value

ff

17 (Set Time Zone)

d8 ff => ffd8 = -40 = -4 * 10

 

 Example 2: set the time zone as GMT+8.

ff175000

Channel

Type

Value

ff

17 (Set Time Zone)

50 00 => 00 50 = 80 = 8 * 10

 

 

Note: this command does not work on every model, please refer to corresponding user guide: https://www.milesight-iot.com/documents-download/

 

 

--END--