I have got the problem when I start voice_assistant.start_continuous I cant stream any sound to the media player. After detecting the wake word the sound that I wanted to play starts playing until I receive the message back from the voice assistant pipeline. The messages from music assistant to stream audio to it can be seen in the logs.
#Voice Assistant and media player
1 messages · Page 1 of 1 (latest)
if you're using micro wake word, then you shouldn't voice_assistant.start_continuous, you should simply micro_wake_word.start and then voice_assistant.start when micro_wake_word.on_wake_word_detected
if you're using open wake word, then you need to voice_assistant.stop before media_player.play_media
more of your config is needed for proper advice
The problem that i encounter is that when i want to use micro_wake_word.start you cannot use media player because it needs arduino framework
I'm on 2024.12.1 . How can i use this media player?https://github.com/esphome/home-assistant-voice-pe/blob/dev/esphome/components/media_player/media_player.cpp
Check the config for PE for working example https://github.com/esphome/home-assistant-voice-pe/blob/dev/home-assistant-voice.yaml