I’ve moved over to WallPane from Fully Kiosk as I found that too slow when rendering graphs.
I’m trying to use the audio command and not hearing anything.
I have an audio file on a network drive with the path
192.168.x.y/Public/Media/hourlychimebeg.mp3
When I type this in Chrome it plays the clip.
When I use HA Developer Tool/Actions to send the URL as part of an audio command to Wallpanel, I get nothing. No indication of an error in HA nor the panel itself.
The Topic is
Trying to find an answer to this question I found this topic. For me it is working this way. I put the audio file on the folder www. Then, the payload must contain the word “local” as it is the reference for that folder. Example:
{“audio”:“http://(your ip)/local/beep_pending.wav”}
Actually, I use https but I think the http version should work:{“audio”:“https://(yourduckdns).duckdns.org/local/beep_pending.wav”}
I hope this will help you or another people with the same question.
I tried it exactly as you suggested - putting the file in the www folder and using local. I even converted the MP3 to a WAV file just in case. But still no joy. I tried all the permutations of file:// http:// and https:// as well as the local IP address and the duckdns address, but nothing came through.
I’m seeing the command come through on MQTT Explorere and when I change the payload to {“speak”:“hello”} it works. I don’t see anything on the wallpanel screen, nor can I find any logs within it that might help me solve the problem. So still stuck, I’m afraid.
I have made some tests with Google Chrome. For the local access you need to add the HA port, try again:
http://(your ip):(port)/local/beep_pending.wav
I would suggest you to try these urls on your PC browser directly and you will see if the browser reproduce your audio file or not. In my case they are working both http and https. Note that, not all sounds are reproducible. If there is any error maybe you have a permission or an access problem and your files are not reachable from external devices.
Let me know, let’s see we can find the solution… is not easy.
It also works with mp3 files and if I put the files in a sub directory to www.
Using the local IP address does not work! Nor does http://.
And, I still cannot get WallPanel to play if I point it to my separate NAS (an old Western Digital device) although Chrome plays it fine. Not a problem now though as I have at least found a method that works.
The use case for this project was to get a Big Ben chime on the hour. It worked fine with Fully Kiosk but when I switched to WallPanel I lost it (and missed it).