Can I Use Wireless Sensor Tags to Get an Alert if a Door is Left Open Beyond a Time Threshhold

82 views
Skip to first unread message

Jeff Lowder

unread,
Apr 5, 2016, 12:52:48 AM4/5/16
to Wireless Sensor Tags
I'm interesting in the ability to get an alarm if a particular door is opened and is not shut within a certain amount of time, say 30 or 60 seconds. Is this use case scenario supported by wireless sensor tags?

clementina lupo

unread,
Apr 5, 2016, 8:53:35 AM4/5/16
to Wireless Sensor Tags
u can definetly do it... i did it with google script...just it was easier for me.
i create a file in google drive when the door is open and when the door is closed. and i check every 5 mins if both files are there.
If close file is not there..notification.

Sam

unread,
Apr 5, 2016, 10:01:34 AM4/5/16
to Wireless Sensor Tags
Jeff,

You can do it with a simple Kumo App script like the one I've attached.  I use it daily and have it set to 5  minutes.

var timer={};
var target = <#door or window_[12|53]_N#>;
target
.forEach(function(t){
    t
.opened=function(){
        timer
[t.uuid]=KumoApp.setInterval(function(){
           
<~devices to send notification~>.push(t.name + " remains open");
       
},<%interval in minute_N%>*1000*60);
   
};
    t
.closed=function(){
       
KumoApp.stopTimer(timer[t.uuid]);
   
};
});

Justin Erickson

unread,
Apr 6, 2016, 9:49:44 AM4/6/16
to Wireless Sensor Tags
There is an easy setting for this in the motion options for the sensor. It is limited to one alert though and a few other settings. The suggestions made here allow for more options.
see screen shot, i use it on my garage door.


On Tuesday, April 5, 2016 at 12:52:48 AM UTC-4, Jeff Lowder wrote:
Screen Shot 2016-04-06 at 9.48.01 AM.png
Reply all
Reply to author
Forward
0 new messages