Owner's Manual (Complete)

Chapter 11 - Expressions
The Home Control Assistant
15
PANIC
ALERT
NORML
LTON
LTOFF
DSARM
String = _X10NameOf (string)
This returns the name (text) of the device or controller with a supplied HC/UC.
The argument string must be formatted as a valid house and unit code. For example "A1" or
"A16" or "G5", etc.
This first tries to find a device with that X10 address. If that fails controllers are searched for
a match.
NOTE: For multi-unit devices / controllers only the base address is considered. If there are
more than one device / controller with the HC/UC, one is found. No guarantees which one
will be found.
String = _X10AddressOf (string)
This returns the primary address of the named device or controller.
The returned string is formatted as "A1" or "A16" or "G5", etc.
String = _WirelessName (number)
This returns the name (text) of a wireless component with that hardware id number.
Number = _IconChange (“name”, “icon name”, “display name”)
The first argument must be the name of a device, program, group or controller. The second
argument is the name of an icon from the icon gallery. The third argument is the name of a
display.
This operation changes the displayed icon for an object to the named icon on the named
display.
If the display name argument is not given then any displays the object appear on are affected.
If the icon name argument isn’t given then the icon is restored to the one chosen in the object
properties icon tab.
string = _ChangeSchedule (“name”, code, dateTime, dateTime)
Modifies the named schedule entry. The code is as follows:
0 = Change on time
1 = Change off time
2 = Change on and off time
The first dateTime argument is the time used for code 0 and 1. The 4
th
argument is only
needed for code 2