So, Asr didn’t play when the radio was not playing on the speaker.
when it worked for Dohr, the radio was playing. My non expert explanation is I reckon there are 2 possible reasons:
the player was “duplicated” yesterday when I installed Music Assistant to listen to web radio, then I added this duplicated player in the list of media players for Athan. It could be that this “second” duplicated player was recognised
or 2. I noticed that the player (and its music assistant duplicate), in the main dashboard is showing as off (grey), but maybe it should be showing in blue (on). When I push the on button, I hear a chime on the player (google assistant). I will leave it on, without playing anything on it, but I think it automatically goes off, and it will definitely go off next time something stops playing. I thought the automation would turn it on anyway.
In any case thanks for the help. I think for this one I don’t have the skills to sort it, so if it doesn’t work that will be it unfortunately.
I’m attaching the set-up screen. note that the 2 players are the same, but one seems created by music assistant.
I have been using this for a couple year now. It’s been working great. Recently I moved to a new place. I only have one smart speaker and no other device to add under media to pause (which aparantly is mandatory).
Are you able to help me with a template which does not require media player to wait for? Or is there a way I can edit to remove this logic?
Thanks brother. I made those changes. Now I notice this is not getting triggered. I see the Islamic Prayer Times sensors are working and correct prayer times are displayed on the dashboard. When I checked the traces for the Adhan integration, I don’t see any activities.
its failing because it is unable pause the media player. probably because its empty even though it should still ignore the error and continue forward. I will take a look and update you. if you can, can you try selecting a media player to pause.
Thanks for looking into this. It started working again yesterday.
I did notice that sometimes the speaker chimes but the Adhan doesn’t play. I assume this might be due to buffering or network congestion when multiple devices are trying to access the MP3 file from GitHub.
Would you recommend using an alternative source for the Adhan MP3?
Interesting, so the blueprints do auto update after all .
I personally didn’t have that issue (yet). Do the speakers have status buffering but never play? You can check that in the logbook. You can try another source and see if it fixes it. Since I don’t have that issue, I can’t really troubleshoot it but maybe with some more info I can look into it.
I finally got this issue, I managed to fix it by just downloading the mp3 and uploading to my home assistant media folder. I then replaced the URL to point to the media file media-source://media_source/local/adhan.mp3.