This may be common knowledge to many here, but I figured I would post the steps to do this fairly simple integration. As a more reliable (hopefully, still testing) presence sensor, I thought it would be beneficial to share this integration based on IFTTT and a simulated switch to act as a trigger for routines.
Here are the steps:
-
Download the IFTTT on the Play Store
-
Connect IFTTT to SmartThings by authorizing in the IFTTT app (From the IFTTT App > Tap My Applets > Tap Services > Tap SmartThings > Tap Connect > Login and Authorize all Devices)
-
Next, on your computer, navigate the the IDE, be mindful of if your account is on a particular URL (easiest way to tell is if you log in and there is nothing there, you are on a different URL)
-
In the IDE, tap My Devices
-
Tap + New Device
-
Fill out the Device Name, Device Network ID (make up a DNI) and for Type, select Simulated Switch
-
If you have more than one Hub and Location, be sure to select the correct ones
-
Tap Create
-
From the IFTTT App, navigate to the page that shows your SmartThings integration (My Applets > Services > SmartThings) and tap the Gear icon in the top right corner
-
Tap Edit Connection
-
Select your location from the drop down menu and Checkmark the new switch you just created in SmartThings
-
Scroll down and tap Authorize
-
Tap the Back arrow twice or until you are on the screen that shows My Applets
-
Tap the + Symbol in the top right corner
-
Tap and select a This trigger and select Android Device from the list
-
Scroll down and tap Connects to a specific WiFi Network and enter your home network name
-
Tap the That action selector and scroll down to SmartThings and tap Switch On
-
From the drop down menu, select the simulated switch you just created in the IDE and tap the checkmark in the top right corner
Feel free to have the applet send a notification when it is activated as well as edit the text, if you choose
-
Tap Finish and then tap the back arrow to return to the applet screen
-
Next tap the + again in the top right of the screen (On the My Applets page)
-
Tap the This trigger selector and select Android Device
-
Scroll down and select Disconnects from a specific WiFi network and enter your home networks’ name again
-
Tap the That action selector, scroll down and select SmartThings
-
Select Switch Off and from the drop down menu, select your simulated switch you just created in the IDE
-
Tap the Checkmark in the top right and once again, feel free to either edit the title or receive a notification from the applet
-
Tap Finish
You should now be able to see both the on and off switches triggered by connecting and disconnecting from your home network
Lastly, you will need to make this the trigger for any routine based on presence. You will do this in the SmartThings app on the routines page, after selecting the gear icon for the routine you want to automate and under ‘Perform _______ Automatically when…’ you would select Something Turns On or Off and select your Simulated Presence Switch (Off for Goodbye, On for I’m Back)
I hope this helps anyone who may feel at that they are unable to use location services because of poor service, and before going the Arrival Sensor route, want to try one last thing.
I do want to add the caveat that I have not thoroughly tested this, so I am not entirely confident yet in it’s reliability. The biggest downside to this setup is that there is not an adjustable presence timeout (i.e do not run if disconnected for <5 minutes) but I’m sure someone may have found a way around this.
Please offer any insights, tips or experiences using this, as it would be great to know if others are finding success with this WiFi based presence sensor.