360 Secure SkillHub
360 安全技能中心

Netatmo

该 Skill 指导使用 netatmo CLI 控制 Netatmo 智能家居设备:设置目标温度(7-30°C,3 小时手动模式)、切换作息/离家/防冻模式,并查看恒温器与各传感器(卧室、室外、客厅、办公室)的温度、湿度、CO₂、噪声、气压与电量,支持 7/14 天温度历史与 JSON 输出。

florianbeer
florianbeer
热度 79.13
最近更新 2026-05-11 15:50:52
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add netatmo
Metadata
name
netatmo
description
Control Netatmo thermostat and read weather station data. Use for heating control (set temperature, change mode), checking indoor/outdoor temperatures, CO₂ levels, humidity, noise, and pressure readings.

Netatmo

Control Netatmo smart home devices via netatmo CLI.

Setup

Credentials in ~/.config/netatmo/:

  • credentials.json: {"client_id": "...", "client_secret": "..."}
  • tokens.json: OAuth tokens (auto-refreshed)

Commands

netatmo status              # Full overview (thermostat + all sensors)
netatmo thermostat          # Thermostat details only
netatmo weather             # All sensors including Office
netatmo history             # 7-day temperature history with sparklines
netatmo history --days 14   # Custom period
netatmo set 21              # Set target temp (7-30°C, 3h manual mode)
netatmo mode schedule       # Resume schedule
netatmo mode away           # Away mode (12°C)
netatmo mode hg             # Frost guard (7°C)
netatmo <cmd> --json        # JSON output for any command

Available Data

Location Temp Humidity CO₂ Noise Pressure Battery
Bedroom (main) ✓ ✓ ✓ ✓ ✓ —
Outdoor ✓ ✓ — — ✓* ✓
Living Room ✓ ✓ ✓ — — ✓
Office ✓ — — — — —

*Pressure displayed with Outdoor (sensor in main station)

Notes

  • CO₂ >1000 ppm = poor ventilation
  • set uses manual mode for 3h, then reverts to schedule
  • Tokens auto-refresh on expiry
  • History shows ASCII sparklines for temperature trends