360 Secure SkillHub
360 安全技能中心

Beestat

封装 beestat-cli,用 BEESTAT_API_KEY 调用 Beestat API 查询 ecobee 恒温器数据:status 查看温湿度与设定点,sensors 查看传感器与占用,air-quality/aq 查看 CO2、VOC,thermostats 查看设备信息,summary 查看运行历史,sync 强制同步,命令均支持 --json。

mjrussell
mjrussell
热度 88.99
最近更新 2026-05-11 15:48:49
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 健康 / 报告撰写

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add beestat
Metadata
name
beestat
description
Query ecobee thermostat data via Beestat API including temperature, humidity, air quality (CO2, VOC), sensors, and HVAC runtime. Use when user asks about home temperature, thermostat status, air quality, or heating/cooling usage.
homepage
https://beestat.io
metadata
{"clawdbot":{"emoji":"🌡️","requires":{"bins":["beestat"],"env":["BEESTAT_API_KEY"]}}}

Beestat CLI

CLI for the Beestat API (ecobee thermostat analytics). Query temperature, humidity, air quality, and HVAC runtime.

Installation

npm install -g beestat-cli

Setup

  1. Create account at beestat.io and link your ecobee
  2. Email contact@beestat.io with your thermostat serial number to get an API key
  3. Set environment variable: export BEESTAT_API_KEY="your-key"

Commands

Status

beestat status             # Current temps, humidity, setpoints, weather
beestat status --json

Sensors

beestat sensors            # All sensors with temperature and occupancy
beestat sensors --json

Air Quality

beestat air-quality        # CO2, VOC, and air quality score
beestat aq                 # Short alias
beestat aq --json

Requires ecobee Smart Thermostat Premium (has built-in air quality sensors).

CO2 Levels:

  • < 800 ppm: Excellent
  • 800-1000 ppm: Good
  • 1000-1500 ppm: Fair (consider ventilation)
  • 1500 ppm: High (ventilate!)

VOC Levels:

  • < 0.5 ppm: Excellent
  • 0.5-1.0 ppm: Good
  • 1.0-3.0 ppm: Fair
  • 3.0 ppm: High

Thermostats

beestat thermostats        # Model info, HVAC details
beestat thermostats --json

Runtime Summary

beestat summary            # Runtime history (default 7 days)
beestat summary --days 14  # Last 14 days
beestat summary --json

Force Sync

beestat sync               # Force sync with ecobee

Usage Examples

User: "What's the temperature in the house?"

beestat status

User: "Is the air quality okay?"

beestat aq

User: "Is anyone in the bedrooms?"

beestat sensors

User: "How much did we heat the house this week?"

beestat summary --days 7

User: "What thermostats do we have?"

beestat thermostats

Notes

  • Air quality data comes from ecobee runtime, not sensor capabilities
  • All commands support --json for scripting/automation
  • Use beestat sync if data seems stale