Undocking iPhone to 'wake up house'

The easiest way is to use this Endpoint Example:

http://107.20.127.54/smartthings/exampleOauth.php

From this tutorial:

Once you’ve authorized the Endpoint Example app, let it control one or more of your devices. Hit ‘authorize’ and on the following page you should see ‘on’, ‘off’, and ‘toggle’ options for your devices. Right click any of those buttons and copy the link to your clipboard.

You should get a link that looks like this:

http://graph.api.smartthings.com/api/smartapps/installations/numbersandletters/switches/numbersandletters/on?access_token=numbersandletters

Don’t share your specific information with anyone, since that URL allows anyone to interact with your SmartThings devices.

Now open Cydia and make sure you’ve installed the cURL package.

Finally, build your activator action by going to Settings.app → Activator → Anywhere → Screen Bottom Center → Build in the upper-right corner. Choose “Run Command” from the options given, give it a decent title and in the “command” section you will input the following:

curl -k -s https://graph.api.smartthings.com/api/smartapps/installations/numbersandletters/switches/numbersandletters/on?access_token=numbersandletters

Do notice that the URL above when copied from the switch is just http://, but when you feed it into Activator it needs to be https://

Now press Save, Done, and then assign the command you just built to any Activator action of your choosing.

In the future, if you want to assign more actions to different SmartThings devices, simply go through the process of using that first Endpoint Example link and add the button link information to Activator as explained above.