$npx skillfedfor your agent

asyncsleepiq

ASync SleepIQ API

With conditionsPyPI WWW/HTTPReleased Mar 202675.8K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — asyncsleepiq-1.7.1-py3-none-any.whl
v1.7.1 · released 2026-03-11 · 1 runtime deps: aiohttp

Yes, if you own a SleepNumber bed and need programmatic control or monitoring. The library is actively maintained, has no known vulnerabilities, installs with minimal friction (one dependency), and uses a permissive MIT license. The main constraint is hardware availability—you must own a compatible SleepNumber bed to test or use it meaningfully.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a SleepNumber bed with SleepIQ capability and valid SleepNumber account credentials.
  • Low install friction; depends only on aiohttp.
  • Actively maintained with a recent commit as of 2026-03-11 and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe to integrate into any project.

last release 2026-03-11 (156 days) · last repo commit 2026-03-11 · 6 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 75,809 downloads/mo, #14,679 on PyPI

Verify before relying

pip install asyncsleepiq

import asyncio
from asyncsleepiq import AsyncSleepIQ, LOGIN_COOKIE

async def main():
    api = AsyncSleepIQ(login_method=LOGIN_COOKIE)
    await api.login("user@example.com", "password")
    await api.init_beds()
    await api.fetch_bed_statuses()
    for bed in api.beds.values():
        print(bed)
    await api.close_session()

asyncio.run(main())
  • Whether the library supports all current SleepIQ API endpoints or only a subset of documented operations.
  • Python version compatibility beyond the generic 'Python :: 3' classifier.
Same gist for agents: .md · .json

What it is and what it does

AsyncSleepIQ is a Python library that wraps the SleepIQ API—the remote interface for SleepNumber smart beds—using async/await patterns via aiohttp. It lets you authenticate to your SleepNumber account, fetch current bed occupancy and sleep number settings, and control bed features like pause mode and calibration from Python code.

The library manages authentication (supporting both legacy key-based and modern cookie-based methods) and handles automatic re-authentication if sessions expire. You initialize it once with login and init_beds, then call fetch_bed_statuses repeatedly to poll for updates without re-authenticating each time. It exposes bed state through SleepIQBed, SleepIQSleeper, and SleepIQFoundation classes that you query and manipulate after fetching.

Use it for

  • Monitor bed occupancy and sleep number values in a home automation system.
  • Build a dashboard that displays real-time SleepNumber bed status for multiple beds.
  • Automate bed pause mode or calibration on a schedule or in response to events.
  • Integrate SleepNumber data into a sleep tracking or health monitoring application.
  • Create alerts when bed occupancy changes or sleep number drifts beyond a threshold.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you own a SleepNumber bed and need programmatic control or monitoring.

The library is actively maintained, has no known vulnerabilities, installs with minimal friction (one dependency), and uses a permissive MIT license. The main constraint is hardware availability—you must own a compatible SleepNumber bed to test or use it meaningfully.

Install

asyncsleepiq on PyPI

Before you install

Low install friction; depends only on aiohttp. Actively maintained with a recent commit as of 2026-03-11 and no known vulnerabilities.

Requires a SleepNumber bed with SleepIQ capability and valid SleepNumber account credentials.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it safe to integrate into any project.

Quickstart

pip install asyncsleepiq

import asyncio
from asyncsleepiq import AsyncSleepIQ, LOGIN_COOKIE

async def main():
    api = AsyncSleepIQ(login_method=LOGIN_COOKIE)
    await api.login("user@example.com", "password")
    await api.init_beds()
    await api.fetch_bed_statuses()
    for bed in api.beds.values():
        print(bed)
    await api.close_session()

asyncio.run(main())

Verify before relying

  • Whether the library supports all current SleepIQ API endpoints or only a subset of documented operations.
  • Python version compatibility beyond the generic 'Python :: 3' classifier.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
aiohttp
MaintenanceActively maintained 156 days since the last release
Last repo commit
First released
Downloads75,809 / month, #14,679 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3

Evidence: asyncsleepiq-1.7.1-py3-none-any.whl

Tags

Capabilities
sleepiq api pythonsleepnumber bed controlasync sleep trackersleepiq home automationbed status monitoringsleepnumber api clientasync bed control
Topics
home-automationiot-integration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sleepiq api python”

  • asyncsleepiqAsyncSleepIQ provides async Python access to the SleepIQ API for…
  • xdkA Python SDK for interacting with the X API, providing typed client…
  • sailthru-clientA Python client library for the Sailthru REST API, enabling remote…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also aio-pika · python-timeout · aiomodernforms · aiosyncthing · stqdm · ha-garmin · rel · aioresponses · AIOSomecomfort · pybedtools