Firmware: add "idle" system command handler in application.cc
Server: antaf.py sets should_idle on connection error
connection.py checks should_idle, sets send_idle_after_tts
sendAudioHandle.py sends {"type":"system","command":"idle"}
after TTS playback completes
Flow: antaf bridge unavailable → play error message → tts stop →
send system idle → ESP32 returns to wake-word detection
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| api | ||
| handle | ||
| providers | ||
| utils | ||
| auth.py | ||
| connection.py | ||
| http_server.py | ||
| websocket_server.py | ||