eightctl
Control Eight Sleep pods: status, temperature, alarms.
SKILL.mdoptional-skills/health/eightctl/SKILL.md
GitHubeightctl Skill
Control Eight Sleep pods with the eightctl CLI: status, temperature, alarms, schedules, audio, and base position. Requires an Eight Sleep pod, an Eight Sleep account, and the eightctl binary. The API is unofficial and rate-limited.
When to Use
- User asks for the pod status, temperature, or to turn the pod on or off
- Managing alarms or schedules on the pod
- Checking base info or angle, or controlling pod audio
Prerequisites
- An Eight Sleep pod and account, with auth configured.
- Install
eightctl:go install github.com/steipete/eightctl/cmd/eightctl@latest - Auth: config file
~/.config/eightctl/config.yaml, or environmentEIGHTCTL_EMAILandEIGHTCTL_PASSWORD. Credentials live in the Hermes.env(secrets only) or the config file; never print them and never paste a password into chat. - Run commands with the
terminaltool.
How to Run
- Check
eightctlis onPATHwith theterminaltool and auth is configured; if either is missing, say so and stop. - Run the read or control command for the task.
- Report back the pod state that changed.
Quick Reference
eightctl status
eightctl on
eightctl off
eightctl temp 20
Alarms and schedules:
eightctl alarm list
eightctl alarm create
eightctl alarm dismiss
eightctl schedule list
eightctl schedule create
eightctl schedule update
Audio and base:
eightctl audio state
eightctl audio play
eightctl audio pause
eightctl base info
eightctl base angle
Procedure
- Run
eightctl statusfirst to confirm the pod is reachable and to see the current state. - Temperature:
eightctl temp <degrees>for the target temperature. - Power:
eightctl onoreightctl off. - Alarms: list with
eightctl alarm listbefore creating or dismissing one, so the change lands on the right alarm. - Schedules: list with
eightctl schedule listbefore creating or updating one. - Report back the new state from a fresh
eightctl statuswhere it applies.
Pitfalls
- The API is unofficial and rate-limited. Avoid repeated logins; authenticate once and reuse the session. Do not hammer
statusin a loop. - A failed command after a long idle period usually means the session expired: re-authenticate once, then retry the command.
- Temperature changes and alarms affect a real bed. Confirm the target temperature and the alarm time with the user before applying, and never set an alarm as a joke or a guess.
- Never print the account email and password together, and never print the password at all.
Verification
- After any change, run
eightctl statusand confirm the reported state matches what was asked. - After creating an alarm or schedule, list it again and confirm the time and settings match.
- After a temperature change, confirm the reported target temperature in the status output.