Files
tactility_apps/Apps/LiveCaptions/README.md
T
2026-08-21 22:41:01 -04:00

18 lines
781 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Live Captions
ESP32-S3 external app that streams 16 kHz signed-16-bit mono microphone PCM to the Mac mini Hermes voice gateway and renders its live draft/final captions. It stores **only final captions** on the device SD card in `/sdcard/captions/YYYY-MM-DD.txt`.
## Configuration
Before packaging, place `config.json` in the app's user-data directory (not source control):
```json
{
"server_url": "ws://192.168.68.102:8642/api/esp32/voice/ws",
"device_id": "your-registered-device-id",
"api_key": "device-profile-key"
}
```
The app never retries automatically: connection failure remains `FAILED` until the user selects **Start** again. **Stop** sends the gateway `stop` event, waits for the final caption, appends it to that day’s text file, then returns to idle.