{"schema_version":1,"id":"nsyll-clawdometer-eink","name":{"en":"Clawdometer","zh":"用电子墨水屏实时显示 Claude Code 额度与工作状态。"},"summary":{"en":"Claude Code usage monitor on an e-ink desk gadget — rate-limit meters, live WORKING/NEEDS-YOU/QUESTION/DONE status, and a bell that rings when it's your turn. Waveshare ESP32-S3-ePaper-1.54, BLE.","zh":"用电子墨水屏实时显示 Claude Code 额度与工作状态。"},"purpose":"Claude usage monitor","tier":"community","author":"nsyll","repository":"https://github.com/nsyll/clawdometer-eink","license":"MIT","shape":"epaper","scenes":["tools"],"boards":[{"name":"ESP32-S3"},{"name":"Waveshare","page":"https://esp32gallery.com/boards/waveshare-boards/"}],"native_board":{"en":"Waveshare ESP32-S3-ePaper-1.54","zh":"微雪 ESP32-S3-ePaper-1.54","page":"https://esp32gallery.com/boards/waveshare-boards/"},"motion":false,"hardware":{"en":"ESP32-S3 / Waveshare. Verify the exact board revision, wiring and power requirements in the upstream build guide.","zh":"ESP32-S3 / Waveshare；请在上游构建文档中核对具体板型、供电与接线。"},"notes":{"en":"Claude Code's own usage panel, mirrored onto a 1.54-inch 200×200 e-ink card that sits on the desk. A Python daemon on the Mac polls the API's rate-limit headers with the existing OAuth token, reads a status file written by Claude Code hooks, and pushes one small JSON payload over BLE every minute; the Waveshare ESP32-S3-ePaper-1.54 renders the 5-hour and weekly meters, a WORKING / NEEDS YOU / QUESTION / DONE banner, and per-day token stats. Each event has its own chime through the ES8311 codec. Nothing is soldered and nothing leaves the Mac. Sleep draws a small `zZ` and pulls about 20 µA, so a charge lasts roughly a week.","zh":"把 Claude Code 自己的用量面板搬到桌上一张 A6 大小的墨水瓶上：Waveshare ESP32-S3-ePaper-1.54，1.54 英寸、200×200。Mac 上的 Python 守护进程用已有的 OAuth token 去读 API 的限流响应头，再看 hooks 写下的状态文件，每分钟通过 BLE 推一小包 JSON 过去，屏上就显示五小时和周用量条、WORKING / NEEDS YOU / QUESTION / DONE 横幅，以及按天统计的 token。每种事件配一段不同的 ES8311 提示音。整机不用焊接，数据只在本机走。没人时画个 zZ 进深睡，约 20 µA，每半小时醒一次找守护进程，充一次能用一周左右。电量低于 3% 会提示充电并自己干净关机，护住锂电池。装的时候先刷固件，再在 macOS 终端里起守护进程，第一次会弹蓝牙授权；hooks 可选，但状态横幅和提示音全靠它。"},"readme_excerpts":[{"label":"Display","quote":"1.54-inch black/white 200×200 e-ink panel"},{"label":"Dependency","quote":"single-file Python daemon (bleak + httpx)"},{"label":"Limit","quote":"Run it from a real Terminal window"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/nsyll-clawdometer-eink/poster.jpg","poster":"https://esp32gallery.com/previews/nsyll-clawdometer-eink/poster.jpg","sources":["https://esp32gallery.com/previews/nsyll-clawdometer-eink/frames/view-001.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"nsyll","source":"https://github.com/nsyll/clawdometer-eink/tree/fd6c20d685bde345101d7b21ddb0e484d20ec313","note":{"en":"Screenshots from the upstream README. Code and firmware were not executed. License notices are included.","zh":"来自上游 README 的真实截图；未运行代码或固件，预览包保留许可证声明。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"fd6c20d685bde345101d7b21ddb0e484d20ec313"},"stars":8,"pushed_at":"2026-08-24T12:22:40Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/nsyll-clawdometer-eink/","html_zh":"https://esp32gallery.com/zh/projects/nsyll-clawdometer-eink/","json":"https://esp32gallery.com/data/catalog/projects/nsyll-clawdometer-eink.json","markdown":"https://esp32gallery.com/data/catalog/projects/nsyll-clawdometer-eink.md"}}
