• wenil released this 2026-07-22 21:31:54 +03:00 | -30 commits to main since this release

    The v3 build — the monitor now tracks usage for three AI providers and re-themes itself to each brand. Switch the active provider from the watch or the desktop panel. Works on every supported board — the square ESP32-S3-Touch-AMOLED-2.16 (the original), the 2.06 watch, the 1.8, and the C6 2.16.

    What's new since v2.0-beta.2

    • Multi-provider usage — track your rate-limit % (5 h + weekly windows) for Claude Code, OpenAI Codex, and z.ai (GLM Coding Plan), not just Claude.
    • Switch providers anywhere — a new Provider screen on the watch (tap Switch) and a Providers tab in the desktop panel. The UI re-themes to the active brand live (Claude clay, Codex green, z.ai blue).
    • No extra setup for Codex — reads your local Codex install (~/.codex) directly: a live usage endpoint with a local-snapshot fallback. No key needed.
    • z.ai via a pasted key — enable z.ai in the Providers tab and paste your GLM Coding Plan API key; usage comes from z.ai's quota endpoint (a status call — it doesn't spend your prompt quota).
    • Config auto-migrates — your v2 settings carry over untouched.
    • Everything from v2 is still here (Home Assistant control, tilt-dimmer, battery screen, Now Playing, the desktop settings panel).

    Windows app — download & run (no Python required)

    1. Pair the watch once: Settings → Bluetooth & devices → Add device → "Clawdmeter".
    2. Sign in to Gitea, then download Clawdmeter.exe — direct link (use this, not the asset button, which may send you to an internal address):
      https://gitea.bvrdo.online/wenil/clawdmeter/releases/download/v3.0-beta.1/Clawdmeter.exe
    3. Double-click it. A tray icon appears; the watch updates within ~10 s. Left-click the icon → Settings opens the panel — the new Providers tab is where you enable Codex / z.ai and choose which one shows on the watch.
    4. Right-click → Start at login to launch it automatically.

    Everything is bundled (its own Python, the WinRT BLE stack, the media reader, the WebView2 panel) — no install, no pip. Logs to %LOCALAPPDATA%\Clawdmeter\daemon.log.

    Unsigned build — Windows SmartScreen may warn on first run ("More info → Run anyway"). Code-signing is planned.

    Firmware — build & flash for your board

    The .exe above is the same for every board; build the watch firmware for your specific board. With PlatformIO installed:

    git clone -b v3-dev https://gitea.bvrdo.online/wenil/clawdmeter.git
    cd clawdmeter
    # square 2.16 (original):   pio run -d firmware -e waveshare_amoled_216   -t upload --upload-port COM5
    # 2.06 watch:               pio run -d firmware -e waveshare_amoled_206   -t upload --upload-port COM5
    # 1.8:                      pio run -d firmware -e waveshare_amoled_18     -t upload --upload-port COM5
    # C6 2.16:                  pio run -d firmware -e waveshare_amoled_216_c6 -t upload --upload-port COM5
    

    Use your device's COM port. On Windows, set $env:PYTHONIOENCODING="utf-8" first (avoids a cp1251 console hang mid-flash). Full guide: README.md · porting notes in docs/porting/.

    The v3 firmware is verified on the 2.06 watch; on the square 2.16 it compiles cleanly but hasn't been run on hardware yet — you're the first. If anything looks off, the screenshot serial command dumps the framebuffer.

    Integrity

    SHA-256 342d8f2c4c918e1ad45cd2db5e3402e5abfda9122bda407787aa420e66edbdc3 Clawdmeter.exe (30,948,125 bytes)

    Built on branch v3-dev (d1cc467). A development beta.

    Downloads
  • wenil released this 2026-07-09 20:23:34 +03:00 | -20 commits to main since this release

    The v2 build for Windows 11 — a standalone tray app that drives your Waveshare AMOLED watch with Claude usage, live "Now Playing", Home Assistant control, and a settings panel. Works on every supported board — the square ESP32-S3-Touch-AMOLED-2.16 (the original), the 2.06 watch, the 1.8, and the C6 2.16.

    Windows app — download & run (no Python required)

    1. Pair the watch once: Settings → Bluetooth & devices → Add device → "Clawdmeter".
    2. Sign in to Gitea, then download Clawdmeter.exe — direct link (use this, not the asset button, which may send you to an internal address):
      https://gitea.bvrdo.online/wenil/clawdmeter/releases/download/v2.0-beta.2/Clawdmeter.exe
    3. Double-click it. A tray icon appears; the watch updates within ~10 s. Left-click the icon → Settings opens the panel (Home Assistant URL/token/entities, custom buttons).
    4. Right-click → Start at login to launch it automatically.

    Everything is bundled (its own Python, the WinRT BLE stack, the media reader, the WebView2 settings panel) — no install, no pip. Logs to %LOCALAPPDATA%\Clawdmeter\daemon.log.

    Unsigned build — Windows SmartScreen may warn on first run ("More info → Run anyway"). Code-signing is planned.

    Firmware — build & flash for your board

    The .exe above is the same for every board; the watch firmware you build for your specific board. With PlatformIO installed, from the repo:

    # square 2.16 (original):   pio run -d firmware -e waveshare_amoled_216   -t upload --upload-port COM5
    # 2.06 watch:               pio run -d firmware -e waveshare_amoled_206   -t upload --upload-port COM5
    # 1.8:                      pio run -d firmware -e waveshare_amoled_18     -t upload --upload-port COM5
    # C6 2.16:                  pio run -d firmware -e waveshare_amoled_216_c6 -t upload --upload-port COM5
    

    Use your device's COM port. On Windows, set $env:PYTHONIOENCODING="utf-8" first (avoids a cp1251 console hang mid-flash). Full guide: README.md · porting notes in docs/porting/.

    What's new since beta 1

    • App launcher on the watch — tap the Claude logo for a grid of apps: Usage, Session tokens, Now Playing, Soundpad, Home, Dimmer, Bluetooth, Battery.
    • Home Assistant control — the watch stays "dumb"; the desktop app holds your HA URL/token and maps watch taps to service calls. Configure custom Home buttons (label → action/entity) in the Settings panel; they appear on the watch automatically.
    • Tilt-dimmer — an IMU joystick screen: hold BOOT and tilt your wrist to ramp a light's brightness or color temperature; PWR switches the parameter. (The tilt axis is calibrated per board — flip DIM_CALIB in ui.cpp to see the live read-out.)
    • Battery screen + protective cutoff — tap the battery icon for voltage and a time-left estimate; the watch powers itself off safely at a low-voltage floor.
    • Unified desktop app — tray + daemon + a brand-styled WebView2 settings panel (Home Assistant setup with a live "Test", entity picker, button editor), all in one Clawdmeter.exe.
    • Soundpad — six pads send HID F13–F18 for host-side sound triggers.

    Integrity

    SHA-256 0cc5a63b0ed3f182bf50d199747c234d126080a13d78ba5c2b9db45bfc756c3d Clawdmeter.exe (30,925,605 bytes)

    Built on branch v2-dev. A development beta — the daemon web UI and the final v2.0 are still to come.

    Downloads
  • wenil released this 2026-06-21 14:51:50 +03:00 | -15 commits to main since this release

    First v2 build for Windows 11 — a standalone tray app that drives the Waveshare AMOLED-2.06 watch with your Claude usage and live "Now Playing".

    Download & run — no Python required

    1. Pair the watch once: Settings → Bluetooth & devices → Add device → "Claude Controller".
    2. Sign in to Gitea, then download Clawdmeter.exe — direct link (works even if the asset button below sends you to an internal address):
      https://gitea.bvrdo.online/wenil/clawdmeter/releases/download/v2.0-beta.1/Clawdmeter.exe
    3. Double-click it. A tray icon appears; the watch updates within ~10 s.
    4. Right-click the tray icon → Start at login to launch it automatically every logon.

    Everything is bundled (its own Python, the WinRT BLE stack, the media-session reader) — no install, no pip. No console window; it logs to %LOCALAPPDATA%\Clawdmeter\daemon.log. Full guide: daemon/README-windows.md.

    Unsigned build — Windows SmartScreen may warn on first run ("More info → Run anyway"). Code-signing is planned.

    What's new in v2 (so far)

    • Now Playing on the watch — title / artist / play-pause, read live from the Windows media session.
    • Real-time music, calm API — the media session is polled every 3 s and pushed the instant a track or play/pause changes, while the Claude usage API stays at once per minute.
    • Robust long titles — fixed a BLE write that overflowed on long / Cyrillic titles (reliable long-write + native UTF-8).
    • Standalone .exe — runs on any Windows 11 machine, no Python.
    • Autonomous OAuth token refresh — no manual re-login when the token expires.
    • Session-vs-API usage split, token-count/pricing fixes, and BLE adapter-removal resilience (Phase 4).

    Integrity

    SHA-256 a46b6caa41cd5407b73bb0b947e0832fb32148f6312af73bfdd2c3e209b259fc Clawdmeter.exe

    Built from ec8322f on branch v2-dev. Watch firmware: build/flash env waveshare_amoled_206 under firmware/. This is a development beta — Home Assistant, a daemon web UI, and the final v2.0 are still to come.

    Downloads