feat: add --listen-during-wake-sound argument (#273)

* feat: add --listen-during-wake-sound argument

---------

Co-authored-by: Florian Asche <github@florian-asche.de>
This commit is contained in:
Willian WangandFlorian Asche authored and GitHub committed 2026-07-18 19:16:11 +02:00
1 parent 9b2a8b4b30
commit a66c0e4f28
7 files changed
+48 -5

No files matched your search

+2 -2
View File
@@ -76,10 +76,9 @@ For all other users, we have different installation methods available (Docker, s
```sh
usage: __main__.py [-h] [--name NAME] [--audio-input-device AUDIO_INPUT_DEVICE] [--list-input-devices] [--audio-input-block-size AUDIO_INPUT_BLOCK_SIZE] [--audio-output-device AUDIO_OUTPUT_DEVICE] [--list-output-devices] [--wake-word-dir WAKE_WORD_DIR] [--mic-auto-gain] [--mic-noise-suppression]
[--wake-model WAKE_MODEL] [--stop-model STOP_MODEL] [--download-dir DOWNLOAD_DIR] [--refractory-seconds REFRACTORY_SECONDS] [--wakeup-sound WAKEUP_SOUND] [--timer-finished-sound TIMER_FINISHED_SOUND] [--processing-sound PROCESSING_SOUND]
[--mute-sound MUTE_SOUND] [--unmute-sound UNMUTE_SOUND] [--preferences-file PREFERENCES_FILE] [--host HOST] [--network-interface NETWORK_INTERFACE] [--port PORT] [--enable-thinking-sound] [--debug]
[--mute-sound MUTE_SOUND] [--unmute-sound UNMUTE_SOUND] [--preferences-file PREFERENCES_FILE] [--host HOST] [--network-interface NETWORK_INTERFACE] [--port PORT] [--enable-thinking-sound] [--listen-during-wake-sound] [--debug]
```
| Parameter | Description | Default |
| ------------------------------- | ------------------------------------------------------------- | ------------------------------------ |
| `--name` | Name of the voice assistant device (required) | Autogenerated (`lva-MAC-ADDRESS`) |
@@ -108,6 +107,7 @@ usage: __main__.py [-h] [--name NAME] [--audio-input-device AUDIO_INPUT_DEVICE]
| `--network-interface` | Network interface for ESPHome server | Autodetected |
| `--port` | Port for ESPHome server | 6053 |
| `--enable-thinking-sound` | Enable thinking sound on startup | False |
| `--listen-during-wake-sound` | Start listening while the wake sound is still playing | False |
| `--peripheral-host` | Bind address for the peripheral WebSocket API | 0.0.0.0 |
| `--peripheral-port` | Port for the peripheral WebSocket API | 6055 |
| `--peripheral-volume-step` | Volume change per button press, 0.0–1.0 | %(default)s |