用途:eightctl 用于控制 Eight Sleep pod,适合在用户要求查看床温、调整睡眠设置或开关设备时使用。
主要能力:查看状态(eightctl status)、开关设备(eightctl on|off)、设置温度(eightctl temp 20);闹钟管理(eightctl alarm list|create|dismiss);日程管理(eightctl schedule list|create|update);音频控制(eightctl audio state|play|pause);床架信息与角度(eightctl base info|angle)。
使用方式:需要认证。配置文件位于 ~/.config/eightctl/config.yaml,也可通过环境变量 EIGHTCTL_EMAIL、EIGHTCTL_PASSWORD 提供凭据。快速开始可运行 eightctl status、eightctl on|off、eightctl temp 20。
限制与注意:API 为非官方且有限流,应避免重复登录;在更改温度或闹钟前应先确认。其余细节暂未提供。