Is my home secure?

smartapp_alerts
smartapp_security

(Tim Slagle) #1

I’m not sure, but you can use this app to find out. This app monitors your doors, windows, and locks after mode changes, certain time of day, or on a schedule(vacation mode). Can also lock doors if they are found to be unlocked on that mode change. When push notifications are pushed is also customize-able, as is if you want a SMS, Push, or both.

Thanks to @greg for helping me test!!! If you find any issues please let me know!
https://github.com/tslagle13/SmartThingsPersonal/blob/master/smartapps/tslagle13/is-my-home-secure.groovy


Option to alert if contact sensor is open on mode change
Checking Status of Door upon Mode Changing to 'Away'
Report on home status during mode change?
Something Left Open app doesn't notify if mode is changed while door is still open
Door open sensor checked when leaving
Multipurpose sensor on garage door - can it text me when status is open at night?
Alarm On Specific (Current) State, Rather Than Change Of State
Hello Home action says it executed when it really didn't?
Garage door open-ness detection alert?
Retry timeout for commands and raising an alarm if failed
We need a community V1 vs V2 filter
[RELEASE] OneTap: The best and more complete Smartapp
Set Garage door to close if left open at a certain time
Failure Alerts?
Garage Door Notification based on Presence?
(Matt) #2

Very interesting, I’ll be checking this out once the platform stabilizes.


(Matt) #3

Looks great @tslagle13 I’ll let you know if I run into any problems.


(Tim Slagle) #4

Thanks!!! :smile:



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

This is very cool @tslagle13

I see this app basically monitors sensors/locks when the mode changes. Is it possible to modify this app/create a new one that monitors ALL actions. E.g. Lock door, Unlock Door, Switch on, Switch off etc. even when done manually to ensure that it actually happened?\

Thanks


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

The other issue I see with this code is that it’s looking for a sensor and a lock. E.g. in my case I only have a Schalge lock that reports whether it’s locked or not. I want to ensure that when I click lock or the mode changes engaging a lock status, it actually locks. I don’t want to connect a sensor, just ensure that the lock happened.

Is there some way to achieve this @tslagle13?


(Tim Slagle) #7

There is, but the entire logic for the code will need to be re-written. If someone smashes the door in while your gone you wouldn’t get a notification in this case.

EDIT: Thinking this through I should make an app that only monitors locks I guess. Call it “Is my lock secure”

Why not use the built in dashboard notifications for this?


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

It doesn’t notify that why I created a separate thread on it. The key if notify and retry. The dashboard does neither!
If I click lock and the device isn’t connecting/reachable/whatever nothing happens a few minutes later it still shows unlocked. (same for a switch), no notification, no retries nothing.


(Tim Slagle) #9

Got ya, yeah this is a separate issue and not at all what my app is meant to do.

The app if you set it up through the dashboard can notify you when a lock is unlock and locked but you have to set that up. Will not retry though unless an app is written to do that. But you already have a thread for that.


(Matt) #10

@tslagle13 not sure why but last night after successfully calling “Good Night” I got an alert my Is my home secure?, saying that the back door was not secure. I physically checked it and it was closed and locked. It gave no further alerts after the initial. I’ll followup if I see this again.


(Tim Slagle) #11

What did the app say? It looks at last status so I’m wondering of the app didn’t update properly


(Greg) #12

@tslagle13

wanted to report that I’m getting “unexpected error” when I try to edit this app. (added new sensors). The sensors are being added. But it is still giving that error when I go back in to check.


(Tim Slagle) #13

thanks man. I’ll take a look
STs broke all my apps this weekend lol.


(Greg) #14

Thanks for still supporting the app!


(Tim Slagle) #15

Fixed :wink:

Check out my github for new code :smile:


(Tim Slagle) #16

Updated to 1.2

– Added the ability to add some windows/doors that don’t need to be “secure” but want to be notified they are left open.


(Claire Longworth) #17

How do i find the code for this app? The link appears to be broken.
Thanks


(Greg) #18

Here it is

https://github.com/tslagle13/SmartThingsPersonal/blob/master/smartapps/tslagle13/is-my-home-secure.groovy


(Claire Longworth) #19

Many thanks ! Now to figure out how to install it!


(Greg) #20