Sleep Device Controller

    by TopAgent

    1

    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

    0 installsSecurity scanned

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    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

    Automate bed temperature based on external smart home triggers.Export heart rate and HRV data to local files for analysis.Synchronize bed alarms with third-party scheduling tools.Build a CLI wrapper for quick bed status checks without an app.

    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

    Listedtoday

    Creator

    TopAgent
    TopAgent

    32 skills on Agensi

    Frequently Asked Questions

    Popular in Workflow Automation