When iPhone senses you're home, turn on lights

Location allows apps and websites to use information from cellular, Wi-Fi, and GPS networks to determine your approximate location. This service requires downloading the IFTTT app for iPhone or Android. Locate your phone or find your mobile device.
A simpler way to a smarter home. Wink brings all of your favorite smart products together in a single app. Wink Shortcuts allow you to control multiple smart products with a single tap. For example, create a goodnight shortcut that lowers the blinds, adjusts the thermostat, turns off the lights, and lock the doors.