AMX CAFE DUET STANDARD NETLINX API (SNAPI) DEVICES Instruction Manual page 338

Standard netlinx api (snapi) r 1.8.0 devices
Table of Contents

Advertisement

Weather Functions (Cont.)
Name
processPassbackEvent(byte[])
getChanceOfPrecipitation()
getCurrentCondition()
getForecastHighTemperature()
getForecastLowTemperature()
getRainfall(dur)
getWeatherAlert()
334
Component
Channel Level Command
IModuleComponentListener
IWeatherComponent
IWeatherComponent
IWeatherComponent
IWeatherComponent
IWeatherComponent
IWeatherComponent
Constant
?FORECASTCOP
?WEATHERCONDI-
TION
?FORECASTHIGH
?FORECASTLOW
?WEATHERRAIN-
<duration>
?WEATHERALERT
Notes
When passback is on, each string received
form the device is sent to the NetLinx pro-
gram as a string. Use a DATA_EVENT
event with a STRING handler to caputre
the data from the device.
Query for forecast chance of percipitation
changes, respons with FORECASTCOP-
<day 1>,<day 2>,etcÖ Value list will con-
tain one forcast chance of percipitation for
each forecast day. The first day is always
today. Values are in percent.
Query for current conditions, responds with
WEATHERCONDITION-<condition>, <con-
dition> will be BLIZZARD, BLOWINGS-
NOW, CLEAR, CLOUDY, DRIZZLE, DUST,
FAIR, FOG, FREEZINGDRIZZLE, FREEZ-
INGRAIN, HAZE, HUMID, ICE, MOSTLY-
CLOUDY, MOSTLYSUNNY,
PARTLYCLOUDY, RAIN, RAINSHOWERS,
RAINSNOWMIX, SLEET, SMOKE, SNOW,
SNOWFLURRIES, SNOWSHOWERS,
SUNNY, THUNDERSTORMS, UNKNOWN,
VERYCOLD, WINDY
Query for forecast high temperatures
changes, responds with FORECASTHIGH-
<day 1>,<day 2>, etc... Value list will con-
tain one forcast high temperature for each
forecast day. The first day is always today.
Values are in degrees C or F depending on
weather scale
Query for forecast low temperatures
changes, responds with FORECASTLOW-
<day 1>,<day 2>, etc... Value list will con-
tain one forcast high temperature for each
forecast day. The first day is always today.
Values are in degrees C or F depending on
weather scale
Query for Rain fall, responds with WEATH-
ERRAIN-<duration>,<value> where <dura-
tion> is DAY, WEEK, MONTH, YEAR, YTD
and <value> is in inches (Imperial Scale) or
cm (Metric Scale).
Query for Weather alert, responds with
WEATHERALERT-<alert> where <alert> is
a string containing the weather alert
Standard NetLinx API (SNAPI) R 1.8.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents