# Lumendock

Turn a spare Android phone into a USB desk display for Claude/Codex limits, laptop alerts, media and system keys, and an ESP32 lamp.

闲置的 Android 手机被改成笔记本的第二块屏，桌上唯一的开发板是一台 ESP32 灯控。

- id: arcco-chakraborty-lumendock
- author: Arcco-Chakraborty
- repository: https://github.com/Arcco-Chakraborty/lumendock
- license: MIT
- shape: square
- scenes: home, ai, tools
- boards: ESP32
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/arcco-chakraborty-lumendock/
- html_zh: https://esp32gallery.com/zh/projects/arcco-chakraborty-lumendock/
- json: https://esp32gallery.com/data/catalog/projects/arcco-chakraborty-lumendock.json

## Hardware

Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A spare Android phone becomes a second monitor for a Linux laptop, and an ESP32 lamp controller on the same desk is the only board involved. Over an adb reverse USB link the phone shows Claude and Codex quota, the newest alerts, what is playing and a grid of laptop keys; clicking one runs a fixed action on the laptop, never a shell command. Over its own Wi-Fi access point the ESP32 sets the RGB light and reports room temperature and humidity, and the lamp pulses cyan, green or white when an alert, a WhatsApp message or a reset arrives. The hub binds 127.0.0.1 and pairing uses an 8-digit code; usage comes from the Codex CLI app-server and an opt-in Claude Code status line. Laptop features target Linux with GNOME; notifications come from the freedesktop Notify call.
```

## 中文

```
闲置的 Android 手机被改成笔记本的第二块屏，桌上唯一的开发板是一台 ESP32 灯控。手机和笔记本之间只走 adb reverse 的 USB 链路，屏幕上摆 Claude / Codex 的额度、最新通知、正在播放的媒体，以及一排笔记本快捷键；按键只触发一份固定动作清单，不会把手机发来的内容当成 shell 命令。ESP32 用自己开的热点接手机，管 RGB 灯带并上报室温湿度，有告警、WhatsApp 消息或额度重置时灯会闪青、绿、白。笔记本端的 hub 只绑 127.0.0.1，配对用 8 位一次性口令。电脑侧只面向 Linux + GNOME，通知靠 freedesktop 的 Notify 调用抓取。
```
