An M5Stack round screen gives Grok Bot a voice avatar with partial hardware tests
Author's claim, unverifiedRead first
Overview
For builders who want Grok Bot on desk hardware, the author paired a Mac mini bot called 「伝書鳩」 with an M5Stack StopWatch C152. The device provides a round animated avatar and Japanese voice input and output. The bot handles conversation, memory, Skills, and tasks.
Workflow
- What it is: An open-source project making the M5Stack StopWatch C152 the face, ears, mouth, and touchscreen of the author's 「伝書鳩」 Grok Bot. The round screen animates an avatar and the device handles Japanese voice input and output. 「伝書鳩」 does conversation, memory, Skills, and tasks. Device ⇄ LAN WebSocket ⇄ Mac mini gateway (authentication, speech recognition, and synthesis) ⇄ webhook / gbot_cli / mock bridge ⇄ Grok Bot. The README reports Phase 3–4 with builds and mocks only, without hardware verification.
- Grok Bot parts used: An existing 「伝書鳩」 bot and webhook trigger. The repo does not ship the bot. The default bridge wakes 「伝書鳩」 via a webhook Routine. The README bases webhook and email triggers on feature descriptions, with official docs URL and tests unconfirmed. Replies use a separate path: the gateway receives them at /v1/reply with HMAC verification and request_id state, with v1 in
docs/BRIDGE_WEBHOOK.md. Not part of Grok Bot: ESP-IDF firmware, whisper.cpp recognition, macOS say synthesis, the HMAC gateway, launchd/Keychain deployment scripts, and optional unofficial third-party gbot_cli adapter. It depends on the Grok Bot app session, ships separately, defaults off, and carries compatibility and credential handling risks per the author. - You need: A StopWatch C152, a Mac for the gateway, and keys. Use a Wi-Fi-capable M5Stack StopWatch C152, a macOS gateway host (
deploy/macos/has launchd plist, Keychain scripts, and Tailscale docs), ESP-IDF v5.5.4 with pinned M5Unified 0.2.17 / M5GFX 0.2.30 for firmware, whisper.cpp or a mock, macOS say, a Grok Bot with webhook Routine, and a /v1/reply HMAC signing key (sample inconfig/.env.example). Whether a paid plan is required is not stated in the source. - Install: Follow three sets of repo docs, which were not read in full. The README gives links to docs/ that were not fetched, so the summary uses the README and file list.
- Step 1: Follow
docs/SETUP.mdfor gateway and bridge setup. 「伝書鳩」 integration is indocs/BRIDGE_WEBHOOK.md. - Step 2: Follow flashing and recovery in
docs/FLASHING.mdand use ESP-IDF to build and flashfirmware/. - Step 3: Use
deploy/macos/and itsinstall.shto install the gateway as a launchd service. Usekeychain-add.shfor keys.
The author says hardware flashing (Phase 5) waits for owner approval.
- After install: Touch and speech wake the bot, and Japanese speech and animation come back to the device.
- Tap, drag, long press, or speak on the device. Audio goes over LAN WebSocket to the Mac mini gateway.
- The gateway recognizes speech with whisper.cpp or a mock, then wakes 「伝書鳩」 through the bridge (default webhook).
- Replies come back through /v1/reply with HMAC and request_id state, then say synthesizes playback on the device.
- The avatar blinks, looks around, drifts, and gestures. Face size tracks volume, added in PR #2.
- The device reconnects automatically. Logs omit SSID, passwords, addresses, and tokens.
- Did the author run it: Builds, automated tests, and mock integration ran. Hardware reached startup and inaudible TTS, with no full hardware run recorded. PR #1 (author's claim, not reproduced): On the Linux development host, 57/57 host tests including ASan/UBSan, 119/119 pytest (Python 3.11/3.13, gateway 75, bridge 24, e2e 14, repo 6), idf.py build success (app 1,195,744 B / factory 4 MB), and passing gitleaks and PII checks. Actual display, touch, recording, playback, Wi-Fi recovery, webhook, 「伝書鳩」, whisper.cpp, say, Keychain, and Mac mini were unverified (see
docs/TEST_REPORT.md). PR #2 adds that hardware reached TTS playback without audible sound at about −42 dB default volume. The volume fix was not verified on hardware. After fixing a net task stack overflow, d76cad5 ran on hardware at 04:00 JST on 2026-11-22 without stack overflow, panic, or restart. The PR text cuts off there.
Key points and results
- Maturity: At fetch on 2026-11-22, one day old (created 2026-11-21), 19 commits, zero stars and forks, MIT. The README calls it Phase 3–4 implementation with only builds and mocks and no hardware verification.
- Permissions and boundaries: No private API calls or Grok Bot app session extraction. The default uses only the webhook Routine from official feature descriptions. The unofficial gbot_cli needs an app session, ships separately, and defaults off. Native voice (internal RPC) is unimplemented. /v1/reply verifies HMAC and tracks request_id. Logs omit SSID, passwords, addresses, and tokens. Deployment uses Keychain, and CI runs gitleaks and PII checks.
- Known limits: Webhook and email triggers come from Grok Bot feature descriptions with no confirmed official URL or tests. Hardware only reached startup and TTS. Volume, button, and display changes remain unverified on hardware. Volume is not written to NVS yet. Released firmware with Emotion Ball data carries noncommercial conditions, and future BSL-1.0 files would make licensing mixed.
- Worth borrowing: Separate wake and reply. The webhook only wakes the bot, and a separate HMAC and request_id endpoint matches replies to state (
docs/BRIDGE_WEBHOOK.md,gateway/src/grokwatch_gateway/reply_server.py). - Worth borrowing: Default to official capabilities and make the third-party session CLI explicitly optional, separately installed, and documented with risks (README section on private APIs).
- Worth borrowing:
scripts/check_stack_frames.pyestimates worst-case task stack depth from the ELF call graph in CI to prevent hardware stack overflow (PR #2).
Source
- Platform
- GitHub
- Author
- ChihiroNishioka
- Published
- Categories
- Life assistant, Getting started
What this evidence label means
Author's claim, unverified
The method and results come from the author's own account. This site has not reproduced them.