[RELEASE] Open/Close Door/Window/Switch/Lock/Valve/Shade Notification and Actions on Mode Change - Routines Backup

smartapp_alerts
smartapp_locks
smartapp_garage
smartapp_security

(www.rboyapps.com - Make your home your butler!) #1

On request from some users.

While there are apps out there which notify you when the door is open for a period of time or to notify / set off an alarm when a door or window is opened/closed (i.e change of state).

This app is used to notify you and take action if the device (door/window/switch/lock/garage/valve/window shade etc) is ALREADY open/on or closed/off when the hub mode changes AND turn on/off/open/close them for you. It also acts like a backup for a failed Routine execution.

So if you're leaving the house or turning in the for the night, you would like to know if you accidentally left a door or window open. For example, when the Goodbye routine runs, it locks up the house and change the mode to Away. The app will notify you if there are any unlocked doors, open garage doors or open blinds etc at the very moment the mode changes to Away and, if possible, close them for you so you leave the house knowing that this app has your back!

Key Features:

  • Report/Operate switches that are left on or off and then turn off/on
  • Report/Operate locks that are left locked/unlocked and can unlock/lock them
  • Report/Operate garage doors that are left open/closed and can close/open them
  • Report/Operate Valves, Windows Blinds/Shades and more devices in future (see posts below for updates)
  • Option for delayed checking to allow time for Routines to execute or devices to change state after the Mode changes
  • Custom messages and monitoring/actions for each Mode (or single message for all Modes)
  • Automatic push notification if there is an updated version of the SmartApp available

You can configure which devices to monitor for each mode separately and also configure notifications (push/sms) for each mode independently. You also have the option for a single notification setting for all modes with individual overrides.

This app also acts like a backup for Routines. If the routine timesout while trying to lock doors or turn switches off etc, this app will notify the user and then attempt to complete the action.

If you have suggestions please let us know and we'll add them to the app.

This app is available on the ST RBoy Apps Server, http://smartthings.rboyapps.com. Refer to our facebook page below to get access to the server.

If you like the Apps consider supporting our development efforts. Visit our Facebook page for updates on new apps and to get Access to all our Premium ST Apps. http://www.facebook.com/RBoySTApps

The latest version of these apps with udpates are available on the RBoy server.


How to use the lock status to create notification
[RELEASE] User Unlock/Lock Door Notifications and Actions
Something Left Open app doesn't notify if mode is changed while door is still open
[SUSPENDED] Blink Camera Device Handler with Motion Sensor, Live Video Streaming, Integration with SmartThings/SHM, Temperature, Signals and Push Notifications
Lock or door status at certain time
[SUSPENDED] Blink Camera Device Handler with Motion Sensor, Live Video Streaming, Integration with SmartThings/SHM, Temperature, Signals and Push Notifications
[SUSPENDED] Blink Camera Device Handler with Motion Sensor, Live Video Streaming, Integration with SmartThings/SHM, Temperature, Signals and Push Notifications
[SUSPENDED] Blink Camera Device Handler with Motion Sensor, Live Video Streaming, Integration with SmartThings/SHM, Temperature, Signals and Push Notifications
Garage Close Fail Notify?
[SUSPENDED] Blink Camera Device Handler with Motion Sensor, Live Video Streaming, Integration with SmartThings/SHM, Temperature, Signals and Push Notifications
(Bobby) #2

Can you throw in switches too, there was an app that Slagle wrote but I don't remember its name. I know I used it a long time ago. This is great, I often find myself going in the app and looking for things left open or left on...


(www.rboyapps.com - Make your home your butler!) #3

Switches as in notify if switches are left on? If so I purposely didn't include that since if you can report a switch state that means you can also change it (correct me if I'm wrong here or missing a switch type which cannot be changed via ST but can be reported). Hence the idea behind this app was to notify things which have to be manually turned off/closed etc and cannot be done via ST.


(Bobby) #4

Ok, but if I need to go into the app to look for switches that are still on, I would notice which windows/doors are open too. So I think, having one notification for everything saves a lot of time. A quick glance that everything is off, closed and locked is much better than scrolling through hundreds of items, in my opinion.


