sources: added an OpenMeteo forecast source.

This commit is contained in:
2026-01-17 08:00:23 -06:00
parent b8804d32d2
commit b47f1b2051
3 changed files with 125 additions and 4 deletions

View File

@@ -40,12 +40,20 @@ sources:
url: "https://api.weather.gov/stations/KCPS/observations/latest"
user_agent: "HomeOps (eric@maximumdirect.net)"
- name: NWSHourlyForecastSTL
# - name: NWSHourlyForecastSTL
# kind: forecast
# driver: nws_forecast
# every: 45m
# params:
# url: "https://api.weather.gov/gridpoints/LSX/90,74/forecast/hourly"
# user_agent: "HomeOps (eric@maximumdirect.net)"
- name: OpenMeteoHourlyForecastSTL
kind: forecast
driver: nws_forecast
every: 45m
driver: openmeteo_forecast
every: 60m
params:
url: "https://api.weather.gov/gridpoints/LSX/90,74/forecast/hourly"
url: https://api.open-meteo.com/v1/forecast?latitude=38.6239&longitude=-90.3571&hourly=temperature_2m,relative_humidity_2m,dew_point_2m,apparent_temperature,precipitation_probability,precipitation,snowfall,weather_code,surface_pressure,wind_speed_10m,wind_direction_10m&forecast_days=3
user_agent: "HomeOps (eric@maximumdirect.net)"
- name: NWSAlertsSTL