mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add more configuration for microphones - i2s/pdm/adc (#4775)
This commit is contained in:
@@ -700,8 +700,15 @@ prometheus:
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: mic_id
|
||||
id: mic_id_adc
|
||||
adc_pin: GPIO35
|
||||
adc_type: internal
|
||||
|
||||
- platform: i2s_audio
|
||||
id: mic_id_external
|
||||
i2s_din_pin: GPIO23
|
||||
adc_type: external
|
||||
pdm: false
|
||||
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
@@ -712,7 +719,7 @@ speaker:
|
||||
|
||||
|
||||
voice_assistant:
|
||||
microphone: mic_id
|
||||
microphone: mic_id_external
|
||||
on_start:
|
||||
- logger.log: "Voice assistant started"
|
||||
on_stt_end:
|
||||
|
Reference in New Issue
Block a user