Owner's Manual (Complete)
Chapter 11 - Expressions
12 The Home Control Assistant
bool = _isOff ("name", send status?)
Attempts to look up the supplied name as a device, program, group, or controller. If it is Off,
or if a program the program is not running, then return Yes, otherwise No. If the second
parameter is not given, or evaluates to No, the status of the device is determined from the
internal HCA state. If the parameter is supplied and evaluates to Yes, and if the device
supports status requests, a status request is sent to the device and the response back determines
the result
bool = _isRunning ("programName")
Attempts to look up the supplied name as a program. If it is running then return Yes,
otherwise No.
bool = _isDim ("name", sendStatus?)
Attempts to look up the supplied name as a device, group, or controller. If it is Dim then
return Yes, otherwise No. f the second parameter is not given, or evaluates to No, the status of
the device is determined from the internal HCA state. If the parameter is supplied and
evaluates to Yes, and if the device supports status requests, a status request is sent to the
device and the response back determines the result
number = _dimLevel ("name", sendStatus?)
Attempts to look up the supplied name as a device, group, or controller. Returns the
illumination level. If it is off, then zero is returned. If On then the maximum illumination
level is returned. f the second parameter is not given, or evaluates to No, the status of the
device is determined from the internal HCA state. If the parameter is supplied and evaluates
to Yes, and if the device supports status requests, a status request is sent to the device and the
response back determines the result
number = _dimPercent ("name", sendStatus?)
Attempts to look up the supplied name as a device, group, or controller. Returns the
illumination level as a percentage of 100%, where 0 is Off and 100 is full bright. f the second
parameter is not given, or evaluates to No, the status of the device is determined from the
internal HCA state. If the parameter is supplied and evaluates to Yes, and if the device
supports status requests, a status request is sent to the device and the response back determines
the result
bool = _isCurrentSchedule ("scheduleName");
Returns Yes if the current schedule matches the name supplied.
string = _currentSchedule ()
Returns a string of the name of the current schedule. If no schedule is current returns an
empty string.