pywizlight
A python connector for WiZ light bulbs (e.g SLV Play)
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and provides a clean async API for a well-defined use case (WiZ bulb control). Install it if you own WiZ bulbs and need programmatic or CLI control; skip it if you have no WiZ devices or prefer a vendor app.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.11; WiZ bulbs must be on the same network and reachable by IP address.
- Low friction install with a single runtime dependency (click).
- Actively maintained with a recent release (9 days old) and 547 repository stars.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use, modification, and distribution with minimal restrictions—suitable for most projects.
last release 2026-08-05 (9 days) · last repo commit 2026-08-05 · 547 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 78,590 downloads/mo, #14,424 on PyPI
Alternatives
Verify before relying
pip install pywizlight
import asyncio
from pywizlight import wizlight, PilotBuilder
async def main():
light = wizlight("192.168.1.27")
await light.turn_on(PilotBuilder(brightness=255))
asyncio.run(main())- Whether the library supports all WiZ device models or only specific bulb types.
- Latency and timeout behavior when bulbs are offline or unreachable.
- Whether UDP broadcast discovery works reliably across different network configurations.
What it is and what it does
pywizlight is a Python connector for WiZ smart light bulbs that provides both a programmatic API and a command-line interface for controlling networked lighting devices. It handles device discovery via UDP broadcast, state queries, and commands to adjust brightness, color temperature, RGB colors, and predefined scenes. The library is async-first, designed to work with asyncio for concurrent control of multiple bulbs.
The package wraps the WiZ Light API with higher-level abstractions like PilotBuilder for constructing control commands and bulb type detection for querying device capabilities (supported features, kelvin range, module name). It supports both direct IP-based control and network-wide discovery, making it suitable for home automation integrations and standalone smart-home tooling.
Use it for
- Integrate WiZ bulbs into a home automation system or dashboard that needs programmatic control.
- Build a CLI tool or script to discover and manage WiZ lights across a home network.
- Automate lighting scenes and color changes based on time of day, events, or sensor input.
- Query bulb capabilities and state to adapt control logic to device features.
- Control multiple bulbs in parallel using asyncio for responsive multi-light orchestration.
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 MIT license, and provides a clean async API for a well-defined use case (WiZ bulb control). Install it if you own WiZ bulbs and need programmatic or CLI control; skip it if you have no WiZ devices or prefer a vendor app.
Install
pywizlight on PyPI
Before you install
Low friction install with a single runtime dependency (click). Actively maintained with a recent release (9 days old) and 547 repository stars. Requires Python >=3.11.
Requires Python >=3.11; WiZ bulbs must be on the same network and reachable by IP address.
License in practice
MIT license permits commercial and private use, modification, and distribution with minimal restrictions—suitable for most projects.
Quickstart
pip install pywizlight
import asyncio
from pywizlight import wizlight, PilotBuilder
async def main():
light = wizlight("192.168.1.27")
await light.turn_on(PilotBuilder(brightness=255))
asyncio.run(main())
Verify before relying
- Whether the library supports all WiZ device models or only specific bulb types.
- Latency and timeout behavior when bulbs are offline or unreachable.
- Whether UDP broadcast discovery works reliably across different network configurations.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageclick |
| Maintenance | Actively maintained 9 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,590 / month, #14,424 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: pywizlight-0.6.6-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 › “wiz smart bulb control”
- pywizlightA Python library and CLI tool for discovering and controlling WiZ…
- yeelightControl YeeLight WiFi RGB LED bulbs over LAN using synchronous or…
- aiolifxaiolifx is an asyncio-based Python library for discovering and…
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 flux-led · yeelight · aiolifx · python-kasa · aiolifx-effects · pyswitchbee · pyvesync · plugp100 · hyperion-py · aiohue