I think you need to name the file /local/mp3/your_file.mp3. You need to create a folder called www in the root of HA, and place the files there, that is where the local folder looks for things such as mp3âs and JPGâs.
Let me know if that works for you as Iâm looking at doing something similar myself.
Hi Iâm also trying to do this. My daughter has sleep music to go to sleep , so I would like to say ok Google âGoodnightâ then play a local or hosted MP3.
Under Delveloper services this is working But how do I get a button and google to turn it on?
Everything placed in the www folder (which is adressed as âlocalâ) is exposed by the HA webserver, both internally and externally, so use that folder with caution.
I created the www folder within the config folder but I still cannot access the files inside that folder using the url http://my-local-ip:8123/local/audio.mp3, I may be doing something wrong but I donât know what.
I just uploaded it to the www folder within the config folder. Canât remember if it was there or I created it. I connected to the config folder via the samba share add-on. Hope that helps.
Sorry to open up, but what is the exact path to store your mp3? I still canât get to get it to work.
I am using a VM on my raspberry pi and tried already make a map âwwwâ
into the svr/homeassistent path but i can seem to get it to work.
I also red somewhere the config path i tired but i seem to fail