Standard NetLinx API (SNAPI) R 1.8.0
334
Weather Functions (Cont.)
Name
Component
Channel Level Command
Constant
Notes
processPassbackEvent(byte[])
IModuleComponentListener
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.
getChanceOfPrecipitation()
IWeatherComponent
?FORECASTCOP
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.
getCurrentCondition()
IWeatherComponent
?WEATHERCONDI-
TION
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
getForecastHighTemperature()
IWeatherComponent
?FORECASTHIGH
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
getForecastLowTemperature()
IWeatherComponent
?FORECASTLOW
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
getRainfall(dur)
IWeatherComponent
?WEATHERRAIN-
<duration>
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).
getWeatherAlert()
IWeatherComponent
?WEATHERALERT
Query for Weather alert, responds with
WEATHERALERT-<alert> where <alert> is
a string containing the weather alert
Summary of Contents for CAFE DUET
Page 16: ...Standard NetLinx API SNAPI R 1 8 0 12 ...
Page 28: ...Standard NetLinx API SNAPI R 1 8 0 24 ...
Page 34: ...Standard NetLinx API SNAPI R 1 8 0 30 ...
Page 40: ...Standard NetLinx API SNAPI R 1 8 0 36 ...
Page 46: ...Standard NetLinx API SNAPI R 1 8 0 42 ...
Page 52: ...Standard NetLinx API SNAPI R 1 8 0 48 ...
Page 58: ...Standard NetLinx API SNAPI R 1 8 0 54 ...
Page 142: ...Standard NetLinx API SNAPI R 1 8 0 138 ...
Page 148: ...Standard NetLinx API SNAPI R 1 8 0 144 ...
Page 156: ...Standard NetLinx API SNAPI R 1 8 0 152 ...
Page 172: ...Standard NetLinx API SNAPI R 1 8 0 168 ...
Page 184: ...Standard NetLinx API SNAPI R 1 8 0 180 ...
Page 192: ...Standard NetLinx API SNAPI R 1 8 0 188 ...
Page 206: ...Standard NetLinx API SNAPI R 1 8 0 202 ...
Page 226: ...Standard NetLinx API SNAPI R 1 8 0 222 ...
Page 240: ...Standard NetLinx API SNAPI R 1 8 0 236 ...
Page 244: ...Standard NetLinx API SNAPI R 1 8 0 240 ...
Page 252: ...Standard NetLinx API SNAPI R 1 8 0 248 ...
Page 268: ...Standard NetLinx API SNAPI R 1 8 0 264 ...
Page 302: ...Standard NetLinx API SNAPI R 1 8 0 298 ...
Page 328: ...Standard NetLinx API SNAPI R 1 8 0 324 ...
Page 343: ...Standard NetLinx API SNAPI Devices 339 Standard NetLinx API SNAPI R 1 7 0 ...