Improved Home Automation Integration

SonoPad 1.4.0 comes with Improved Home Automation Integration.

Those of you doing home automation, typically use a different App as their main remote control App. Typical examples are CommandFusion , iRule, iRemoteControl for simple tasks or more advanced Apps like KNX ProServ.

These tools often allow you to start a different App with a short URL, so you are able to directly start SonoPad (or in the meantime even the official Sonos App) from them.

Unfortunately there are some problems with this approach (well not anymore with SonoPad):

    • your home automation tools are typically centered around rooms, so just starting a Sonos Controller with an arbitrarily selected room is confusing
    • at some point you want to get back to your Home Automation App. Pressing the home button of your iPad and selecting the App on the iPads main screen is inconvenient.
Enough talk – show me examples!
Ok, ok – Here is an example from the KNX ProServ App (this is an App to control your whole home, based on the KNX bus), to show you what is possible.
What you can see here, will work in other Apps as well (see instructions below).

As you can see, this App is configured to control the whole room (blinds, temperature, …), but also contains a link to SonoPad.
When you tap it, SonoPad will automatically start with the player selected in the ProServ App, so you can start controlling the music in this room right ahead.
In addition SonoPad will include a small icon to directly jump back to the ProServ App. No need to go via the main menu of the iPad anymore!

So how does all this magic work?
Actually quite simple. The ProServ App only needed to configure the following URL to start SonoPad:
Let’s explain the different parts:
sonopad://? the beginning of the URL tells iOS to start SonoPad
returnURL=iknixhd%3A%2F%2F the URL to return to, when the user presses the icon in SonoPad. It’s URL-encoded, so actually itreadsiknixhd://If you leave out this parameter, SonoPad won’t show the icon to return to the original App.
& separator, to tell iOS the next parameter starts

UUID of the player that should be selected by default, when SonoPad starts.To find the UUIDs of your players, enter the About Dialog of your Sonos Desktop Controller. It will list the IP addresses of your SonosBoxes. Take one IP, open a browser and surf to the URL (replacing the xxx with your IP):

You will see a list of all players and on the right also a column UUID.

If you leave out this parameter, SonoPad will revert to it’s default behaviour, i.e. on start it will select the SonoBox that was selected when you left SonoPad the last time.

For other programs , the URL would look like this:

iRule sonopad://?returnURL=irule%3A%2F%2F&defaultZone=RINCON_000E582AAFEA01400
CommandFusion sonopad://?returnURL=iviewer://&defaultPlayer=00:04:20:27:91:1f
tpcontrol sonopad://?returnURL=tpcontrol://&defaultPlayer=00:04:20:27:91:1f
Gira HomeServer sonopad://?returnURL=girahshd://
RTI sonopad://?returnURL=%%RETURNURL%%     (this special URL will get you back to the screen where you started SonoPad from)

Hope you enjoy this new feature! If there are any questions, don’t hesitate to contact me via support(at)