首页龙虾技能列表 › Tempest Weather — 天气站天气信息

Tempest Weather — 天气站天气信息

v1.1.0

通过 Tempest REST API 从 WeatherFlow Tempest 天气站获取当前天气条件。适用于查询特定天气站、后院/家庭天气、风速/雨量/闪电等数据或本地天气摘要。

0· 857·0 当前·0 累计
by @wranglerdriver·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
该技能如其所述,获取 Tempest 站点/设备观测数据和统计信息。代码和运行指令内部一致,仅有小的元数据不匹配(关于必需环境变量)。
评估建议
该技能是一个小 Python 脚本,调用 WeatherFlow/Tempest REST 端点并格式化结果。安装前,请确认您愿意提供 Tempest API 令牌和站点或设备 ID(仅令牌是敏感秘密)。注意,注册元数据过度声明了必需环境变量(同时列出站点和设备 ID 以及单位,但代码接受任一,并默认单位为 'us')。您只需设置令牌和至少一个站点/设备。如需额外保证,请自行审查脚本(get_tempest_weather.py)或在本地运行包含的测试以验证行为。...
详细分析 ▾
用途与能力
Name/description, README, SKILL.md, and the Python script all align: the skill queries WeatherFlow/Tempest REST endpoints using an API token and a station or device id. The only mismatch is registry metadata listing TEMPEST_STATION_ID and TEMPEST_DEVICE_ID as required even though the code accepts either one (device takes precedence) and SKILL.md documents them as optional alternatives. TEMPEST_UNITS is also declared required in metadata but the script treats it as optional (default 'us').
指令范围
SKILL.md instructs running python3 scripts/get_tempest_weather.py and the script reads only the declared env vars and calls the documented Tempest endpoints. There is no instruction to read unrelated system files, other credentials, or to transmit data to any endpoints other than the WeatherFlow API. The script does read SKILL.md (to detect a version string) which is benign and scoped to the skill.
安装机制
No install spec or external downloads are present; this is effectively an instruction/script bundle. All code is included in the skill archive and no network-based install or arbitrary URL extraction is used.
凭证需求
Requested credential (TEMPEST_API_TOKEN) is appropriate and used as the primary credential. However, the registry's required env list includes TEMPEST_STATION_ID, TEMPEST_DEVICE_ID, and TEMPEST_UNITS even though the script treats station/device as optional alternatives and units as optional with a default. This is an overbroad metadata declaration but not evidence of exfiltration or unrelated credential access.
持久化与权限
The skill does not request always: true and has no special OS or config-path requirements. It does not modify other skills or system-wide settings. Normal autonomous invocation is allowed (platform default) but nothing in the skill increases privilege.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.1.02026/2/13

添加日/月/年统计支持(默认日模式)、人可读摘要、完整统计索引映射文档和更新的测试。

● 无害

安装命令 点击复制

官方npx clawhub@latest install tempest-weather
镜像加速npx clawhub@latest install tempest-weather --registry https://cn.clawhub-mirror.com

技能文档

使用此技能从 Tempest 站点/设备获取当前天气条件或从 Tempest 统计 API 检索历史站点统计数据(日/月/年)。

运行获取脚本

使用:

python3 scripts/get_tempest_weather.py

脚本默认从环境变量读取配置,如果同时设置站点和设备 ID,默认使用设备 ID:

  • TEMPEST_API_TOKEN (必需)
  • TEMPEST_STATION_ID (如果设置 TEMPEST_DEVICE_ID,则可选)
  • TEMPEST_DEVICE_ID (如果设置 TEMPEST_STATION_ID,则可选)
  • TEMPEST_UNITS (可选: metricus,默认 us

有用命令选项

# 显式站点/令牌(当前观测)
python3 scripts/get_tempest_weather.py --station-id 12345 --token "$TEMPEST_API_TOKEN"
# 显式设备/令牌(当前观测)
python3 scripts/get_tempest_weather.py --device-id 67890 --token "$TEMPEST_API_TOKEN"
# 当前本地日/月/年历史统计(默认为 "现在")
python3 scripts/get_tempest_weather.py --stats day
python3 scripts/get_tempest_weather.py --stats month
python3 scripts/get_tempest_weather.py --stats year
# 特定目标日期段的历史统计
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
# 公制输出
python3 scripts/get_tempest_weather.py --units metric
# 仅 JSON 输出(机器友好)
python3 scripts/get_tempest_weather.py --json

输出行为

  • 始终发出简洁的 JSON
  • 除非使用 --json,否则包含简短的人类可读摘要
  • 包含时间戳和源 URL 以便追踪
  • 对于 --stats,返回匹配的历史行从 stats_daystats_monthstats_year

如果数据获取失败

  • 检查令牌有效性和站点/设备 ID
  • 对暂时性的网络错误重试一次
  • 返回简短的可执行错误消息

字段映射参考

对于 Tempest 观测索引映射和响应注释,请阅读:

  • references/tempest-api.md

许可证

  • LICENSE (MIT)

源码

  • https://github.com/wranglerdriver/tempest-weather
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务