This object is in archive! 

Controlling SONOS system

Fredrik Selarp shared this idea 11 years ago
In Progress

I would like to control my Sonos units (play, stop, pause, volume) and access them via the Rules Creator.

Replies (31)

photo
5

We are already working on that and it will be released very soon.

photo
1

Nenad Vojnovic wrote:

We are already working on that and it will be released very soon.
Great! Really looking forward to it. Thank you!

photo
1

Andy news about when is "very soon"?

Thanks

photo
1

Example

photo
1

Thanks for the example, but it's way beyonf my knowledge... :(


I hope it will possible in the near future to control Sonos devices without programing. In the meantime, if you have examples that I can juste copy/paste for "Play", "Pause", , "Setting the volume", "Changing the play list"... I would really appreciate it !

photo
1

Use the "play" example and just replace that word (2 places, header and body) that with the following commands:

https://github.com/SR-G/sonos-java

photo
1

I didn't succeed. I copied the "play" example, I only changed the IP address for the sonos. I then turned on the virtual switch, nothing happens...


The IP address is correct because I can reach the sonos with the command "http://192.168.1.32:1400/status"

photo
1

It finally worked with the command in the attached image...

photo
1

What went wrong?

photo
1

I dont't really know what was wrong, nothing was happening, the sonos wouldn't play.


I see the attachment I tried to post didn't upload, I'm trying again.

photo
1

I confirm, nothing happens, the sonos doesn't play through the command.

photo
1

It plays with the example I put above, at least for me.


I now need to find a way to play an external playlist... Does anyone have the solution?

photo
1

Any news about the topic ?

photo
2

One year since " it will be released very soon" - any news?

photo
2

Nenad Vojnovic wrote:

We are already working on that and it will be released very soon.
How are things proceeding with Sonos compability?

photo
2

Hi,


I am very interested as well... any news of Sonos integration?


That would be AWESOME!!!!!!!!!!!!!!!!!!!


Giulio.

photo
1

This would actually make me buy Zipabox so please come back with an update.

photo
1

This would actually make me buy Zipabox so please come back with an update.

photo
1

This would actually make me buy Zipabox so please come back with an update.

photo
1

The sonos integration would be very nice so I hope it will be release soon.

photo
1

More than one year working on the Sonos integration. Is there any target date when Sonos integration will be released?

photo
1

Sander Den Hoedt wrote:

More than one year working on the Sonos integration. Is there any target date when Sonos integration will be released?
it is related to some specific integration of IP networks which is much more demanding. However, why don't you just use HTTP requests in the meanwhile?

photo
1

Hi Sebastian, thanks for the quick response. I understand the integration diffeculty.

I will dig into the Sonos soap api.

photo
1

Hi Sebastian


The new version of Zipabox (0.999.3a) seems to be able to associate a sonos device.

That's so great ! !

But how does it work to put the Sonos device in associate mode ?

photo
1

Hi (again)


Ok, I've found how to associate my sonos device ... Quiet simple, nothing todo if your device is on your LAN.

But how des it work ?

photo
1

I created a simple app for Sonos. I needed it for sending sound notifications to my sonos system Like when someones open a door it will play a beep on the sonos system or arming disarming the alarm.


Now it can only play mp3 files and can't "controll" the sonos system, but feel free to contribute and send pull request or use it as it is.


It requires an external server to run on. I'm running it on a Raspberry PI model B for the moment.


https://github.com/patant/zippattl

photo
1

Hi,


Tried the Sonos device in Zipabox but that made the 433 Mhz stop working so for now I'm trying to get the samples above to work.


But no matter what I do I don't seem to work, I've tried it with different Sonos units (Play x, Connect x) but no luck. So before I keep trying I wanted to check if I've done something wrong or if maybe the Sonos interface changed.


This is what I'm using (the IP no is OK):


Method:Post

URL: http://192.168.1.64:1400/MediaRenderer/AVTransport/Control

Headers: Content-type: text/xml;charset="utf-8" SOAPAction: "urn:schemas-upnp-org:service:AVTransport:1#Play"


Body:

<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><xmlns:u=Play xmlns:u="urn:schemas-upnp-org:service:AVTransport:1"><InstanceID>0</InstanceID>,<Speed>1</Speed></u:Play></s:Body></s:Envelope>

photo
1

Hello Johan,


I have added some examples in the attachment.


Best regards,


Hrvoje

photo
1

Brilliant, you are a star :)


Thanks!

(I'm really interested in the premium features once you have them available again)

photo
2

It would be great if you can use a sonos system as alarm speaker.

photo
1

The best would be to be able to send Text To Speech to the Sonos.


It works by using php script host on a local server (it send request to Google TTS and play teh result on the Sonos).

But it would be realy great to just have to type a text in a rule on GUI and insert value of some modules into the text.

I would allow for example to ask the Zipabox to send every morning the weather (from information of the weather module) to be broadcast to the Sonos

Leave a Comment
 
Attach a file