Hello community, I search a lot here in the forum but didn’t find anything. I would like to play a local mp3 file from my Raspbian HA 0.67 to Google Home Device. This is the code I used:
I don’t use the duckdns service as I keep all my stuff local. Try changing the url you’re using to be your local IP and not HTTPS. I also don’t see your port number are you answering on 443 or 80 and using a proxy?
Most probably HA needs to restart not only to read the new configuration but also to read the mp3 into the www directory. My mp3 is under /home/homeassistant/.homeassistant/www directory and I need to create www one and assign permission and owner both to www and mp3 file (homeassistant as group and user with permission 755).
Something has changed since 0.109- before my doorbell played its mp3 at full length, now it simply plays GA “dong” and a fraction of original .mp3 and then something like GA cancel “ding”?
Automation action was never changed for 3 years…
Something like that:
entity_id: media_player.my_GA
media_content_id: 'http:/my_ip:8123/local/media/doorbell_chime.mp3'
media_content_type: music
Sorry guys- figured it out: I use a Raspberry PI4 based android dashboard which uses the same Google Mini for sound output via BT- and action notifies it too- so this cancels GA playback Rewriting now…