pysmartthings
Asynchronous Python client for SmartThings.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and fills a clear need for async SmartThings API access in Python. It supports current Python versions and has no known vulnerabilities. Install it if you need to integrate SmartThings into an async Python application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 or later; requires an active SmartThings API token for authentication.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a release 70 days ago and recent commits; requires Python 3.13 or later.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.
last release 2026-06-05 (70 days) · last repo commit 2026-08-14 · 154 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,772 downloads/mo, #14,135 on PyPI
Alternatives
Verify before relying
pip install pysmartthings
import aiohttp
from pysmartthings import SmartThings
async with aiohttp.ClientSession() as session:
api = SmartThings(session, token='your_token')
devices = await api.devices()- Specific SmartThings API endpoints and device types supported by version 4.0.1
- Whether rate limiting or throttling is built in or handled by the caller
- Authentication flow details and token management patterns
What it is and what it does
pysmartthings is an async-first Python client library for the SmartThings API, designed to let you query and manage SmartThings devices and automations from Python code. It wraps HTTP calls to SmartThings' REST endpoints using aiohttp for non-blocking I/O, making it suitable for integration into async applications, home automation frameworks, and event-driven systems.
The package depends on aiohttp for HTTP transport, mashumaro and orjson for efficient data serialization, and yarl for URL handling. It targets modern Python (3.13+) and is actively maintained with a stable API surface. You would use it when you need programmatic access to SmartThings data in an async context—for example, polling device state, triggering automations, or building a bridge between SmartThings and another system.
Use it for
- Fetch current state of SmartThings devices (lights, locks, thermostats) in an async application
- Build a home automation dashboard that queries SmartThings for real-time device status
- Integrate SmartThings with another home automation platform or custom orchestration system
- Monitor device events and trigger external actions based on SmartThings state changes
- Develop a bot or service that controls SmartThings devices via API calls
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and fills a clear need for async SmartThings API access in Python. It supports current Python versions and has no known vulnerabilities. Install it if you need to integrate SmartThings into an async Python application.
Install
pysmartthings on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a release 70 days ago and recent commits; requires Python 3.13 or later.
Requires Python 3.13 or later; requires an active SmartThings API token for authentication.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most commercial and open-source projects without significant restrictions.
Quickstart
pip install pysmartthings
import aiohttp
from pysmartthings import SmartThings
async with aiohttp.ClientSession() as session:
api = SmartThings(session, token='your_token')
devices = await api.devices()
Verify before relying
- Specific SmartThings API endpoints and device types supported by version 4.0.1
- Whether rate limiting or throttling is built in or handled by the caller
- Authentication flow details and token management patterns
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4,>=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpmashumaroorjsonyarl |
| Maintenance | Actively maintained 70 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,772 / month, #14,135 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Home AutomationTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pysmartthings-4.0.1-py3-none-any.whl
Tags
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 › “smartthings api client”
- pysmartthingsAsynchronous Python client for fetching data from and interacting…
- sense-energyProvides Python access to the Sense Energy Monitor API for retrieving…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aiowithings · pydiscovergy · python-bsblan · elgato · spotifyaio · energyzero · gotailwind · wled · adguardhome · tailscale