Skip to main content

Control USB connected LED lights, like a human.

Project description

BusyLight Project Logo

Test & Publish Version Release Date Python Version License Code Style: ruff Monthly Downloads

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.

All Supported Lights

What is BusyLight?

BusyLight provides simple control over USB LED status lights to show your availability, build status, system health, or any other visual indicator. Perfect for home offices, development workflows, and team collaboration.

Key Features:

  • 26 supported devices from 9 vendors (Blink1, BlinkStick, Luxafor, etc.)
  • Command-line interface with intuitive color and effect controls
  • HTTP API with full documentation for automation and integration
  • Multi-LED targeting for devices with multiple independent LEDs
  • Cross-platform support for macOS and Linux (and maybe Windows, it's spotty).

Supported Hardware

Vendor Models LED Support
Agile Innovative BlinkStick, BlinkStick Pro, BlinkStick Square, BlinkStick Strip, BlinkStick Nano, BlinkStick Flex Multi-LED targeting
Compulab fit-statUSB Single LED
EPOS Busylight Single LED
Embrava Blynclight, Blynclight Mini, Blynclight Plus, Blynclight BLYNCUSB10, Blynclight BLYNCUSB20 Single LED
Kuando Busylight Alpha, Busylight Omega Single LED
Luxafor Flag, Orb, Mute, Busy Tag, Bluetooth variants Flag: Multi-LED, Others: Single LED
MuteMe MuteMe Original, Mute Mini, MuteSync Single LED
Plantronics Status Indicator Single LED
ThingM Blink(1), Blink(1) mk2 mk2: Multi-LED

📖 Device setup guides →

Installation

Basic Install (CLI only)

# Using uvx (recommended)
uvx --from busylight-for-humans busylight list
# Using pip
pip install busylight-for-humans

Web API Install

# Using uvx
uvx --from "busylight-for-humans[webapi]" busyserve
# Using pip
pip install busylight-for-humans[webapi]

Linux Setup

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

Quick Start

Command Line

# Basic usage
busylight on              # Green light
busylight on red          # Red light
busylight blink blue      # Blinking blue
busylight off             # Turn off

# Multi-LED devices (Blink1 mk2, BlinkStick, etc.)
busylight on red --led 1          # First LED only
busylight on blue --led 2         # Second LED only
busylight rainbow --led 1         # Rainbow on first LED
busylight pulse green --led 2     # Pulse on second LED

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"

# Multi-LED targeting
curl "http://localhost:8000/lights/on?color=red&led=1"
curl "http://localhost:8000/lights/rainbow?led=2"

Documentation

📖 Complete Documentation →

Contributing

🛠️ Contributing Guide →

  • Development environment setup
  • Testing and code quality guidelines
  • Architecture overview and design patterns
  • Pull request process and coding standards

Support

Gratitude

Thank you to @todbot and ThingM for graciously gifting blink(1) mk3 lights to support this project!


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

busylight_for_humans-0.48.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

busylight_for_humans-0.48.0-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

Details for the file busylight_for_humans-0.48.0.tar.gz.

File metadata

  • Download URL: busylight_for_humans-0.48.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for busylight_for_humans-0.48.0.tar.gz
Algorithm Hash digest
SHA256 b214e3ec9f37febb16082d65c2fb75b19c9993f20ff7f031eb9e7a1eb325b016
MD5 9909646150a74eb9a4bc326c049dca7a
BLAKE2b-256 b35f085850b5730fd2dd06c187db212e7de708420524cd2eab3513ada03a0cb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for busylight_for_humans-0.48.0.tar.gz:

Publisher: release.yaml on JnyJny/busylight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file busylight_for_humans-0.48.0-py3-none-any.whl.

File metadata

File hashes

Hashes for busylight_for_humans-0.48.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0108a4e866a89a0345640b9b41c878fad1e992ff65822aa6eb45bddeb757ed4f
MD5 d6d1eeeb6af359cab0ea6535854de05a
BLAKE2b-256 25b033c28c7bf04e38f22df2f851fb1d7d25329ab00b63c843e9ad6e93192f37

See more details on using hashes here.

Provenance

The following attestation bundles were made for busylight_for_humans-0.48.0-py3-none-any.whl:

Publisher: release.yaml on JnyJny/busylight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page