#esp32 diy voice assistant + media player for Music Assistant?

1 messages ยท Page 1 of 1 (latest)

whole sinew
#

Hi Everyone, hope someone can help me - I have a esp32 diy voice assistant, was wondering if I can also make it as a media player for my music assistant?
It can play mp3 files from media files, but I cant seem to find it on my music assistant as a speaker, can someone please help me?

timber moat
whole sinew
#

Yes, I am using Gnumpi's esp-adf components - I can play mp3 music from default media, but cannot stream Music Assistant as a default player

timber moat
split night
#

I assume you added Home Assistant MediaPlayers in the Music Assistant Player providers settings.

quick light
#

I have implemented this method on my machine that runs home assistant, using a microphone connected and VLC telnet container, to play audio from the built-in-speaker. But, for the ESP32 this is the next step I am thinking of.

timber moat
quick light
#

I actually thought of sharing this idea in the community forum... I 've set up automations that handle between them like when the satellite on the sever is triggered then pause the VLC for couple of seconds until the conversation finishes then play.

#

But, still trying to improve it

#

Like making it more accurate, to detect that piper is still playing and when it finishes speaking, the VLC resumes.

quick light
timber moat
whole sinew
#

Here's the yaml file:

whole sinew
#

thanks ๐Ÿ™‚

#

still wondering if I can stream Music Assistant to it

timber moat
whole sinew
#

Hi @timber moat - Thanks a lot for sharing your time and knowledge, super appreciate it ๐Ÿ™‚

#

Well, I can play mp3 music format from the local media at HA, but on MA the ADF Media player is not showing (even though I have already added the HA plugin fro MA)

split night
#

Sometimes I have had to unselect it in the MA player entities list in the MA Home Assistant MediaPlayer settings; restart MA addon and then add the entity again to see it listed in the MA players list.

timber moat