![background image](http://html1.mh-extra.com/html/amx/i-timemanager/i-timemanager_instruction-manual_2938920013.webp)
Programming i!-TimeManager
9
i!-TimeManager
Channels
i!-TimeManager uses a virtual device to post channel events for certain time related activities.
i!-TimeManager supports the following channels:
Commands
i!-TimeManager supports the following commands.
i!-TimeManagerEngineMod Module Definitions (Cont.)
dTmLocLong and
dTmLocLat
A double containing the longitude and latitude coordinates of the location where the
system is installed. Longitude is in Degrees (Fraction of Degrees). West longitudes
must be negative. Latitude is in Degrees (Fraction of Degrees). South latitudes must be
negative.
These parameters are used for calculating sunrise and sunset times. You can find
longitude / latitude values and descriptions at:
• http://geography.about.com/cs/latitudelongitude/
• http://www.census.gov/cgi-bin/gazetteer
• http://www.njdxa.org/landl-lookup-dx.shtml
nTmTsProtocol
A time server protocol number to allow the Netlinx system to synchronous its clock with
an Internet time server. The available values are:
• 0 = Disabled
• 1 = DayTime(13/udp, 13/tcp)
• 2 = Time(37/udp, 37/tcp)
• 3 = SNTP(123/udp)
• 4 = SNTP Broadcast (123/udp).
nTmTsCheck_Time
The time in minutes between time checks to the Internet time server. You can put 0 to
use the default value of 120 (2 hours).
strTmTsServer
The IP address or Host Name of the preferred Internet time server. If left blank (empty
string), a default server will be picked from the nist-srv.lst file location in the doc:\time
directory of the NetLinx Master. If this file is not present, an internal list of NIST time
server will be used, and an appropriate server will be selected from the list.
i!-TimeManager Channels
Channel
Description
1
Sunrise Occurred
2
Sunset Occurred
3
Daylight Saving Time is active.
4
Time changed by Internet time server.
i!-TimeManager Strings
Syntax
Description
"'RESET'"
Resets the time zone and timeserver information.
"'VERSION'"
Sends version information to Master debug port (Master messaging).