Open aviitzhaki opened 1 month ago
Hello, I had same issue, I fixed it by creating a media_player entity:
media_player:
- platform: i2s_audio
id: speaki2s
i2s_audio_id: i2s_out
name: ESPHome VA Media Player
dac_type: external
i2s_dout_pin: GPIO16
mode: mono
on_pause:
- media_player.stop
Then in voice assistant, I do not define a speaker. But I tell him to use the media player with the URL given of the audio file
voice_assistant:
id: va
microphone: mici2s
use_wake_word: true
noise_suppression_level: 4
auto_gain: 31dBFS
volume_multiplier: 8.0
on_tts_end:
- media_player.play_media:
id: speaki2s
media_url: !lambda 'return x;'
Thanks
media_player entity needs arduino platform micro_wake_word needs esp-idf platform
How can I resolve this?
I use push to talk :/ Maybe try with speaker if it also works
Le jeu. 12 sept. 2024, 00:06, aviitzhaki @.***> a écrit :
Thanks
media_player entity needs arduino platform micro_wake_word needs esp-idf platform
How can I resolve this?
— Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/6231#issuecomment-2344784415, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDRDSQKCSXQS6YM35WBZGDZWC5ERAVCNFSM6AAAAABN2GVQQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUG44DINBRGU . You are receiving this because you commented.Message ID: @.***>
Thank you @Coldness00
the issue was related to network setting
The solution:
The problem
I am using esp32-s3-devkitc-1 connected to INMP441 Microphone and MAX98357A Audio Amplifier. I am using the esp-idf to implement voice assistant with micro wake word. Th emicrophone is workinf fine (responding to the wake word... see example. I have no sound on the speaker. I checked the I2S signals and see the LRCLK and BCLK but no data, I also see on the log file that there is an issue with the speaker task. I have audio pipeline set correctly.
Did someone encountered an issue with the speaker?
Which version of ESPHome has the issue?
ESPHome 2024.8.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.9.1
What platform are you using?
ESP32-IDF
Board
esp32-s3-devkitc-1
Component causing the issue
I2S speaker
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response