Install
openclaw skills install tuebingen-weather-graphicsGenerate and send a 5-day Tübingen weather graphic (PNG) from open-meteo.com. Use when Master wants a nicer visual forecast plus summary text for the next few days.
openclaw skills install tuebingen-weather-graphicsErstellt eine ansprechende PNG-Grafik (max/min-Temperaturen + Regenwahrscheinlichkeit für 5 Tage) auf Basis von Open-Meteo. Ideal für morgendliche Forecast-Posts via Telegram oder Archivierung.
matplotlib, numpy, pillow (am einfachsten via virtuelles Environment):
python3 -m venv /tmp/tuebingen-plot
source /tmp/tuebingen-plot/bin/activate
pip install matplotlib
/tmp/tuebingen-plot/bin/python \
skills/tuebingen-weather-graphics/scripts/generate_forecast_graph.py \
--days 5 \
--output data/weather/tuebingen_forecast.png
Ausgabe:
data/weather/...openclaw cron add <<'JSON'
{
"name": "tuebingen-forecast-graphic",
"schedule": { "kind": "cron", "expr": "30 7 * * *", "tz": "Europe/Berlin" },
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"model": "default",
"message": "Run `/tmp/tuebingen-plot/bin/python skills/tuebingen-weather-graphics/scripts/generate_forecast_graph.py --output data/weather/tuebingen_forecast.png`. Send Master the summary text plus attach the PNG."
}
}
JSON
message.send mit media=data/weather/tuebingen_forecast.png.--days 7 o. Ä. möglich (die API liefert bis zu 7+ Tage im daily-Block).scripts/generate_forecast_graph.py – Lädt Daily-Daten, zeichnet Linien/Flächen-Plot + Regen-Balken, speichert PNG.