Control Sonos Remotely (over VPN)


Userlevel 3
Badge +3
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.

56 replies

What is the practical application for this? I don't see why you want to be able to turn on music if you aren't home to listen to it?

I'm trying to set this up using a VPN to support a client at a remote location.
Please add this feature for remote management of Sonos system over a VPN for client support.
It is obvious-- remote controlled application is needed in case you need to access your system away from home. We left our system on and I needed to be able to turn off. Huge inconvenience & waste of time to not be able to.
I'm not able to use Sonos app via VPN. Not even when tricking it to think that my phone is connected on wifi.
But a simple way to connect to Sonos via VPN: you can connect via VPN and then use Macronos and do all commands via macros. It's a really great app for Sonos! 🙂 A bit expensive, but worth it
I often worried that I would leave home forget to turn off my Sonos and the loud sound keep troubling my neighbors. Well that hasn't happened until now, but I do wish Sonos can turn it off when I leave home, my other home appliances can, such as nest, hue, no bug deal for them.
I was woke up from overseas this morning in the mid night by my nest telling me it detects something, I turned on nest then relised that it was 7 o'clock in the morning back home and the music is loud. I did remember to turn off Sonos before I took off to my overseas trip, but I forgot to turn off the alarm.
I love Sonos, but from my previous experience with Sonos community, I found Sonos tend to ignore these comments and refused to make any changes, so I dont post stuff, only watch.
Sonos by now should have Bluetooth ability, a better line-in port and management, support wireless headset, and a remote control over Internet. But hey, they never listen!
I don't think we needore reasons to justify why we need remote control of Sonos while nest and hue provide this function already.
I hope to see Sonos not only support remote control also support Google cast. You will be left out by the market if you are so afraid and not confident enough to follow the trend of the current market.
To everyone who keeps questioning why do you need this. Besides the obvious that remote access should be there and there is no reason to require WiFi if on network if through a VPN. Here's a simple scenario. I have my Sonos alarms set to go off and blast some loud rock music because I'm hard to wake up. I went away on business out of the country, forgot to turn them off. My alarms went off for 2 days blasting music. I live in an apartment building on the 4th floor. They were complaining on the 1st floor. It's my fuck up. But if I could of accessed it remotely I could of remedied that. Now I have taken measures for when I forget, like I can connect to my router and disconnect the SONOS from accessing the Internet to stream my music for the alarms or use my logitech harmony hub to mute them. But it would be simpler to go into the sonos app and control it like I should be able to. Not rocket science. Sonos has fallen so behind in the smart home market, it's ridiculous.
I just ran into this easily fixable problem as well today. I have a little vpn server at my parents house and even when I'm connected to it, the sonos app won't even try the vpn interface to see that there is indeed sonos on my network. It just tries the wifi adaptor and if's down it gives up. If I turn on wifi in my house, the sonos app will start to find the controller at my own home. As others have mentioned, this could easily be fixed. Probably one line of code.
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.
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.
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.
Userlevel 7
Badge +21
With Insteon announcing the addition of Sonos connectivity to their "smart home" system at CES earlier this month, I would expect that you'll be able to set up Insteon sensors and whatnot to trigger Sonos music. An example they give is that if you have a water/leak sensor and it triggers, it could play Bob Dylan's "The Levee's Gonna Break".

Whether or not you'll be able to have some basic control of your Sonos from outside your home using the Insteon app remains to be seen.

More info: www.insteon.com/sonos
I wonder if the Insteon integration will allow an Insteon motion sensor to add a room to a Sonos group that is playing when tripped and drop it from the group some number of minutes after the motion sensor no longer sees any motion?
Userlevel 7
Badge +21
I wonder if the Insteon integration will allow an Insteon motion sensor to add a room to a Sonos group that is playing when tripped and drop it from the group some number of minutes after the motion sensor no longer sees any motion?
I don't think the integration has anything to do with groups... I think it's more single player control (with up to four players able to be controlled by the Insteon system). Looking at the handful of support articles that have surfaced on Insteon's site about it, nothing is mentioned about groups. Now, if a player is part of a group already, then it will likely control the group. But I don't think joining/leaving groups will be part of the functionality.
VALID USE CASE

