A lightweight Control4 driver that pulls the daily and current forecast for a latitude/longitude from the free Open-Meteo API and exposes it as driver properties and variables for use in programming.
No account or API key is required.
- Add the driver to the project.
- Set Latitude and Longitude for the location you want (defaults to Madison, WI).
- Choose the Temperature Unit (Fahrenheit or Celsius; this also switches wind to mph/km·h and precipitation to in/mm).
- Optionally adjust the Update Interval (minutes) (15–240, default 60).
Each value is published twice: as a read-only property, which shows it with its unit in Composer, and as a driver variable, which holds the plain value for programming (for example, If CURRENT_TEMP > 50). Units follow the Temperature Unit property: Fahrenheit uses °F, mph and inches; Celsius uses °C, km/h and mm (cm for snow).
| Variable | Property | Type | Meaning |
|---|---|---|---|
CURRENT_TEMP |
Current Temp | Number | Temperature now |
CURRENT_FEELS_LIKE |
Current Feels Like | Number | Feels-like temperature now |
CURRENT_HUMIDITY |
Current Humidity | Number | Relative humidity now, % |
CURRENT_WIND |
Current Wind | Number | Wind speed now |
CURRENT_GUST |
Current Gust | Number | Wind gust now |
CURRENT_CLOUD_COVER |
Cloud Cover | Number | Cloud cover now, % |
CURRENT_PRECIP |
Current Precipitation | Number | Precipitation in the current interval |
CURRENT_CONDITIONS |
Current Conditions | String | Conditions now as text, such as "Partly Cloudy" or "Light Rain" |
CURRENT_WEATHER_CODE |
Current Weather Code | Number | WMO weather code now |
IS_RAINING |
Raining Now | Bool | True while rain is falling; stays false for snow |
IS_DAY |
Daytime | Bool | True between sunrise and sunset |
TODAY_HIGH |
Today High | Number | Today's high |
TODAY_LOW |
Today Low | Number | Today's low (calendar day) |
FEELS_LIKE_HIGH |
Feels Like High | Number | Today's feels-like high |
FEELS_LIKE_LOW |
Feels Like Low | Number | Today's feels-like low |
REMAINING_LOW |
Remaining Low | Number | Coldest point from now until the next sunrise |
REMAINING_FEELS_LIKE_LOW |
Remaining Feels Like Low | Number | Coldest feels-like point from now until the next sunrise |
RAIN_CHANCE |
Rain Chance | Number | Today's highest chance of precipitation, % |
RAIN_TOTAL |
Rain Total | Number | Today's total precipitation |
RAIN_HOURS |
Rain Hours | Number | Hours with precipitation today |
TODAY_SNOW |
Snow Total | Number | Today's snowfall |
MAX_WIND |
Max Wind | Number | Today's highest wind speed |
MAX_GUST |
Max Gust | Number | Today's highest wind gust |
UV_INDEX |
UV Index | Number | Today's highest UV index |
WEATHER_CODE |
Weather Code | Number | WMO weather code for the day |
TOMORROW_HIGH |
Tomorrow High | Number | Tomorrow's high |
TOMORROW_LOW |
Tomorrow Low | Number | Tomorrow's low |
TOMORROW_RAIN_CHANCE |
Tomorrow Rain Chance | Number | Tomorrow's highest chance of precipitation, % |
SUNRISE |
Sunrise | String | Today's sunrise, YYYY-MM-DD HH:MM |
SUNSET |
Sunset | String | Today's sunset, YYYY-MM-DD HH:MM |
DAYLIGHT_MINUTES |
Daylight (min) | Number | Minutes of daylight today |
LAST_UPDATE |
Last Update | String | When the last successful update finished |
- Events: Weather Updated fires after a successful refresh; Update Failed fires on a network or API error.
- Commands / Actions: Refresh Weather (
REFRESH_WEATHER) forces an immediate update.