Weather
Module · Stable
Fetch current weather and 24-hour forecast for a lat/lon location. Writes a human-readable headline + report, plus atomic outputs (temp_now, will_rain_today, peak_rain_pct_24h, tomorrow_min_c/max_c, today_rain_mm) the drafter can compose conditions on.
Calls the Open-Meteo forecast API (no API key required). Results are cached for 10 minutes per location. Returns a full 24-hour hourly series plus a human-readable headline and report (usable as an email subject/body, a notification, or a message — not email-specific), alongside atomic boolean/numeric outputs for use in Jinja conditionals (e.g. {% if will_rain_today %}…{% endif %}). Pair with the geocode module to accept city names instead of raw coordinates.
When to use
Section titled “When to use”Use when you have a lat/lon pair — either hardcoded or piped from a Geocode step — and need current conditions plus a 24-hour outlook. The headline/report outputs feed directly into Send email or Send WhatsApp; the atomic outputs (will_rain_today, temp_now) feed a Branch to drive conditional logic.
When not to use
Section titled “When not to use”If you only have a city name, run Geocode first to resolve lat/lon, then pass its outputs here. If you need to fetch live data beyond weather (air quality, tide, etc.), use HTTP Fetch instead. Do not use Ask AI to derive weather facts — this tile calls a real forecast API at no token cost.
Inputs
Section titled “Inputs”Configured per use: lat, lon, timezone, location.
Outputs
Section titled “Outputs”weatherheadlinereporttemp_nowwill_rain_todaypeak_rain_pct_24htomorrow_min_ctomorrow_max_ctoday_rain_mm
Auto-generated from the skill registry (load_skills()). Do not edit by hand.