Install
openclaw skills install @shuowang-ai/knowair-historicalGet historical weather data up to 72 hours back via the Caiyun Weather API. Returns past temperature, weather conditions, precipitation, wind, humidity, apparent temperature, and air quality at regular intervals. Use when the user asks about past weather, yesterday's weather, what was the temperature earlier, recent weather history, or weather data from the past few hours/days.
openclaw skills install @shuowang-ai/knowair-historicalQuery historical weather data for up to 72 hours back using the Caiyun Weather API.
CAIYUN_TOKEN environment variable, or stored in ~/.config/knowair/token.python3 scripts/query_historical.py --lng 116.3176 --lat 39.9760 --hours 24
python3 scripts/query_historical.py --lng <LNG> --lat <LAT> --hours <HOURS>
| Flag | Description | Default |
|---|---|---|
--lng | Longitude (-180 to 180) | Required |
--lat | Latitude (-90 to 90) | Required |
--hours | Hours to look back (1-72) | 24 |
--lang | Output language: en or zh | en |
en