(www.rboyapps.com - Make your home your butler!) #5

Maybe I'm not understanding, why would you need to go into the app to look for which switches are on? You can just tell the routine to turn them off right? (something which isn't possible with a door/window)


(Bobby) #6

There are only so many switches you can add to a routine before it times out. So, no I cannot have one routine to turn them all off. Plus, some switches, like cameras should be on, and having a notification that they were actually turned on is a plus.


(www.rboyapps.com - Make your home your butler!) #7

Open Door/Window/Switch Notification on Mode Change - Version 1.1.0

  • Added support for check and notify if switches are left On and an option to turn them Off

(Patrick Musselman) #8

Question. All of the switching mode slots say "When switching to mode Away". It appears that the app is only seeing the Away mode and none of the other modes. However, I tried to play in the simulator all modes are there. Am I doing something wrong here?


(www.rboyapps.com - Make your home your butler!) #9

Yeah I'm seeing that in the latest Android ST app too, it's working fine on iOS. Looks like ST broke their app again, they had fixed it earlier. See this


(Patrick Musselman) #10

OK thanks. I am glad to hear that is not me but disappointed that ST has once again broken something that was working on the latest Android release. Hopefully on the next release they can fix it and I can give it a try.


(www.rboyapps.com - Make your home your butler!) #11

Please report it to ST support or likely they won't fix it.


(Patrick Musselman) #12

Reached out to ST Support and was told that they cannot help me because it is not a vetted app. I will wait for the next Android release and see if ST has fixed it but I am not holding my breath. Love the concept of that app!


How to pass parameters in href?
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy; NOT a SmartThings Employee.) #13

This is no longer the procedure for Developer issues, as far as I know.

i.e., Unless something is visible to a consumer in an approved & published SmartApp, or in some non-customized part of the platform or product…

then just tag, message or email @slagle & @jodyalbritton.

Of course, this loses the supposed benefit of “prioritizing issues by number of Customer reports”, :confounded:, but no use fighting the wind.


(Bobby) #15

There are alternative solutions for this issue. I've created a similar app last night and don't have this problem. I didn't think you'll add the switches so I created my own. Thanks for adding them. I was super busy at work today so I didn't have a chance to look at your code.


(www.rboyapps.com - Make your home your butler!) #16

I'm wide open to suggestions. The great guru's have tried to tackle the href in the past in vain but if you've found a way around it yahoooo


(Bobby) #17

Hey, I am not a genius coder like many around here, by any means, I am just a guy with a hobby :slight_smile: I didn’t find a workable solution for the href. Was just saying that not using href, could be an alternative for the moment. I like your approach a lot better than my rudimentary, non-dynamic way, btw. Wish it wasn’t broke. I just added locks to check and lock, if found unlocked after x number of minutes, and two sets of switches, one that could be turned off and one that reports just the status (to make sure that my camera outlets are on).


(www.rboyapps.com - Make your home your butler!) #18

Hey not all, it's a stumping problem which seems to plague ST'd Android devs. I'm just glad you found a way around. This also explains why @tgauchat says that SmartTiles will never use dynamic hrefs, I actually had hopes now that it's been fixed and it'll remain fixed so I decided to use dynamic hrefs in a lot of my apps to enhance the user experience.


(www.rboyapps.com - Make your home your butler!) #19

Open Door/Window/Switch Notification on Mode Change - Version 1.2.0

  • Added support for check and notify if locks are left Unlocked and an option to Lock them

This app now also acts like a backup for Routines in some way. If the routine times out while trying to lock doors or turn switches off, this app will notify the user and then attempt to complete the action.


(www.rboyapps.com - Make your home your butler!) #20

Open Door/Window/Switch/Lock Notification and Action on Mode Change - Version 1.3.0

  • Added support for check and notify if garage doors are left Open and an option to Close them
  • Fixed display list of items checked for each mode on home page

(Bobby) #21

I cannot wait for the Android app to be fixed so I can use your app. Thanks for adding the locks.