The async Python client for SMLIGHT devices.
pysmlight is the asyncio Python library behind SMLIGHT’s Home Assistant integration. It talks to SLZB-06-family LAN coordinators over their HTTP and Server-Sent-Events API, with real-time updates and typed data models.
Built on asyncio and aiohttp, with real-time device updates delivered over Server-Sent Events.
Status, sensors, settings and firmware updates — the same surface you get from the device web UI.
Typed data models via mashumaro and robust version handling; marked Production/Stable and actively released.
The client library underneath the official SMLIGHT Home Assistant integration.
Up and running in one line.
$ pip install pysmlightThe essentials.
- Type
- Python library (asyncio)
- Python
- 3.12+ (tested 3.12 / 3.13)
- Devices
- SLZB-06-family LAN coordinators
- Realtime
- HTTP + Server-Sent Events
- License
- Apache-2.0 (PyPI)
- Latest
- v0.5.3
Ready to dive in?
pysmlight is the asyncio Python library behind SMLIGHT’s Home Assistant integration. It talks to SLZB-06-family LAN coordinators over their HTTP and Server-Sent-Events API, with real-time updates and typed data models.
Pre-1.0 (v0.x) — the API may still change. Primarily targets SLZB-06 LAN coordinators.