335
Standard NetLinx API (SNAPI) R 1.8.0
Weather Functions (Cont.)
Name
Component
Channel Level Command
Constant
Notes
getWeatherConditions()
IWeatherComponent
?FORECASTCONDI-
TION
Query for forecast conditions, responds
with FORECASTCONDITION-<day
1>,<day 2>, etc.. Value list will contain one
forcast condition for each forecast day. The
first day is always today. Values will be
BLIZZARD, BLOWINGSNOW, CLEAR,
CLOUDY, DRIZZLE, DUST, FAIR, FOG,
FREEZINGDRIZZLE, FREEZINGRAIN,
HAZE, HUMID, ICE, MOSTLYCLOUDY,
MOSTLYSUNNY, PARTLYCLOUDY, RAIN,
RAINSHOWERS, RAINSNOWMIX, SLEET,
SMOKE, SNOW, SNOWFLURRIES,
SNOWSHOWERS, SUNNY, THUNDER-
STORMS, UNKNOWN, VERYCOLD,
WINDY
getWeatherScale()
IWeatherComponent
?WEATHERSCALE
Query for the temperature scale, responds
with WEATHERSCALE-<scale> where
<scale> is IMPERIAL or METRIC
getWindInfo()
IWeatherComponent
?WEATHERWIND
Query for the wind speed/direction,
responds with WEATHERWIND-
<speed>,direction> where <speed> will be
in mph or kph, depending on scale and
<direction> will be N, NNE, NE, ENE, E,
ESE, SE, SSE, S, SSW, SW, WSW, W,
WNW, NW, NNW
queryWeatherAll()
IWeatherComponent
208
WEATHER_FORCE_READI
NG
Momentary Function Channel: Causes the
weather station to update its readings when
the channel is activated
setWeatherScale(us)
IWeatherComponent
WEATHERSCALE-
<scale>
Set the weather scale, where <scale> is
IMPERIAL or METRIC
processBarometricPressureEvent(float)
IWeatherComponentListener
48
WEATHER_BAR_LVL
Barometric pressure changed, value is in
inches Hg (Imperial Scale) or mm Hg/torr
(Metric Scale)
processBarometricTrendEvent(RISING)
IWeatherComponentListener
232
WEATHER_BAR_RISING
Feedback Channel: Barometric pressure
trend change (see chart below)
processBarometricTrendEvent(FALLING)
IWeatherComponentListener
233
WEATHER_BAR_FALLING
Feedback Channel: Barometric pressure
trend change (see chart below)
processChanceOfPrecipitationEvent(int[])
IWeatherComponentListener
FORECASTCOP-<day
1>,<day 2>, etcÖ
Weather forecast chance of percipitation
changes, value list will contain one forcast
chance of percipitation for each forecast
day. The first day is always today. Values
are in percent.
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 ...