Wio Terminal AI Token Dashboard - Wio Terminal (D51R) - rong - CodeCraft Hub
Scene: Smart Home. Edge AI application on CodeCraft Hub for Smart Home use cases.
Devices / BOM: Wio Terminal (D51R)
Smart Home application on CodeCraft Hub. This open-source BLE hardware dashboard tracks real-time Codex & Claude AI quota. It fetches official usage data from local logged-in accounts with zero token cost, computes daily API USD costs, and displays all stats on Wio Terminal. Local web preview is also available for quick data check.
Documentation
Claude / Codex AI quota visualization dashboard based on Wio Terminal, supporting BLE Bluetooth push, local web preview and usage cost statistics.
Deploy steps
- steps
✨ Core Features
Dual-platform Quota Monitoring: View 5h / 7d used percentage and reset time of Claude & Codex official quota
Automatic Account Sync: Fetch real quota data from local logged-in accounts; Codex adopts official API with zero token consumption
Token Usage Statistics: Count today & past 7 days token consumption via local session logs
Cost Conversion: Calculate daily calling cost in USD based on official API pricing
BLE Bluetooth Sync: Push data to Wio Terminal via BLE with low-power partial screen refresh
Local Web Preview: Check dashboard data via local browser page
⚙️ Working Principle Local
Code snippet included — open the application page to copy it.
🎯 Application Scenarios
Develop with Codex CLI / Claude Code, need real-time quota monitoring
Need persistent desktop usage reminder, avoid frequent web/terminal quota checking
Reuse existing Seeed Wio Terminal as a dedicated AI hardware dashboard
📋 Prerequisites
Hardware Seeed
Wio Terminal + USB-C Cable Software
Python 3.9+, PC Bluetooth Enabled Account Authorization
Codex: Complete local authorization via codex login
Claude (Optional): Logged in Claude Code locally
Special Configuration ~/.codex/config.toml must connect official serve…