Claude Usage Ring · flasher

Flashes the desk display — ESP8266 D1 mini + round GC9A01 — straight from the browser. No toolchain, no build machine. The WiFi is asked here and sent to the board over the cable: the firmware image contains no credentials.

1 · Deploy the service first

The display is deliberately dumb: it reads the numbers from ClaudeReset, the LAN service that signs in to Claude, keeps the tokens and refreshes them. Without it the dial can only ever say non autenticato.

git clone https://github.com/tiwiz/ClaudeReset.git
cd ClaudeReset/service
mkdir -p data && chown 10001:10001 data
docker compose up -d --build

The service announces itself over mDNS as _claudereset._tcp. The display finds it on its own — there is no IP address to type anywhere.

2 · Flash the board

This browser cannot flash a board: Web Serial is Chrome, Edge or Opera on a desktop. Safari, Firefox and phones do not have it. Web Serial needs this page served over HTTPS (GitHub Pages is).

Plug the board in with a USB data cable, pick the serial port, and after flashing the dialog asks for the WiFi network: choose the one the display should join (2.4 GHz — the ESP8266 has no 5 GHz radio).

3 · Wire the panel

DisplayD1 mini
VCC3V3
GNDGND
RSTD1 · GPIO5
CSD6 · GPIO12
DCD2 · GPIO4
SDAD7 · GPIO13 (MOSI)
SCLD5 · GPIO14 (SCK)
Button (optional)D0 · GPIO16 ↔ 3V3

The optional button flips between the 7-day and the 5-hour window: a momentary contact between D0 / GPIO16 and 3V3, no resistor needed (that pin has an internal pull-down, so leaving it unwired is safe).

MISO is not connected: these panels are write-only. Long version with the panel geometry in docs/wiring.md.

Wiring diagram: D1 mini, GC9A01 panel and the optional button on D0 to 3V3

Two things that cost hours

Never put CS on D8 (GPIO15). It is a strapping pin: with the panel's pull-up holding it high the board does not boot and cannot even be flashed — the error looks like a broken cable (Timed out waiting for packet header). Use D6 / GPIO12.

A black screen is usually a solder joint, not the code. VCC and GND are the only pads carrying current: if the panel lights up only while you press a pad with a probe, resolder it. Symptoms and the colour test are covered by firmware-test/ in the repository.