Notification if light on for X amount of time?

I’m looking for a way to get a notification if a light is left on for a given amount of time.
I have seen other posts with a similar request and people have mentioned writing an app with WebCoRE, I am new to SmartThings and WebCoRE seems a bit complicated.
Any suggestions?
Thanks in advance!

Not sure if ST has such functionality. If it does, I want to learn it. Ordinarily I would agree with the webcore option. It’s actually quite easy. But webcore is about to undergo some big changes, and I would not suggest getting into it at this time.

FYI @Pantheon

This simple SmartApp allows you to pick a switch and a time frame in minutes for how long it’s been on before sending you a message. The message can be a Push, or SMS if you’re in the US.

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

You can only pick one switch per each SmartApp, but it’s easy to just add another. I just give each one a unique name, like “On too long - backyard flood lights”

Installing this is super easy via the IDE, and getting to it in the new app is just as easy via the big + sign, and then tapping on “SmartApp” and then scrolling down to it.

3 Likes