pylutron-caseta
Provides an API to the Lutron Smartbridge
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and installs cleanly with minimal dependencies. It is well-suited for anyone building Python-based home automation or integrating Lutron Caséta devices into a larger system. The main constraint is the requirement to complete a one-time pairing process with the bridge before use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; TLS certificate files must be generated via pairing process (lap-pair tool or async_pair function) before connecting to the bridge.
- Low install friction with a pure-Python wheel and three lightweight runtime dependencies (async-timeout, cryptography, orjson).
- Active maintenance with a recent release and ongoing commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for integration into larger applications.
last release 2026-06-10 (65 days) · last repo commit 2026-08-08 · 176 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 99,211 downloads/mo, #13,034 on PyPI
Alternatives
Verify before relying
import asyncio
from pylutron_caseta.smartbridge import Smartbridge
async def example():
bridge = Smartbridge.create_tls(
"192.168.1.100", "caseta.key", "caseta.crt", "caseta-bridge.crt"
)
await bridge.connect()
device = bridge.get_devices_by_domain("light")[0]
await bridge.turn_on(device["device_id"])
await bridge.close()
asyncio.run(example())- Whether the package supports all Lutron Caséta device types or only a subset of the product line
- Performance characteristics when controlling many devices simultaneously or over high-latency networks
- Whether the cli extras (leap-scan, lap-pair, leap tools) are required for typical use or optional for advanced workflows
What it is and what it does
pylutron-caseta is an async Python client for the Lutron Caséta smart home bridge, enabling programmatic control of Lutron lighting and shading devices over a local network. It handles TLS authentication, device discovery, and state management through a simple API that returns devices as dictionaries and exposes methods like turn_on, turn_off, and set_level.
The package is designed for integration into larger home automation systems and provides both a high-level Smartbridge class for typical use and lower-level pairing and LEAP protocol access for advanced workflows. It depends on cryptography for TLS, orjson for efficient JSON parsing, and async-timeout for connection management, and requires Python 3.10 or later.
Use it for
- Build a home automation dashboard that reads and controls Lutron lights and dimmers from a central Python application.
- Integrate Lutron Caséta devices into a broader smart home system alongside other IoT platforms via a unified API.
- Create automated lighting scenes triggered by external events (time, presence, weather) by calling bridge control methods.
- Develop a mobile or web app backend that communicates with Lutron devices through a Python service.
- Monitor and log device state changes over time for energy usage analysis or debugging.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, uses a permissive license, and installs cleanly with minimal dependencies. It is well-suited for anyone building Python-based home automation or integrating Lutron Caséta devices into a larger system. The main constraint is the requirement to complete a one-time pairing process with the bridge before use.
Install
pylutron-caseta on PyPI
Before you install
Low install friction with a pure-Python wheel and three lightweight runtime dependencies (async-timeout, cryptography, orjson). Active maintenance with a recent release and ongoing commits.
Requires Python 3.10 or later; TLS certificate files must be generated via pairing process (lap-pair tool or async_pair function) before connecting to the bridge.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for integration into larger applications.
Quickstart
import asyncio
from pylutron_caseta.smartbridge import Smartbridge
async def example():
bridge = Smartbridge.create_tls(
"192.168.1.100", "caseta.key", "caseta.crt", "caseta-bridge.crt"
)
await bridge.connect()
device = bridge.get_devices_by_domain("light")[0]
await bridge.turn_on(device["device_id"])
await bridge.close()
asyncio.run(example())
Verify before relying
- Whether the package supports all Lutron Caséta device types or only a subset of the product line
- Performance characteristics when controlling many devices simultaneously or over high-latency networks
- Whether the cli extras (leap-scan, lap-pair, leap tools) are required for typical use or optional for advanced workflows
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesasync-timeoutcryptographyorjson |
| Maintenance | Actively maintained 65 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 99,211 / month, #13,034 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software License |
Evidence: pylutron_caseta-0.29.0-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 › “lutron caseta control”
- pylutron-casetaA Python API for controlling Lutron Caséta smart home devices via…
- controlImplements core operations for analyzing and designing feedback…
- google-cloud-service-controlPython client library for Google Cloud Service Control API, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
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.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also aiohue · pyswitchbee · HATasmota · python-ecobee-api · fjaraskupan · pysensibo · aiowebostv · switchbot-api · pywizlight · aioqsw