CCLight Status Indicator Plugin
通过 ESP32 LED 灯光显示 Claude Code 的工作状态
准备硬件
- 硬件代码在 src/esp32-program中可以找到。找台ESP32-C3的板子,刷micropython,然后将main.py刷到板子上。 LED灯负极接GND,正极接Pin(3)
- 电脑通过USB先直连ESP32-C3的板子
软件安装
1: 安装控制程序
# 使用 pip 或 pipx
pip install cclight
# pipx install cclight
2:Claude Code 插件市场
# 启动 claude code
claude
# 1. 添加 GitHub marketplace
/plugin marketplace add codeskyblue/cclight
# 2. 安装插件
/plugin install cclight@cclight-marketplace
# 3. 重新加载插件
/reload-plugins
# 4. 检查
/plugin list
测试
安装后 cclight 命令即可使用:
# 启动 daemon(首次使用会自动启动)
cclight state working
cclight state idle
cclight state input
# 手动管理 daemon
cclight daemon start
cclight daemon stop
cclight daemon status
开发调试? 查看 DEVELOP.md 了解本地开发和调试方法。
参考文档
Metadata
Release files for cclight 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cclight-1.2.1.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cclight-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / cclight-1.2.1.tar.gz
| Download URL | cclight-1.2.1.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfab1db2e840e6c3271497e7a23c9c9cdc186e6b606fccc061458161b155908d
|
|
BLAKE2b-256 checksum How to use checksums |
ca5385f38ddeab74edc67a4cece2be49eb61bfe6555f6011f426d270c88fe8a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.
Transparency logRelease files / cclight-1.2.1-py3-none-any.whl
| Download URL | cclight-1.2.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f88a0dea9fd92408a0214039ead2e32bc630b678ebfe44c405213271f6d92ce8
|
|
BLAKE2b-256 checksum How to use checksums |
d48da87708e87ada3674a65bc3280d3e2468403441518cf8c60210b05fb1a264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.
Transparency log