User Guide

161
Standard NetLinx API (SNAPI) R 1.8.0
Weather Listener State Charts
Listener Functions:
Name: Channel: Level: Command: Constant: Notes:
processOutdoorTemper-
atureEvent
34 OUTDOOR_TEMP_LVL Outdoor temperature changed, value is in degrees C or F depending on weather scale
processRainfallEvent WEATHERRAIN-<duration>,<value> Rain fall changed, where <duration> is DAY, WEEK, MONTH, YEAR, YTD and <value>
is in inches (Imperial Scale) or cm (Metric Scale).
processWeatherA-
lertEvent
WEATHERALERT-<alert> Weather alert, where <alert> is a string containing the weather alert
processWeatherCondi-
tionsEvent
FORECASTCONDITION-<day
1>,<day 2>, etc.
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, BLOW-
INGSNOW, CLEAR, CLOUDY, DRIZZLE, DUST, FAIR, FOG, FREEZINGDRIZZLE,
FREEZINGRAIN, HAZE, HUMID, ICE, MOSTLYCLOUDY, MOSTLYSUNNY, PARTLY-
CLOUDY, RAIN, RAINSHOWERS, RAINSNOWMIX, SLEET, SMOKE, SNOW, SNOW-
FLURRIES, SNOWSHOWERS, SUNNY, THUNDERSTORMS, UNKNOWN,
VERYCOLD, WINDY
processWeatherSca-
leEvent
WEATHERSCALE-<scale> Weather scale changed, <scale> is IMPERIAL or METRIC
processWindchillEvent 45 WEATHER_WIND_CHILL
_LVL
Windchill temperature changed, value is in degrees C or F depending on weather scale
processWindInfoEvent WEATHERWIND-<speed>,direc-
tion>
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
processBarometricTrendEvent
State Channel 232 Channel 233
STEADY OFF OFF
RISING ON OFF
FALLING OFF ON