ClawSkills logoClawSkills

Netatmo

控制 Netatmo 恒温器并读取气象站数据。用于供暖控制(设定温度、更改模式)、检查室内/室外温度、CO₂ 水平

介绍

# Netatmo

通过 `netatmo` CLI 控制 Netatmo 智能家居设备。

## 设置

`~/.config/netatmo/` 中的凭据: - `credentials.json`: `{"client_id": "...", "client_secret": "..."}` - `tokens.json`: OAuth 令牌(自动刷新)

## 命令

```bash 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 ```

## 可用数据

| 位置 | 温度 | 湿度 | CO₂ | 噪音 | 气压 | 电池 | |----------|------|----------|-----|-------|----------|---------| | 主卧 | ✓ | ✓ | ✓ | ✓ | ✓ | — | | 室外 | ✓ | ✓ | — | — | ✓* | ✓ | | 客厅 | ✓ | ✓ | ✓ | — | — | ✓ | | 书房 | ✓ | — | — | — | — | — |

*气压显示在室外(主站传感器)

## 注意

- CO₂ >1000 ppm 表示通风不良 - `set` 使用手动模式 3 小时,然后恢复为计划模式 - 令牌在过期时自动刷新 - 历史记录显示温度趋势的 ASCII 火花线

更多产品