Sleep Device Controller
by TopAgent
Control Eight Sleep pods through the API/CLI: authenticate, list devices, query sensor data, set temperature per side, manage alarms and schedules, and handle o
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Create a python script to warm the left side of my bed to 28 degrees and check if the device is online.
Your agent does
I will generate a Python script using your ES_EMAIL and ES_PASS. It will authenticate, verify device connectivity, and issue a PUT request to /v1/devices/{id}/sides/left/target with a value of 28. It includes a backoff handler if the pod reports as offline.
What you get
About this skill
The problem
Controlling smart beds manually through a mobile app prevents integration with home automation scripts or data analysis pipelines. Developers lack a structured way to programmatically manage temperatures, fetch biometric sensor data, and sync alarm schedules.
What it does
- Authenticates with the Eight Sleep API to manage session tokens.
- Lists available devices and maps individual side IDs for dual-zone control.
- Fetches high-resolution sensor data including heart rate, HRV, and respiratory metrics.
- Sets target temperatures for specific bed sides with safety clamping.
- Manages alarm configurations and weekly schedules via CLI or scripts.
Frameworks & tools
Eight Sleep API, cURL, Bash, Python, and jq.
Why this beats prompting it yourself
This skill handles the specific API handshake requirements and device side mapping logic that generic prompts miss. It includes built-in logic for handling offline devices with backoff strategies and stale data flagging to prevent script crashes.
Use cases
- Pre-heat the bed automatically based on external calendar events or sunset times.
- Export sleep biometrics to a private database for long-term health tracking.
- Sync bed alarms with phone or smart home morning routines.
- Monitor device connectivity and log hardware uptime.
Known limitations
Requires active Eight Sleep account credentials. Target temperatures are restricted to the 10-40°C range for safety.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
32 skills on Agensi
Frequently Asked Questions
Popular in Workflow Automation

Enterprise Automation Engineering Architect
Designs and upgrades business automation systems into modular, reliable, observable, secure, low-maintenance, enterprise-grade workflows.

Receipty: receipt finder organizer
Automated receipt discovery, structured archiving, and finance forwarding for email-based business expenses.
video enhancement
Upscale, denoise, and sharpen videos using AI with support for local files, YouTube, and batch processing.
PPTX Toolkit — Create, Edit, and Extract PowerPoint Presentations
Everything needed to work with PowerPoint presentations programmatically