Synchronize With The Ntp Server; Query The Last Synchronization; Query The Universal Time Coordinated Time (Utc); Query The Local Time (Rtc) - Lightware RAP-B511-EU-K User Manual

Room automation panel
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.4.6. Synchronize with the NTP server
Command and Response
Ý CALL·/SYS/MB/NTP:updateTime()
Ü mO·/SYS/MB/NTP:updateTime
Example
Ý CALL /SYS/MB/NTP:updateTime()
Ü mO /SYS/MB/NTP:updateTime
7.4.7. Query the Last Synchronization
Command and Response
Ý GET·/SYS/MB/RTC.LastUpdate
pr·/SYS/MB/RTC.LastUpdate=<last_sync>
Ü
Parameters
<last_sync>
Displays the last synchronization time.
Example
Ý GET /SYS/MB/RTC.LastUpdate
Ü pr /SYS/MB/RTC.LastUpdate=2019-04-30T16:36:41
7.4.8. Query the Universal Time Coordinated Time (UTC)
Command and Response
Ý GET·/SYS/MB/RTC.UtcTime
pr·/SYS/MB/RTC.UtcTime=<utcTime>
Ü
Parameters
<utcTime>
Displays the date and the UTC time.
Example
Ý GET /SYS/MB/RTC.UtcTime
Ü pr /SYS/MB/RTC.UtcTime=2019-05-16T10:41:38
RAP-B511 series – User's Manual
7.4.9. Query the Local Time (RTC)
Command and Response
Ý GET·/SYS/MB/RTC.LocalTime
pr·/SYS/MB/RTC.LocalTime=<localtime>
Ü
Parameters
<localtime>
Displays the date and the local time.
Example
Ý GET /SYS/MB/RTC.LocalTime
Ü pr /SYS/MB/RTC.LocalTime=2019-02-14T17:16:14
7.4.10. Query the Local Time (RTC) Elements
TIPS AND TRICKS: When repetitive scheduled actions are required, these properties are to set as a
condition in the Event Manager.
Command and Response
GET·/SYS/MB/RTC.<RTC_element>
Ý
pr·/SYS/MB/RTC.LocalTime=<RTC_element>
Ü
Parameters
Identifier
Parameter description
<RTC_element>
Years
Months
Days
Hours
Minutes
Seconds
DaylightSaving
Weekday
Yearday
Scheduler time
Example
Ý GET /SYS/MB/RTC.Years
Ü pr /SYS/MB/RTC.Years=2019
Parameter example
2019 (four digit number between 2000 and 2099)
12 (max. two digit number between 1 and 12)
7 (max. two digit number between 1 and 31)
9 (max. two digit number between 0 and 24)
54 (max. two digit number between 0 and 59)
11 (max. two digit number between 0 and 59)
true or false
1: Monday; 2: Tuesday; 3: Wednesday; 4: Thursday
5: Friday; 6: Saturday; 7: Sunday
It shows the which day is on the week.
193 (max. two digit number between 1 and 365)
It shows the which day is in the year.
5-18-19 (Weekday-Hours-Minutes)
49

Advertisement

Table of Contents
loading

Table of Contents