For those asking "why?" to this question, I have a valid use case for you. I set up a SONOS system for my elderly Mom to be able to enjoy music throughout her home, but she is not yet comfortable using her iPad to control it due to her limited hand dexterity. So, she can only enjoy it if I am there to control it. Would be nice to be able to control it remotely for her.

What is really needed is a more "accessible" user interface with easier to control volume, etc. Even I have trouble controlling the volume with my fat fingers and that little bitty slider on the iPad.
There uses for remote internet control other than simply turning off the system if you forgot. One of my clients is constantly trying and discarding premium services, and has me add/remove them from his system. In addition, the house is his summer/holiday home and he wants music playing whenever he arrives in town. Right now, all these things require an hour & 15 minute drive for me to do. Remote accessibility would save me considerable time and gas.

Not to mention, the Sonos is the ONLY part of his system that cannot be accessed remotely.
Userlevel 7
Badge +21
There uses for remote internet control other than simply turning off the system if you forgot. One of my clients is constantly trying and discarding premium services, and has me add/remove them from his system. In addition, the house is his summer/holiday home and he wants music playing whenever he arrives in town. Right now, all these things require an hour & 15 minute drive for me to do. Remote accessibility would save me considerable time and gas.

Not to mention, the Sonos is the ONLY part of his system that cannot be accessed remotely.


Mate, our planet does not need this kind of crap.

Tell your client to switch on the Sonos himself when he arrives. Surely he can put up with 30 seconds of silence rather you driving 2 and a half hours. For crying out loud!!
One of my clients is constantly trying and discarding premium services, and has me add/remove them from his system.
Leave a computer onsite which you can remote into. Or would the client be incapable of turning that on?

he wants music playing whenever he arrives in town.

This is utterly ridiculous. Do you also have a 2.5 hour round trip whenever he wants to change source, or even select a different track?
No offense, but if your client can't remove and add services by himself, or turn the system on, he doesn't deserve the fortune he so obviously has in order to get you to do it for him. A five year old could do either.

As an aside, a remote computer is the obvious answer.
Userlevel 1
Badge
My use case: I have several 'alarms' set up through different zones that play for a couple of hours at a time. I only turn these alarms on when I leave on vacation as s theft deterrent. It makes it look like there after people inside. Especially effective when you use Pandora comedy radio as s source ;)

Anyway, I usually forget to turn all these on before I leave on vacation and I want a remote way in!!!
Userlevel 7
Badge +21
You realise Sonos is an audio product and won't make anything "look" like something? But hey your course
, your horse.
Userlevel 1
Badge
You realise Sonos is an audio product and won't make anything "look" like something? But hey your course
, your horse.


LOOK LIKE. Its a figure of speech. It's like saying SEEM LIKE. You need to get out more.
Once again, the answer is a remote computer.
I need it because of the following...
My mother who is having memory problems calls me and asks me if I can turn it on for her and put some music for her. When I am home I can do that but not if I am away. It seems simple but it is necessary. I do set it as an alarm clock to play everyday on something that she likes when I am not there but she then has to run it off if she is watching tv or reading. Not a b deal for you and me but for her and her problems it is another phone call and another difficult task for her to perform. I hope Sonos helps...
Hi all, I'm in the IT enterprise mobility industry and this is solvable and pretty easily for an apps dev team. All depends on what's the on wish list and how badly customers want that feature.

1. Enable micro-vpn on Sonos mobile app
2. install remote agent on Sonos device
3. Open random (predefined port) on WiFi Router
4. Control Sonos from anywhere using existing Sonos mobile app.

No need for full VPN and RDP type service or even a PC.

C