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

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

Advertisement

Weather Functions (Cont.)
Name
getWeatherConditions()
getWeatherScale()
getWindInfo()
queryWeatherAll()
setWeatherScale(us)
processBarometricPressureEvent(float)
processBarometricTrendEvent(RISING)
processBarometricTrendEvent(FALLING)
processChanceOfPrecipitationEvent(int[])
Standard NetLinx API (SNAPI) R 1.8.0
Component
Channel Level Command
IWeatherComponent
IWeatherComponent
IWeatherComponent
IWeatherComponent
208
IWeatherComponent
IWeatherComponentListener
IWeatherComponentListener
232
IWeatherComponentListener
233
IWeatherComponentListener
Constant
?FORECASTCONDI-
TION
?WEATHERSCALE
?WEATHERWIND
WEATHER_FORCE_READI
NG
WEATHERSCALE-
<scale>
48
WEATHER_BAR_LVL
WEATHER_BAR_RISING
WEATHER_BAR_FALLING
FORECASTCOP-<day
1>,<day 2>, etcÖ
Notes
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
Query for the temperature scale, responds
with WEATHERSCALE-<scale> where
<scale> is IMPERIAL or METRIC
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
Momentary Function Channel: Causes the
weather station to update its readings when
the channel is activated
Set the weather scale, where <scale> is
IMPERIAL or METRIC
Barometric pressure changed, value is in
inches Hg (Imperial Scale) or mm Hg/torr
(Metric Scale)
Feedback Channel: Barometric pressure
trend change (see chart below)
Feedback Channel: Barometric pressure
trend change (see chart below)
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.
335

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents