skillfed

led-ble

Control a wide range of LED BLE devices

led-ble v1.1.12 75.3K downloads/30d#14,729 on PyPI15
Permissive license Apache-2.0 Active released

What it is and what it does

led-ble is a Python library for controlling generic, unbranded Bluetooth LE LED controllers and bulbs that share a common protocol family. These devices are widely sold under various names like Triones, LEDBLE, LEDBlue, QHM, and Dream, and the library abstracts their protocol to provide a unified interface. It is explicitly not a universal driver for all Bluetooth LE lights—brand-specific ecosystems like Govee maintain their own protocols and should use dedicated libraries instead.

The library wraps bleak and bleak-retry-connector to handle the Bluetooth communication layer, async-timeout for connection management, and flux-led for protocol handling. It targets developers building home automation, IoT, or smart lighting applications that need to control these common, low-cost LED devices. The package is in pre-alpha status, actively maintained, and requires Python 3.10 or later.

Use it for:

  • Home automation systems that control generic BLE LED strips and bulbs in multiple rooms.
  • IoT projects integrating cheap, unbranded Bluetooth LED controllers into custom lighting setups.
  • Automation scripts that synchronize color and brightness across multiple compatible LED devices.
  • Smart home integrations where Govee and other brand-specific ecosystems are out of scope.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Controls generic unbranded Bluetooth LE LED devices sold under names like Triones, LEDBLE, LEDBlue, QHM, and Dream, using a shared protocol family.

Yes, if you control generic unbranded BLE LED devices matching the Triones/LEDBLE/LEDBlue/QHM/Dream family. Active maintenance, low install friction, permissive license, and no known vulnerabilities support adoption. Pre-alpha status means the API may shift, so pin the version in production. Not suitable for brand-specific ecosystems like Govee.

Install

led-ble on PyPI

pip

pip install led-ble

uv

uv add led-ble

poetry

poetry add led-ble

Installing led-ble

Before you install

Low friction installation as a pure Python wheel. Actively maintained with a release 19 days ago; requires Python 3.10 or later. Depends on bleak and bleak-retry-connector for Bluetooth communication, plus async-timeout and flux-led.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install led-ble

from led_ble import Device

# Discover and control a BLE LED device
device = Device(address='XX:XX:XX:XX:XX:XX')
await device.connect()
await device.turn_on()

Requires Python 3.10 or later; Bluetooth hardware and proximity to a compatible BLE LED device.

Verify before relying

  • Which specific LED device models are confirmed compatible beyond the advertised name patterns.
  • Whether the library supports all color modes and brightness control methods for the target device family.
  • Performance characteristics when controlling multiple devices simultaneously.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — async-timeout, bleak, bleak-retry-connector, flux-led
Maintenance actively maintained — 19 days since the last release
Last repo commit
First released
Downloads 75,314/month — #14,729 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: led_ble-1.1.12-py3-none-any.whl

Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries

Tags

bluetooth LE LED controllergeneric BLE light controlTriones LED controlwireless RGB LED driverBLE light automation
bluetooth-iothome-automationled-control

More Libraries packages