micagain
This commit is contained in:
@@ -17,7 +17,7 @@ i2s_audio:
|
|||||||
|
|
||||||
microphone:
|
microphone:
|
||||||
- platform: i2s_audio
|
- platform: i2s_audio
|
||||||
id: echo_microphone
|
id: mic_id
|
||||||
adc_type: external
|
adc_type: external
|
||||||
i2s_audio_id: i2s_in
|
i2s_audio_id: i2s_in
|
||||||
i2s_din_pin: ${SD} #SD
|
i2s_din_pin: ${SD} #SD
|
||||||
@@ -30,7 +30,7 @@ microphone:
|
|||||||
voice_assistant:
|
voice_assistant:
|
||||||
id: va
|
id: va
|
||||||
microphone:
|
microphone:
|
||||||
microphone: echo_microphone
|
microphone: mic_id
|
||||||
channels: 0
|
channels: 0
|
||||||
gain_factor: 4
|
gain_factor: 4
|
||||||
noise_suppression_level: 2
|
noise_suppression_level: 2
|
||||||
@@ -201,8 +201,8 @@ switch:
|
|||||||
restore_mode: RESTORE_DEFAULT_OFF
|
restore_mode: RESTORE_DEFAULT_OFF
|
||||||
#entity_category: config
|
#entity_category: config
|
||||||
on_turn_on:
|
on_turn_on:
|
||||||
- microphone.mute: echo_microphone
|
- microphone.mute: mic_id
|
||||||
#- script.execute: stop_wake_word
|
#- script.execute: stop_wake_word
|
||||||
on_turn_off:
|
on_turn_off:
|
||||||
- microphone.unmute: echo_microphone
|
- microphone.unmute: mic_id
|
||||||
#- script.execute: listening_timeout
|
#- script.execute: listening_timeout
|
||||||
|
|||||||
Reference in New Issue
Block a user