Page 87/95
21January2021/Version 0
LEM International SA
Chemin des Aulx 8
1228 PLAN-LES-OUATES Switzerland
www.lem.com
Command time synchronization requires nothing more than a HTTP request, consisting in writing
a timestamp on eld /time/utc in /settings API.
Timestamp shall be UTC time, and compliant with ISO-8601 format.
Here is an example of writable timestamp: “2020-01-01T14:00:00Z”
It is not necessary to specically switch o NTP if used before triggering Command time
synchronization request, as it is done automatically.
Network Time Synchronization allows reliable and automatic synchronization. NTP allows using a
large amount of public and precise time references.
Use of NTP requires the following actions in /settings API:
• Congure at least one server, by entering an IP or URL in eld ntp/servers/ipAddress, and the
required port in eld ntp/servers/port
• Switch ntp/activated to “true”
123 is the default IANA port for NTP.
No synchronization is allowed during a transaction
An attempt of NTP synchronization is achieved:
• As congured in eld ntp/syncPeriod in /settings API
• On expiration of the synchronization
• Or at the end of the transaction, if synchronization expired during it
• On startup of the DCBM
• When switching to NTP mode
An attempt of NTP synchronization can end with the following outcomes:
• The synchronization succeeded. Time of valid synchronization is saved, and synchronization becomes
valid for the next 48 hours.
• The synchronization failed. Synchronization status is not discarded; it stays valid until expiration (48
hours after the last valid synchronization).
i
!