#Voice Assistant and media player

1 messages · Page 1 of 1 (latest)

dull laurel
#

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.

mortal pebble
#

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

dull laurel
#

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

mortal pebble
#

oh, ok. you will need to use the ESP-IDF framework, but a non-standard media_player component such as this one or this one

however, it might work out of the box in newer ESPHome versions. what version are you on?

dull laurel
floral breach