Owner's Manual (Complete)

Chapter 11 - Expressions
20 The Home Control Assistant
Miscellaneous
This category of functions comprise a set of generally useful things that don’t fit into any other
category.
number = _problemLevel ()
Returns the alert level as displayed by the red-yellow-green status indicator on the status bar.
Red is 2, yellow is 1 and green is zero.
number = _SetProblemLevel (number)
Changes the alert level as displayed by the red-yellow-green status indictor on the status bar to
the value given. The existing level is returned.
number = _delay (time1, time2)
Delays execution of the program for a given time. If one argument is given the delay is the
total number of seconds in time1. If two arguments are given a random time is chosen
between the two given times. The return value is the number of seconds delayed.
string = _DailyMsg ()
Returns the text of the daily message. Only available if the dialog message option is enabled
in HCA properties.
number = _siteMsgCount ()
Returns the number of site specific messages currently active. Site specific messages come
from the date book.
string = _siteMsg (number)
Returns the ith site message currently active.
string = _DesignTitle ()
Returns the design name as set in Home Properties.
string = _DesignTitle ()
Returns the name of the design as set in Home Properties
string = _DesignSave (number)
Saves the current design. The single argument is optional. If not supplied the design is saved
unconditionally. If supplied and is zero, the design is saved unconditionally. If supplied and
set to 1, the design is saved only if marked as modified.
string = _CurrentWattage (string)
Returns the wattage currenly used by the named object. That name could be a device name or
room name. To get the current wattage of the whole home, don’t supply any argument.