#esp32 diy voice assistant + media player for Music Assistant?
1 messages ยท Page 1 of 1 (latest)
Do you have it as actual media player in HA?
By default (with current default ESP audio components) it's speaker, not media_player, since there's no media_player implementation for esp_idf framework.
So do you use Gnumpi's esp-adf components?
Hi Brother, thanks a lot for your response - much apprecaited ๐
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
That's pretty weird - I have the players added to MA via HA players provider - they work good..
I assume you added Home Assistant MediaPlayers in the Music Assistant Player providers settings.
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.
Nice, but how it corresponds to the topic?
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.
Also, I am trying to play my own tts on the VLC but still not working: https://discordapp.com/channels/330944238910963714/1298289914944688158
Do you have any solutions for this?
Create separate thread about it, don't spoil other's topics ๐
I personally don't use VLC.
So, let's disscuss there: https://discordapp.com/channels/330944238910963714/1298289914944688158
yes Mike, have done it already
Here's the yaml file:
@timber moat - you were the one who also answered my question here: https://github.com/gnumpi/esphome_audio/issues/68
thanks ๐
still wondering if I can stream Music Assistant to it
So what exactly current situation is? You have media_player in HA, and added it to MA via HA provider, right? You can choose it in players list, and start playback to it. What happens next? Plus ESP logs would be helpful.
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)
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.
Basically, check that you have not just HA plugin (with token) configured, but also add HA Player Provider, and in its config tick the checkboxes on desired media players. Then they will be added to the players list.