$npx skillfedfor your agent

pyswitchbee

SwitchBee Python Integration.

With conditionsPyPI Python ModulesReleased Jul 202473.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyswitchbee-1.8.3-py3-none-any.whl
v1.8.3 · released 2024-07-27 · Python >=3.9 · 2 runtime deps: aiohttp, awesomeversion

Yes, if you own SwitchBee hardware and need Python-based control. The library is straightforward, has low install friction, and carries no known vulnerabilities. However, be aware that maintenance is dormant—no active support or updates are expected. Suitable for personal projects or integrations where you can maintain the code yourself if needed.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later; SwitchBee Central Unit must be accessible on the network and credentials must be valid.
  • Low install friction with only two runtime dependencies (aiohttp and awesomeversion).
  • Maintenance is dormant—last release was 2024-07-27 and the repository shows minimal activity (3 stars), so expect no active support or rapid bug fixes.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache License 2.0 (permissive), which allows commercial and private use with minimal restrictions.

last release 2024-07-27 (748 days) · last repo commit 2024-07-27 · 3 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,844 downloads/mo, #14,923 on PyPI

Verify before relying

pip install pyswitchbee

from aiohttp import ClientSession

async with ClientSession() as session:
    cu = CentralUnitAPI("192.168.50.2", "user", "pass", session)
    await cu.connect()
    devices = await cu.devices
  • Whether the library maintains compatibility with current SwitchBee firmware versions.
  • What happens if the Central Unit becomes unreachable during operation.
  • Whether the CLI tool is included in the PyPI distribution.
Same gist for agents: .md · .json

What it is and what it does

pySwitchbee is a Python library that communicates with SwitchBee smart home Central Units over the network to control connected devices. It provides an async API built on aiohttp for discovering and controlling various device types—dimmers, shutters, switches, and timed power devices—by setting their state or brightness levels. The library includes both a programmatic interface and a command-line tool for querying device status and issuing commands.

The package is designed for developers building home automation integrations or scripts that need to interact with SwitchBee hardware. It handles the protocol details of communicating with the Central Unit and abstracts device types into a simple object model. However, the project is dormant (last release 2024-07-27, minimal repository activity), so it receives no active maintenance or updates.

Use it for

  • Build a home automation dashboard that queries device states and sends control commands.
  • Create scheduled tasks to turn lights on/off or adjust dimmer brightness at specific times.
  • Integrate devices into a larger home automation platform or orchestration system.
  • Write CLI scripts to manage shutter positions or timed power switches from the command line.
  • Monitor and log the state of smart home devices for analytics or troubleshooting.

Worth the install?

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

With conditions

Yes, if you own SwitchBee hardware and need Python-based control.

The library is straightforward, has low install friction, and carries no known vulnerabilities. However, be aware that maintenance is dormant—no active support or updates are expected. Suitable for personal projects or integrations where you can maintain the code yourself if needed.

Install

pyswitchbee on PyPI

Before you install

Low install friction with only two runtime dependencies (aiohttp and awesomeversion). Maintenance is dormant—last release was 2024-07-27 and the repository shows minimal activity (3 stars), so expect no active support or rapid bug fixes.

Requires Python 3.9 or later; SwitchBee Central Unit must be accessible on the network and credentials must be valid.

License in practice

Licensed under Apache License 2.0 (permissive), which allows commercial and private use with minimal restrictions.

Quickstart

pip install pyswitchbee

from aiohttp import ClientSession

async with ClientSession() as session:
    cu = CentralUnitAPI("192.168.50.2", "user", "pass", session)
    await cu.connect()
    devices = await cu.devices

Verify before relying

  • Whether the library maintains compatibility with current SwitchBee firmware versions.
  • What happens if the Central Unit becomes unreachable during operation.
  • Whether the CLI tool is included in the PyPI distribution.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
aiohttpawesomeversion
MaintenanceDormant 748 days since the last release
Last repo commit
First released
Downloads73,844 / month, #14,923 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentTopic :: Home AutomationTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: pyswitchbee-1.8.3-py3-none-any.whl

Tags

Capabilities
switchbee smart home controlpython smart home automationasync home device apidimmer shutter switch controlhome automation library
Topics
home-automationasync-apismart-home
PyPI keywords
homeautomationswitchbeesmart

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 › “switchbee smart home control”

  • pyswitchbeeA Python library for controlling SwitchBee smart home devices over…
  • python-kasaControl TP-Link Kasa and Tapo smart home devices (plugs, switches,…
  • pyhiveapiA Python library for controlling Hive smart home devices (heating,…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also broadlink · dlipower · pyvesync · pyoverkiz · pyfibaro · pylutron-caseta · aioqsw · pyhiveapi · blinkpy · boschshcpy