Add dummy TTS speaker
This commit is contained in:
@@ -369,6 +369,12 @@ i2s_audio:
|
|||||||
number: GPIO17 # WS
|
number: GPIO17 # WS
|
||||||
i2s_bclk_pin:
|
i2s_bclk_pin:
|
||||||
number: GPIO16 # SCK
|
number: GPIO16 # SCK
|
||||||
|
# DUMMY: See `speaker:` below.
|
||||||
|
- id: i2s_output
|
||||||
|
i2s_lrclk_pin:
|
||||||
|
number: GPIO12
|
||||||
|
i2s_bclk_pin:
|
||||||
|
number: GPIO13
|
||||||
|
|
||||||
microphone:
|
microphone:
|
||||||
- platform: i2s_audio
|
- platform: i2s_audio
|
||||||
@@ -379,6 +385,17 @@ microphone:
|
|||||||
pdm: false
|
pdm: false
|
||||||
channel: left
|
channel: left
|
||||||
|
|
||||||
|
speaker:
|
||||||
|
# DUMMY: The SuperSensor has no speaker attached to GPIO32/GPIO12/GPIO13
|
||||||
|
# This is needed to work around home-assistant/core#142363 and the inability
|
||||||
|
# of an Assist pipeline to work properly with no STT configured (issue unknown)
|
||||||
|
# So instead we just have a speaker to nowhere. Stupid but should work.
|
||||||
|
- platform: i2s_audio
|
||||||
|
id: spkr
|
||||||
|
i2s_audio_id: i2s_output
|
||||||
|
dac_type: external
|
||||||
|
i2s_dout_pin: GPIO33
|
||||||
|
|
||||||
micro_wake_word:
|
micro_wake_word:
|
||||||
id: mww
|
id: mww
|
||||||
microphone:
|
microphone:
|
||||||
@@ -410,6 +427,7 @@ micro_wake_word:
|
|||||||
voice_assistant:
|
voice_assistant:
|
||||||
id: va
|
id: va
|
||||||
microphone: mic
|
microphone: mic
|
||||||
|
speaker: spkr
|
||||||
micro_wake_word: mww
|
micro_wake_word: mww
|
||||||
use_wake_word: false
|
use_wake_word: false
|
||||||
noise_suppression_level: 3
|
noise_suppression_level: 3
|
||||||
|
Reference in New Issue
Block a user