Closed NathanLKing closed 4 months ago
if you put the speaker and mic on seperate i2s buses then it should eliminate this. Another option that may work is to connect the mics vcc to a GPIO and configure as a gpio switch, then have it switched off at boot and turn on after voice_assistant has started in an automation.
example config for 2 x i2s bus
i2s_audio:
- id: i2s_mic
i2s_lrclk_pin: GPIO25
i2s_bclk_pin: GPIO26
- id: i2s_spk
i2s_lrclk_pin: GPIO12
i2s_bclk_pin: GPIO27
microphone:
platform: i2s_audio
id: mic
adc_type: external
i2s_audio_id: i2s_mic
i2s_din_pin: GPIO34
pdm: false
speaker:
platform: i2s_audio
id: spk
dac_type: external
i2s_audio_id: i2s_spk
i2s_dout_pin: GPIO33
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
The problem
Every time the ESP32 voice is started the speaker, on full volume, has static sound. When you yell the wake word, it listens when you yell the command and the static stops.
Which version of ESPHome has the issue?
2023.12.9
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.1.5
What platform are you using?
ESP32
Board
esp32dev
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response