Owner's Manual (Complete)

Chapter 11 - Expressions
16 The Home Control Assistant
LynX-PORT
This element is useful only when a Marrick Ltd. LynX-PORT is available as one of the selected
hardware interfaces or is available for remote communication. See the Marrick Interfaces
appendix for more information.
number = _adc ("houseCode", channelNumber)
Returns the value of the analog channel specified on the LynX-PORT board assigned to the
given housecode. The housecode is given as a string.
Thermostat
These elements are useful only when a bi-directional thermostat device has been added to your
design. See the thermostat appendix for information on this.
number = _temperature ("thermostat name")
Returns the current temperature read from the named thermostat. The thermostat must have
two-way capabilities. The returned value is in the units selected in the properties for the
thermostat.
number = _setPoint ("thermostat name" )
Returns the current setpoint read from the named thermostat. The thermostat must have two-
way capabilities. The returned value is in the units selected in the properties for the
thermostat.
string = _mode ("thermostat name")
Returns the current mode read from the named thermostat. The thermostat must have two-way
capabilities. The returned value is a string of "Heat", "Cool", "Auto", or "Off"
bool = _isFanOn ("thermostat name")
Returns Yes or No if the fan is On or Off when the named thermostat is queried.
bool = _isEconomy ("thermostat name")
Returns Yes or No if the thermostat is in economy or setback mode when the named
thermostat is queried.
bool = _isAuxHeat ("thermostat name")
Returns Yes or No if the thermostat is in aux heat mode when the thermostat is queried.. Not
supported by all thermostats..
number = _humidity ("thermostat name")
Returns the current humidity read from the named thermostat. The thermostat must have
two-way capabilities. Not supported by all thermostats.
number = _TempDecode (Unitcode, level)
Uses the standard RCS temperature decode table (also used by the SmartHome TempLinc), to
change a unit code and preset dim level into a temperature. For example: