Collects as they arrive, acts daily
Keep a monthly record of temperatures
Each day's weather is stored, and once a month you get averages and extremes.
- Runs
- Collects as they arrive, acts daily
- Apps
- OpenWeatherMap
- AI
- Not needed
- Access
- API key
Send this to your assistant
Create a ClickRuntime automation: record the temperature and conditions in Austin every day, and on the 1st of each month email me last month's average, highest and lowest temperatures.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A hobby gardener wants to know whether this autumn is warmer than last, an allotment society wants to settle an argument about the first frost date, and a homeowner wonders why the heating bill climbed. Weather apps show today and tomorrow but forget everything else, and historical data services are overkill, expensive or not specific to your town. Without a record you rely on memory, which is biased toward the unusual days.
Each day, the temperature (and other readings you choose) for your location is fetched and stored. At the end of the month, the stored values are used to compute the average, hottest and coldest days, number of frost days and days of rain, and a monthly summary is emailed to you.
It is a simple way for gardeners, farmers, energy-conscious households and weather hobbyists to build their own record.
What you get out of it
Arguments are settled with data
When someone claims this was the coldest October in years, you can look at the logged values for each day and see whether it was true. Hard numbers also help to correct misleading impressions that come from a few memorable days.
Frost dates come from real readings
Knowing the last spring frost and first autumn frost in your own garden improves planting dates much more than regional averages do. Planting earlier or later by a week based on your own record can mean a better harvest.
Energy costs are easier to explain
Comparing monthly average temperatures with your heating or cooling bills shows whether a high bill came from the weather or from changes in your usage. That is a useful way to understand what drives the bills, and what to expect next winter.
Your own long-term record grows
Months turn into a year of consistent readings for your exact location. After a few years, the record shows patterns that national averages smooth away. Gardeners and growers often value this because their land has its own microclimate.
Monthly summary saves analysis work
Counting frost days or averaging temperatures by hand from a list of 30 numbers is tedious, so the email gives you the results at the end of each month. It saves the evening you would otherwise spend with a calculator and a spreadsheet.
How it works
What happens, step by step
Every day, ClickRuntime records the current temperature and conditions for your city.
The readings build up into a log for the month.
On the 1st of the next month you get an email with the average, highest and lowest temperatures.
The log then starts again for the new month.
Before it runs live
- Connect OpenWeatherMap
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other OpenWeatherMap steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timezone
from clickruntime import on_trigger, credentials, http, state, notify
@on_trigger
def run(event): # daily
w = http.get("https://api.openweathermap.org/data/2.5/weather",
params={"q": "Austin,US", "units": "metric", "appid": credentials.secret("OPENWEATHER_API_KEY")}).json()
today = datetime.now(timezone.utc)
log = state.get("log") or []
if today.day == 1 and log:
temps = [t for _, t, _ in log]
notify.email_me(f"Austin weather for {log[0][0][:7]}",
f"Average {sum(temps) / len(temps):.1f}°C, highest {max(temps):.0f}°C, lowest {min(temps):.0f}°C "
f"over {len(temps)} days.")
log = []
log.append([today.date().isoformat(), w["main"]["temp"], w["weather"][0]["main"]])
state.set("log", log)
return {"days_logged": len(log)}FAQ
Common questions
What data is logged each day?
Is this historical data from past years?
What stats are in the monthly email?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Look up the weather for any city from a link
You send a city name or coordinates to a private link and get the current weather back by email.
See how it worksGet the day's weather every morning
Each morning at 7 you get today's temperature, conditions and rain chance for your city.
See how it worksGet warned before frost, snow or extreme heat
You hear about the weather only when freezing, snow or heat over your limit is forecast.
See how it worksKeep exploring
Set up “Keep a monthly record of temperatures” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.
