Dieses Skill ruft die offizielle Cableway-API (https://cms.tablemountain.net/.../weather-api) ab, parsed Status/Weather-Felder und liefert eine saubere Zusammenfassung (Text oder JSON). Ideal für Sofortabfragen („Status Tafelberg?“) sowie automatisierte Polling-Jobs mit Telegram-Alerts.
```bash
python3 skills/table-mountain-status/scripts/fetch_status.py \
--output data/table-mountain/$(date +%F_%H%M).txt
```
Ausgabe erscheint sowohl in der Datei als auch im Terminal.
```bash
python3 skills/table-mountain-status/scripts/fetch_status.py \
--format json --output data/table-mountain/$(date +%F).json
```
statusType, status, temperature, visibility, wind, firstUp, lastUp, lastDown, waitingTimeBottom, waitingTimeTop, lastUpdated.```bash
openclaw cron add <<'JSON'
{
"name": "table-mountain-10min",
"schedule": { "kind": "every", "everyMs": 600000 },
"sessionTarget": "isolated",
"payload": {
"kind": "agentTurn",
"model": "default",
"message": "Run python3 skills/table-mountain-status/scripts/fetch_status.py --output data/table-mountain/latest.txt. Post the summary to Master on Telegram, highlight status (open/closed), weather, queues, and timestamp. If the fetch fails, report the error."
}
}
JSON
```
schedule.kind = "cron", expr = "/10 6-15 ", tz = "Europe/Berlin", und nach Ende wieder cron update --enabled=false oder cron remove.lastUpdated wird auf UTC+2 konvertiert (Cape Town). Bei Bedarf format_summary im Script anpassen.curl-Proxy nötig, urllib ggf. um Environment-Proxy erweitern.scripts/fetch_status.py – Einfache CLI zum Abrufen, Formatieren und Speichern (Text/JSON) des Table-Mountain-Status.共 1 个版本