Owner's Manual (Complete)

Chapter 11 - Expressions
18 The Home Control Assistant
The "minutes, hours, days" arguments tell how far back in time to go to determine a high, low, or
average.
The units used are the same as the analogous current weather item. That is, all temperatures are
returned in the same units.
When using these functions it is not necessary to supply all three arguments. For example, you can
determine the high outside temperature in the last 90 minutes from this expression
temp = _weatherHigh(OutsideTemp, 90)
The functions are:
Value = _WeatherHigh(name, minutes, hours, days)
Value = _WeatherLow(name, minutes, hours, days)
Value = _WeatherAvg(name, minutes, hours, days)
In addition to these functions, there are two other sets of weather functions. These also compute
their result by looking at historical weather data. But in this case the argument is not a length of
time but rather the number of days to go back in time.
For example if today is Monday:
_weatherDayHigh(Barometer, 0) is the barometer high for Monday
_weatherDayHigh(Barometer, 1) is the barometer high for Sunday
These functions are:
Value = _WeatherDayHigh(name, day)
Value = _WeatherDayLow(name, day)
Value = _WeatherDayAvg(name, day)
The final set of functions is like the Day function except the parameter is an hour. For example is
it is 3:15pm:
_weatherHourHigh(Barometer, 0) is the high barometer from 3pm to 4pm
_weatherHourHigh(Barometer, 1) is the high barometer from 2pm to 3pm
string = _BarometerUnits()
Returns a string of the current barometer units. For example "in" or "mm"
string = _humidityUnits()
Returns a string of the current humidity units. Always "%"
string = _tempUnits()
Returns a string of the current temperature units. For example
"° F" or "° C"
string = _windSpeedUnits()
Returns a string of the current wind speed units. For example "m/s" or "knots"
string = _windDirUnits()
Returns a string of the current wind direction units. Always "°"