Alert for door left open

This is so awesome! But was wondering if it would be possible to trigger a device rather than send a text message? Like if a door is left open for 2 minutes, have it turn on a device?

1 Like

Thanks! What you want is pretty straight forward to do, and I have some time later today to work on this since a few folks have asked and SmartThings hasn’t delivered an out of the box solution yet.

I don’t want to put a lot of time into this since it should really be ST that makes something like this doable in their mobile app. To keep things simple I’m going to add the ability to include turning on a switch(es) along with sending a notification. It won’t turn off the selected switch(es), and you’ll still receive notifications

1 Like

Done:

https://raw.githubusercontent.com/jsconstantelos/SmartThings/master/smartapps/jsconstantelos/alerts-left-it-open-child.src/alerts-left-it-open-child.groovy

Just replace your old CHILD code (Left It Open Child) with this one (Save but don’t need to Publish). Your existing child apps that use this will still work, and anything new or changed let’s you pick 1 or more switches to turn on.

Man, I need to turn on notifications for this forum. I didn’t even know you responded. Thank you so much!

1 Like

very nice. Thanks.

1 Like

Any way to integrate this app with Alexa (Alexa virtual switch) so that Alexa announces when a door has been left open for xx number of minutes.