闲社服务运行正常AI智能体自动化平台
t

暴风雨天气

技能标识: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), or asks for backyard/home weather, Tempest station readings, wind/gust/rain/lightning from a specific station, or quick local weather summaries sourced from Tempest data.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

暴风雨天气

暴风雨天气

使用此技能从暴风雨气象站/设备获取当前天气状况,或从暴风雨统计API检索历史气象站统计数据(日/月/年)。

运行获取脚本

使用:

bash
python3 scripts/gettempestweather.py

默认情况下,脚本从环境变量读取配置,如果同时设置了气象站ID和设备ID,则默认使用设备ID:

  • - TEMPESTAPITOKEN(必需)
  • TEMPESTSTATIONID(如果设置了TEMPESTDEVICEID则为可选)
  • TEMPESTDEVICEID(如果设置了TEMPESTSTATIONID则为可选)
  • TEMPEST_UNITS(可选:metric或us,默认为us)

有用的命令选项

bash

显式指定气象站/令牌(当前观测数据)


python3 scripts/gettempestweather.py --station-id 12345 --token $TEMPESTAPITOKEN

显式指定设备/令牌(当前观测数据)

python3 scripts/gettempestweather.py --device-id 67890 --token $TEMPESTAPITOKEN

当前本地日/月/年的历史统计数据(默认为现在)

python3 scripts/gettempestweather.py --stats day python3 scripts/gettempestweather.py --stats month python3 scripts/gettempestweather.py --stats year

特定目标日期范围的历史统计数据

python3 scripts/gettempestweather.py --stats day --date 2026-02-23 python3 scripts/gettempestweather.py --stats month --date 2026-02 python3 scripts/gettempestweather.py --stats year --date 2025

公制单位输出

python3 scripts/gettempestweather.py --units metric

仅输出JSON(机器友好)

python3 scripts/gettempestweather.py --json

输出行为

  • - 始终输出简洁的JSON
  • 除非使用--json参数,否则包含简短的人类可读摘要
  • 包含时间戳和来源URL以便追溯
  • 对于--stats参数,返回来自statsday、statsmonth或stats_year的匹配历史数据行

如果数据获取失败

  • - 检查令牌有效性和气象站/设备ID
  • 对于临时网络错误,重试一次
  • 返回简短的可操作错误信息

字段映射参考

有关暴风雨观测索引映射和响应说明,请阅读:

  • - references/tempest-api.md

许可证

  • - LICENSE(MIT许可证)

来源

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

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tempest-weather-1776309614 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tempest-weather-1776309614 技能

通过命令行安装

skillhub install tempest-weather-1776309614

下载

⬇ 下载 tempest-weather v1.1.0(免费)

文件大小: 13.13 KB | 发布时间: 2026-4-16 16:03

v1.1.0 最新 2026-4-16 16:03
Add day/month/year stats support with default day mode, human-readable summaries, full stats index mapping docs, and updated tests.
返回顶部