Controlling Sonos

Mello shared this idea 8 years ago
Under Consideration

I'm able to successfully link my Sonos Play:1 to Zipato.

(without setting the Sonos system in inclusion mode though - it automatically finds it when I select to add a Sonos device)

After that it does show up as 'Audio Player' in the device browser.


However, any action I choose (e.g. stop, pause, volume increase/decrease) doesn't cause any state change on the Sonos system when listening to internet radio station.


Should it? Or does it only work with e.g. playing MP3 files or URLs set by Zipato rules?

Replies (13)

photo
1

I'd also like to know more about Sonos integration.

photo
1

Nobody out there able to actually control Sonos with Zipato???

photo
2

Hey guys!


Sure, you can do that. Look at the example rule. When even i put on the christmas lights in my kitchen window it plays a little tune :)

photo
1

Thanks for the reply!

I've copied your rule and clearly there must be something wrong on my end :-/

To test if the rule is indeed executed I've added a push notification which is actually sent.

Also the volume shows as being set, yet no sound at all..

No big deal so I'll wait for next firmware update and see if that might solve the issue

photo
1

Open the Sonos program on your desktop PC. Have the program side by side when you execute the rule. If the mp3 has a samplerate or or encoded in a way that sonos does not play, you will get a message in the desktop sonos program saying why the file is not played. Meaning, that sonos will not play every type of .mp3 file you throw its way.

EDIT:

I see you tried with the file i had in the rule i posted. I just google searched for mp3 files to show that, i did not want to post a rule with files i host myself :)

photo
1

Can i play a mp3 from a nas as well? And if so, how?

photo
1

if your NAS runs ftpserver or some other hosting that can generate a public URL i think it will work, so that the zipato servers can route the link to your sonos. I have not tried anything with NAS myself, i have free public webhosting, 10 gb through my internet provider (Bahnhof).

You can use this site to generate mp3 files thrugh google speech, inc. swedish, http://soundoftext.com. I use that so my Sonos says things like. The alarm is now armed. Or, Welcome home "name of the person whos rfid tag disarmed the alarm", the alarm has now been disarmed.

You can also use it as a siren, with any sound you want. If my alarm is tripped the Sonos plays a mp3 that was created with google text to speech that says. The alarm is now on, the owner has been notified, and pictures form the cameras have been sent. The sirens will go off in 10 sec.

photo
1

Really cool Naarz!


Sad it only work with sonos

photo
1

Hi Naarz, do you know if a mp3 file stored at a Google Drive account will work?


Thks!

photo
1

Hi Naarz,

I tried to throw an mp3 created with the text to speech site you mentioned earlier to my SonoS player to no avail. It keeps on telling me the file is not encoded correctly. Any ideas? The file is on dropbox, but also when I test with mp3s I use on my NAS it doesn't work, always same error that the file is not in the right format.

Cheers, Ivo

photo
1

hello Ivo, Did you have to operate an mp3 on dropbox?

photo
photo
1

How do you pick up the user from RFID. Are you not using the Zipato RFID mini keypad?

photo
1

I just saw your rule.I was not aware of the "slot1 home" possibility.

photo
1

Yeah, thats how its done. specific slot to specific user that triggers the welcome message to greet the user asigned to that slot

photo
photo
1

Is it possible to set zipato to play a radio channel from the sonos favorites ?

photo
2

Yes, that works. Visit your Sonos URL (http://192.168.X.XXX:1400/support/review) go to Radio Station Log, there you find the URLs. Then copy paste those into the Set Player URL To. Then add a action to 'Play'.

photo
1

Can you show how you have written rules. And what you install on the cell phone ..

photo
photo
1

I hope they add support for sonos bar, I have one but cannot use it with zipato...

photo
1

Dear Alberto,


The Sonos bar is not currently supported, but our team will certainly provide support for this device in the near future.


Best regards,

Pero Zovkic

photo
1

Alberto, remember that Sonos uses UPnP, and so you may be able to get the Sonos Bar to do what you need using HTTP requests. I use them to control the Sonos Connect and Boost, neither of which are currently supported by the Zipabox natively.

photo
1

Can you please show the http commands?

photo
2

Thank you David, I remember you had a post about this but now I can't find it, would you mind sharing the link please?

photo
1

Yeah, I don't know why it's so hard to find people's posts.


https://community.zipato.com/topic/how-to-operate-sonos-connect-with-http-post


Anyway thank you for sending me back to my post - I've just discovered that the Sonos Connect is - apparently - supported.


I just confirmed that it is detected by the Zipabox, just like my Sonos Boost. The guys at Zipato are definitely getting lots of stuff done.

photo
1

And both devices have indeed now appeared in the device list. I'll try them out later!

photo
3

Woo Hoo!! Play bar is also now supported!! See attached.

photo
photo
1

How can i know the status if a sonos is playing or not?

photo
1

you cant. like we have said before the sonos integration is very limited. You can not see what is playing or select a favourite playlist or play a voice message easily without using http commands.

photo
1

Yep. You can't interrogate the Sonos devices (which makes no sense).

photo
1

Can someone please show the http commands for select fav playlist?

photo
photo
1

Any support for the playbase (just ordered it)?

photo
1

I can not play an audio file on my sonos, I use https://soundoftext.com/ but can not read via a rule from the zipato.

I have an encoded audio file problem. the same file is read with the application sonos on my windows but not from a rule.

my file is on my dropbox. the sonos can to go to the file.


I have downloaded the mp3 file at https://sounddogs.com/sound-effects-library/2234.mp3 and it works fine from my rule zipato and sonos.


so I think it's a problem of encoding but I can not find the right value, I tried the FLAC, MP3, Wav ... all the files are read from the PC but not since a rule.


please I hope you can help me

Leave a Comment
 
Attach a file