Skip to main content
July 3, 2013

Control Sonos Remotely (over VPN)

  • July 3, 2013
  • 50 replies
  • 32645 views
I'd very much would like to control (or at least monitor) my Sonos system over VPN. I can control my lighting and HVAC via Lutron and my IP cameras but it appears that the Sonos iOS app only functions over the device's wireless interface (network). All that is required is a change to allow the Sonos app to use any network, wifi or otherwise. This could be implemented as a enumerated list in the app's settings where the user could enable or disable (on or off slider) each network type and then sort the list to establish a priority. I understand that there would be a delay if for example, my primary network was wifi but I was currently connected remotely via VPN, I would have to wait for discovery via wifi to timeout before the app would begin searching via VPN. This would be acceptable to me. Thanks!
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

50 replies

Lyricist II
November 15, 2015
It was left on, volume was loud- need to be able to access to turn off
Stuart_W
World-Class Superstar
November 15, 2015
Give your neighbour or even a couple of neighbours a key
Arc + Sub (Gen 1) + 2 x Play 1/ Stereo Play 3s/ Era 100 Stereo in Kitchen, One Stereo in Bedroom, Play 1 stereo pair in Study, Play 1in Bathroom, Sonos Move 2
chicks
November 15, 2015
1. Get one of the IFTTT modules with an AC outlet
2. Plug Sonos device into said module
3. Shut off module via app on phone while away via internet


Lyricist I
December 2, 2015
i'm also interested in this as part of my home automation setup. i want my sonos speakers to be my "alarm," and i want to be able to turn it off or on remotely

i haven't tried this yet, but i think it's possible with 3rd party tools. e.g. vera home controllers have a sonos app. openremote can also talk to sonos boxes. i think these should permit remote control. anyway, this probably isn't totally trivial to setup; a solution like this is more suitable for someone who already has a VPN server running at home
BCM
December 2, 2015
Intrigued, but confused. You left the house and got however far down the road and realized you left your Sonos kit blaring... How would that happen? If you're leaving the house, you'd hear it, no? Leaving the garage door up is one thing, but leaving the house with Sonos on loud or even a TV on... kind of bizarre.
Lyricist II
December 2, 2015
No- we didn't have it 'blaring'. We left and babysitter told us it was on, not blaring but loud enough & needing to be turned off. The app is on our phones & couldn't turn it off after we left. Not sure what is so confusing about that
BCM
December 2, 2015
No- we didn't have it 'blaring'. We left and babysitter told us it was on, not blaring but loud enough & needing to be turned off. The app is on our phones & couldn't turn it off after we left. Not sure what is so confusing about that

Ah. That makes sense. My question was based on this:

It was left on, volume was loud- need to be able to access to turn off
Lyricist I
December 7, 2015
One possibility would be to connect to a computer in your home via RDP/VNC and control your Sonos system that way. Not ideal, and you'll need the computer running all the time. (Maybe a Raspberry Pi w/Android and the Sonos app? There are VNC servers for Android. Just a thought)
Lyricist III
January 10, 2016
Principally it is easy to get SONOS players running via VPN (I use openVPN embedded in my router).
As we know, the Sonos controller does not allow multicast.

Conclusion: the SONOS controller is not designed for that purpose. Technically it is no problem not to rely on a WLAN connection and address the devices directly via IP.

So we need an alternative: a) another controller app, that was designed with regards to home automation. OK so use "iHome" from Appstore, it´s free and allows to play your music, start and stop rooms or group them and select music from the library via VPN. But: no Spotify. Works great.

b) use scripts written in php, works fine, too, but only is for nerds. If you need more information, let me know (kram@cool.ms).

But you may ask: what is the purpose of playing music if you are not at home ?

Tell ya:
Use case: i have a home automation solution (rwe smarthome) that works with motion detectors and cameras. If someone not authorized enters my home, all SONOS devices are turned on, grouped, and a VERY LOUD Alarm ist played and I´m notified.

USE CASE 2: you have a subnetted enterprise network (several rooms \ stores) and you want to control your SONOS devices centrally.

Works great. SONOS really hast to improve.
Contributor II
January 21, 2016
Use case: i have a home automation solution (rwe smarthome) that works with motion detectors and cameras. If someone not authorized enters my home, all SONOS devices are turned on, grouped, and a VERY LOUD Alarm ist played and I´m notified.

This is the use case I am looking for as well Chris. Can you please elaborate how you tied things together ?
Until now I am also using motion detectors and cameras and I am getting email notification when someone not authorized enters my home. I would like to take the next step now and play an VERY LOUD alarm on SONOS but I cannot link the email trigger to the Alarm.