Add ESP_ADF support and VAD option as per [1]
[1] jlpouffier/voice-assistant-esphome-tutorial
This commit is contained in:
parent
2cf593a91e
commit
3cb21f34d9
@ -285,6 +285,8 @@ interval:
|
|||||||
- logger.log: "voice assistant not running; restarting"
|
- logger.log: "voice assistant not running; restarting"
|
||||||
- voice_assistant.start_continuous:
|
- voice_assistant.start_continuous:
|
||||||
|
|
||||||
|
# Add optional microWakeWord support (on-device wake word)
|
||||||
|
# Doesn't work well as of 2024-07-04 so leave disabled
|
||||||
#micro_wake_word:
|
#micro_wake_word:
|
||||||
# model: hey_jarvis
|
# model: hey_jarvis
|
||||||
# on_wake_word_detected:
|
# on_wake_word_detected:
|
||||||
@ -292,12 +294,21 @@ interval:
|
|||||||
# - voice_assistant.start:
|
# - voice_assistant.start:
|
||||||
# wake_word: !lambda return wake_word;
|
# wake_word: !lambda return wake_word;
|
||||||
|
|
||||||
|
# Include the Espressif Audio Development Framework for VAD support
|
||||||
|
esp_adf:
|
||||||
|
external_components:
|
||||||
|
- source: github://pr#5230
|
||||||
|
components:
|
||||||
|
- esp_adf
|
||||||
|
refresh: 0s
|
||||||
|
|
||||||
voice_assistant:
|
voice_assistant:
|
||||||
microphone: mic
|
microphone: mic
|
||||||
use_wake_word: false
|
use_wake_word: false
|
||||||
noise_suppression_level: 4
|
noise_suppression_level: 4
|
||||||
auto_gain: 31dBFS
|
auto_gain: 31dBFS
|
||||||
volume_multiplier: 8.0
|
volume_multiplier: 8.0
|
||||||
|
vad_threshold: 3
|
||||||
id: assist
|
id: assist
|
||||||
on_error:
|
on_error:
|
||||||
- logger.log: "voice error"
|
- logger.log: "voice error"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user