HeyClawy is a voice-first ESP32 companion for OpenClaw.
You talk to the device, it sends your request to OpenClaw in real time, and speaks the response back.
- Voice commands feel natural: press once (or use wake word), speak, get a spoken response.
- Wake word support is built in (default WakeNet model is
Hey Jarvis). - Real-time OpenClaw integration over WebSocket:
- chat responses
- live task updates
- cron notifications
- status and activity data
- Works with both display devices and a screenless audio board.
- Built-in local web settings page for quick tuning without reflashing every time.
- Windows (batch scripts included), Linux, or macOS
- ESP-IDF
v5.5+(use vscode esp-idf extension) - USB cable for flashing
- One of the supported devices (SenseCAP Watcher, M5StickCPlus2, Waveshare Audio Board)
- OpenClaw gateway running and reachable (
ws://<host>:18789) - STT service (faster-whisper HTTP endpoint, default port
5051) - TTS service (OpenAI-compatible EdgeTTS endpoint, default port
5050)
Run:
docker run -d --name openclaw-edgetts --restart unless-stopped -p 5050:5050 travisvn/openai-edge-ttsQuick test:
curl -X POST "http://127.0.0.1:5050/v1/audio/speech" \
-H "Content-Type: application/json" \
-d "{\"model\":\"tts-1\",\"voice\":\"alloy\",\"input\":\"Hello from HeyClawy\"}" \
--output hello.mp3If hello.mp3 is created, TTS is ready.
From project root:
build_sensecap.batbuild_m5stick.batbuild_audio_board.batThen flash:
set ESPPORT=COM3
idf.py flash monitorReplace COM3 with your actual serial port.
- Copy
secrets_example.txttosecrets.txt - Copy
main/include/secrets.h.exampletomain/include/secrets.h
At minimum:
- WiFi SSID/password
- OpenClaw host/port/token
- Device key (
SECRETS_DEVICE_KEY_HEX) - TTS host/port/api key/voice
- STT host/port
python tools/test_openclaw_auth.pyUse the printed private key hex in main/include/secrets.h, then approve the device in OpenClaw.
After boot, you can update settings from the device web UI (audio, thresholds, behavior, services, etc.).
- This project is under active development. Expect rough edges.
- Keep all secrets local.
secrets.txtandmain/include/secrets.hmust never be committed. - Wake word quality depends on mic conditions and background noise.
- M5StickC Plus2 uses a passive buzzer, so voice playback quality is lower than codec-based boards.
- You are responsible for securing your OpenClaw and LAN environment.