← 返回
开发者工具 Key 中文

Tempest Weather

Get current weather conditions from a WeatherFlow Tempest station using the Tempest REST API. Use when the user asks for "tempest weather" (preferred trigger...
通过 Tempest REST API 获取 WeatherFlow Tempest 站的当前天气,用户请求“tempest天气”时触发。
wranglerdriver
开发者工具 clawhub v1.1.0 1 版本 99840.4 Key: 需要
★ 0
Stars
📥 1,251
下载
💾 14
安装
1
版本
#latest#tempest#weather

概述

Tempest Weather

Use this skill to fetch current conditions from a Tempest station/device or retrieve historical station statistics (day/month/year) from the Tempest Stats API.

Run the fetch script

Use:

python3 scripts/get_tempest_weather.py

The script reads configuration from environment variables by default, if both station and device id are set device_id is used by default:

  • TEMPEST_API_TOKEN (required)
  • TEMPEST_STATION_ID (optional if TEMPEST_DEVICE_ID is set)
  • TEMPEST_DEVICE_ID (optional if TEMPEST_STATION_ID is set)
  • TEMPEST_UNITS (optional: metric or us, default us)

Useful command options

# Explicit station/token (current observations)
python3 scripts/get_tempest_weather.py --station-id 12345 --token "$TEMPEST_API_TOKEN"

# Explicit device/token (current observations)
python3 scripts/get_tempest_weather.py --device-id 67890 --token "$TEMPEST_API_TOKEN"

# Historical stats for current local day/month/year (defaults to "now")
python3 scripts/get_tempest_weather.py --stats day
python3 scripts/get_tempest_weather.py --stats month
python3 scripts/get_tempest_weather.py --stats year

# Historical stats for a specific target date period
python3 scripts/get_tempest_weather.py --stats day --date 2026-02-23
python3 scripts/get_tempest_weather.py --stats month --date 2026-02
python3 scripts/get_tempest_weather.py --stats year --date 2025

# Metric output
python3 scripts/get_tempest_weather.py --units metric

# JSON only (machine-friendly)
python3 scripts/get_tempest_weather.py --json

Output behavior

  • Emit concise JSON (always)
  • Include a short human summary unless --json is used
  • Include timestamp and source URL for traceability
  • For --stats, return the matched historical row from stats_day, stats_month, or stats_year

If data fetch fails

  • Check token validity and station/device ID
  • Retry once for transient network errors
  • Return a short actionable error message

Field mapping reference

For Tempest observation index mapping and response notes, read:

  • references/tempest-api.md

License

  • LICENSE (MIT)

Source

  • https://github.com/wranglerdriver/tempest-weather

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-29 02:02 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,370
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,918
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,481