Control USB connected LED lights, like a human.
Project description
Control USB LED status lights from the command line and HTTP.
26 devices · 9 vendors · CLI · HTTP API
BusyLight for Humans™ controls USB LED lights from multiple vendors. Use the command-line interface or HTTP API to turn lights on/off, change colors, and apply effects.
Built on busylight-core, the Python library for USB status light communication.
Flag1, Busylight Alpha2, Blynclight Plus3, Blink(1)4, Mute5, Blynclight6, Orb7, BusyLight Omega8, BlinkStick Square9, Blynclight Mini10, MuteMe Original11, fit-statUSB12, MuteSync13, Status Indicator14
Quick Start
# Turn on a green light right now
uvx --from busylight-for-humans busylight on
# Red, blinking, then off
uvx --from busylight-for-humans busylight blink red
uvx --from busylight-for-humans busylight off
Installation
# Basic install (CLI only)
pip install busylight-for-humans
# With web API support
pip install busylight-for-humans[webapi]
Linux requires udev rules for USB device access:
busylight udev-rules -o 99-busylights.rules
sudo cp 99-busylights.rules /etc/udev/rules.d/
sudo udevadm control -R
# Unplug and reconnect your device
Supported Hardware
| Vendor | Models |
|---|---|
| Agile Innovative | BlinkStick, BlinkStick Pro, Square, Strip, Nano, Flex |
| CompuLab | fit-statUSB |
| EPOS | Busylight |
| Embrava | Blynclight, Blynclight Mini, Blynclight Plus, BLYNCUSB10, BLYNCUSB20 |
| Kuando | Busylight Alpha, Busylight Omega |
| Luxafor | Flag, Orb, Mute, Busy Tag, Bluetooth |
| MuteMe | MuteMe Original, MuteMe Mini, MuteSync |
| Plantronics | Status Indicator |
| ThingM | Blink(1), Blink(1) mk2 |
Multi-LED targeting supported on BlinkStick variants, Luxafor Flag, and Blink(1) mk2.
Command Line
busylight on # green light
busylight on red # red light
busylight blink blue # blinking blue
busylight rainbow # cycle through colors
busylight off # turn off
# Multi-LED devices
busylight on red --led 1 # first LED only
busylight on blue --led 2 # second LED only
Web API
# Start the server
busyserve
# Control via HTTP
curl "http://localhost:8000/light/0/on?color=red"
curl "http://localhost:8000/light/0/blink?color=blue&count=5"
curl "http://localhost:8000/lights/off"
Platform Support
- macOS -- works out of the box
- Linux -- requires udev rules (see Installation)
- Windows -- may work, untested, patches welcome
Contributing
Contributions welcome. See CONTRIBUTING.md for development setup and guidelines. This project is part of a uv workspace monorepo.
Gratitude
Thank you to @todbot and ThingM for gifting
blink(1) mk3 lights to support this project.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file busylight_for_humans-1.0.0.tar.gz.
File metadata
- Download URL: busylight_for_humans-1.0.0.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3aad2e865c35bcc8f56dd46b20231106bb6b01c3d87c00e249aada418048107e
|
|
| MD5 |
e7cafca0f02ad41918e237d59114b8a2
|
|
| BLAKE2b-256 |
2a4935e1950fa6de3446eb5caa0e10969b8d3d91b8ccf7f070ada7f89316aedc
|
Provenance
The following attestation bundles were made for busylight_for_humans-1.0.0.tar.gz:
Publisher:
release-cli.yaml on JnyJny/busylight
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
busylight_for_humans-1.0.0.tar.gz -
Subject digest:
3aad2e865c35bcc8f56dd46b20231106bb6b01c3d87c00e249aada418048107e - Sigstore transparency entry: 1228113675
- Sigstore integration time:
-
Permalink:
JnyJny/busylight@eaf468db1276bc69819fd87c4b2b928499b8ea08 -
Branch / Tag:
refs/tags/busylight-cli/v1.0.0 - Owner: https://github.com/JnyJny
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-cli.yaml@eaf468db1276bc69819fd87c4b2b928499b8ea08 -
Trigger Event:
push
-
Statement type:
File details
Details for the file busylight_for_humans-1.0.0-py3-none-any.whl.
File metadata
- Download URL: busylight_for_humans-1.0.0-py3-none-any.whl
- Upload date:
- Size: 53.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19e99c5bf0f0624597fbf939a7e8d02271aaf9b540d3b29fde1de4f456ef5e64
|
|
| MD5 |
499062898ed4e8b43b1ccec510398b89
|
|
| BLAKE2b-256 |
c54b907e5bdd3f03b850d381453077397fdd99b6da643aa85ba52032b662652c
|
Provenance
The following attestation bundles were made for busylight_for_humans-1.0.0-py3-none-any.whl:
Publisher:
release-cli.yaml on JnyJny/busylight
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
busylight_for_humans-1.0.0-py3-none-any.whl -
Subject digest:
19e99c5bf0f0624597fbf939a7e8d02271aaf9b540d3b29fde1de4f456ef5e64 - Sigstore transparency entry: 1228113676
- Sigstore integration time:
-
Permalink:
JnyJny/busylight@eaf468db1276bc69819fd87c4b2b928499b8ea08 -
Branch / Tag:
refs/tags/busylight-cli/v1.0.0 - Owner: https://github.com/JnyJny
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-cli.yaml@eaf468db1276bc69819fd87c4b2b928499b8ea08 -
Trigger Event:
push
-
Statement type: