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

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

Advertisement

Weather Functions (Cont.)
Name
processOutdoorHumidityEvent(int)
processOutdoorTemperatureEvent(float)
processRainfallEvent(float,Duration)
processWeatherAlertEvent(String)
processWeatherConditionsEvent(Weather-
Conditions[])
processWeatherScaleEvent(UnitScale)
processWindchillEvent(float)
processWindInfoEvent (WindInfo )
Standard NetLinx API (SNAPI) R 1.8.0
Component
Channel Level Command
IWeatherComponentListener
IWeatherComponentListener
IWeatherComponentListener
IWeatherComponentListener
IWeatherComponentListener
IWeatherComponentListener
IWeatherComponentListener
IWeatherComponentListener
Constant
36
OUTDOOR_HUMID_LVL
34
OUTDOOR_TEMP_LVL
WEATHERRAIN-
<duration>,<value>
WEATHERALERT-
<alert>
FORECASTCONDI-
TION-<day 1>,<day 2>,
etc.
WEATHERSCALE-
<scale>
45
WEATHER_WIND_CHILL_L
VL
WEATHERWIND-
<speed>,direction>
Notes
Outdoor humidity changed, value is in per-
cent
Outdoor temperature changed, value is in
degrees C or F depending on weather
scale
Rain fall changed, where <duration> is
DAY, WEEK, MONTH, YEAR, YTD and
<value> is in inches (Imperial Scale) or cm
(Metric Scale).
Weather alert, where <alert> is a string
containing the weather alert
Weather forecast conditions changed,
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, FREEZ-
INGDRIZZLE, FREEZINGRAIN, HAZE,
HUMID, ICE, MOSTLYCLOUDY,
MOSTLYSUNNY, PARTLYCLOUDY, RAIN,
RAINSHOWERS, RAINSNOWMIX, SLEET,
SMOKE, SNOW, SNOWFLURRIES,
SNOWSHOWERS, SUNNY, THUNDER-
STORMS, UNKNOWN, VERYCOLD,
WINDY
Weather scale changed, <scale> is IMPE-
RIAL or METRIC
Windchill temperature changed, value is in
degrees C or F depending on weather
scale
Wind speed/direction had changed. Wind
speed will be in mph or kph, depending on
scale. Direction will be N, NNE, NE, ENE,
E, ESE, SE, SSE, S, SSW, SW, WSW, W,
WNW, NW, NNW
337

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents