Skip to main content
SMHUB Nano Mg24 — now shipping worldwideNew: SLWF-11 — our new compact WLED controller · see the datasheet →
SMLIGHT
Buy
Libraries

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.

v0.5.3 · Apache-2.0Python 3.12+
Async by design

Built on asyncio and aiohttp, with real-time device updates delivered over Server-Sent Events.

Read and control

Status, sensors, settings and firmware updates — the same surface you get from the device web UI.

Typed and stable

Typed data models via mashumaro and robust version handling; marked Production/Stable and actively released.

Powers Home Assistant

The client library underneath the official SMLIGHT Home Assistant integration.

Get started

Up and running in one line.

Install from PyPI
$ pip install pysmlight
At a glance

The 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.