beautypg.com

11 real time clock, 1 overview of the real time clock xml file, Real-time clock -1 – Echelon i.LON SmartServer 2.0 User Manual

Page 167: Overview of the real-time clock xml file -1, 11 real-time clock, Overview of the real-time clock xml file

background image

i.LON SmartServer 2.0 Programmer’s Reference

11-1

11

Real-Time Clock

You can use the real-time clock on the SmartServer to schedule events to start or stop based on the
calculated sundown or sunrise, or a configured amount of time before or after the sundown or sunrise.
The real-time clock includes an astronomical position sensor that calculates the position of the sun
based on the time-of-day stored on the SmartServer and the location (geographic coordinates) of the
SmartServer, which you specify. Based on the calculated position of the sun, the real-time clock can
determine the sunrise and sundown times and pass this information to the Schedulers on the
SmartServer.

11.1

Overview of the Real-Time Clock XML File

The #8000010128000000[4].UFPTrealTimeClock.xml file stores the configuration of the real-time
clock on the SmartServer. You can create multiple real-time clocks; however, the SmartServer
supports only 1 active real-time clock at a time. The following represents a sample
#8000010128000000[4].UFPTrealTimeClock.xml file for a SmartServer:


Net/LON/iLON App/Real Time Clock

#8000010128000000[4].UFPTrealTimeClock;xsi:type=“LON_Fb_Cfg”
0
2008-03-07T14:21:09.390-08:00
#8000010128000000[4].UFPTrealTimeClock_Cfg.htm

Net/LON/iLON App/Real Time Clock/nvoRtTimeDate


Net/LON/iLON

App/Node

Object/nviTimeSet


Net/LON/iLON App/Real Time Clock/nciRtMasterSlave


Net/LON/iLON App/Real Time Clock/nciRtUpdateRate


Net/LON/iLON App/Real Time Clock/nvoRtSummerTime


Net/LON/iLON App/Real Time Clock/nvoRtWinterTime


Net/LON/iLON App/Real Time Clock/nviRtTimeZone


Net/LON/iLON App/Real Time Clock/nvoElevation


Net/LON/iLON App/Real Time Clock/nvoAzimuth


Net/LON/iLON App/Real Time Clock/nvoSunrise


Net/LON/iLON App/Real Time Clock/nvoSunset


-121.913
37.3182

11.2

Creating and Modifying the Real-Time Clock XML File

You can create and manage the #8000010128000000[4].UFPTrealTimeClock.xml file with the Set
SOAP function. The following section, Real-Time Clock SOAP Interface, describes how to use Set
and the other SOAP functions provided for the real-time clock application.