Playing a MP3 file on an old Sonos speaker

What’s the easiest way to play a MP3 file on an old Play5 speaker (gen. 1 and only S1 compatible). There are no “Say…” nor “Soundboard…” cards. I’ve tried the “Play URL…” card on my Dropbox and also OneDrive profiles, but I just can’t get it to work.

Save the mp3 on a NAS and mark it as a favorite in SONOS. Then you can choose the card ‘play favorite’ on Homey. Works for me

Thanks Walter, but I don’t have a NAS running

It’s a tutorial for Chromecast devices, but it works also for Sonos speaker.

I tried it myself, but I only have S2 compatible speakers. However, I am sure that it also works for S1 compatible speakers.

2 Likes

In the tutorial HOMEY_IP is just a placeholder for the IP address of your Homey.

So just replace HOMEY_IP with Homeys IP address.

1 Like

Thanks, got it to work. Only thing is that it has a delay of 7-8 sec (!!) I am using it for “announcing” the radio channel name that I have chosen via the Ikea Symfonisk button before launching the channel from my Sonos favorites. That’s too slow for me.

It’s too bad that the Sonos app doesn’t support the “Say…” card for S1 compatible speakers, like this:

Okay!? That’s definitely too much.
@martijnpoppen, is this normal, or what could be the reason?

1 Like

Try to connect he input of the Play-card to the output of the Logic-card (parallel to the Say-card).

1 Like

Doesn’t work. What happens is that the “Play… favorite” card seems to overrule the “Play URL” card, which makes it fail

If I connect in series like below both card seems to work, but the “Play URL” card never plays the URL. Again it seems the “Play… favorite” overrules.

Putting in a delay of 8 sec between the two cards will play the URL, but that’s a poor work around.

There is a soundboard card nowadays in the Sonos app @DirkG

Unfortunately not, because he uses “older” Sonos speakers (S1) which are not fully supported by the Homey Sonos app. E.g. the soundboard flow card and TTS are missing.

1 Like

I am having the same issue, I can’t get the mp3 file to play. I’m using the Sonos S1 system and have both the Sonos app and Soundboard running in Homey. I entered this URL in the Sonos card “Play URL” http://192.168.1.28/app/com.athom.soundboard/userdata/Siren_Noise-KevanGC-1337458893.mp3 and get nothing. I’ve confirmed this is my Homey’s correct static IP address. The only card I’m getting in the Soundboard app is Play [select my mp3 file], but when I try running that I get an error saying my Homey Pro (Homey Pro 2023) can’t play sounds.

Which Flow card do you use? Can you please post a screenshot of your Flow?

Here’s a screenshot of my flow.

I don’t see any errors in the flow. Okay, I don’t know the IP address, of course.
What is the size of the MP3 file? The file may not exceed a size of 900 kb:


(Source)

I confirmed the IP address by going to the settings page of my hub. The mp3 files is 149kb, so that’s not the issue either. I am using the older Sonos S1 system, but I’ve read that this should work with that system.

What happens, if you test the flow by pressing the :play_button: Test button?
Is an error displayed in the “Play URL” flow card?

No, I get a check mark in each of the three boxes and I then get the text message on my phone.

Hm, then I have no idea what the problem could be, sorry.

Because it’s possible to run both apps at the same time, you could try the Community Sonos (LocalAPI) app to see if the problem also exists with this app.

This is very strange…

I installed the Sonos Local API app and now I see it in my list of installed apps. However, when creating a flow it does not show up in my list of apps to use within the flow.