SmartThings Motion Inactivity Trigger


#1

Simple-Hub-Inactivity-Trigger.groovy (4.1 KB)
Just wanted to get this out there. This is a small modification to the existing SmartThings SmartApp for running Activities based on motion. This script is sort of the reverse of that. This script runs Activities based on inactivity from a given motion detector for a period of time. So if you leave the room for 30 minutes for instance, you could have your Lutron lights turn off or other maintenance type actions for an inactive room.

Just add this to your SmartThings account like the other apps in the integration pack. It is not a replacement, it’s a separate/new app.

Thank you.