bottleneck
Choose style:

Author Topic: Auto Relock Door  (Read 1679 times)

0 Members and 1 Guest are viewing this topic.

Offline alpjor

  • Backer
  • *
  • Posts: 10
  • Thanks: 0
  • Registered : 06/10/2014
    YearsYearsYearsYearsYears
Auto Relock Door
« on: December 13, 2016, 03:07:40 pm »
I want to write a rule to auto lock my doors when they are closed for a minute. I've started with the rule depicted in my image, but it's incomplete.

for example:

if someone closes the door it triggers the rule, but if in that 60 seconds they reopen the door I don't want the door to try to lock until it's re-closed.

I think what I really want is a rule that re-checks that the door is both closed and un-locked after the 60 second wait and only relocks if the state hasn't changed.

How can I accomplish this with the rules system?

Offline mparadis

  • Backer
  • *
  • Posts: 1765
  • Thanks: 3
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYears
Re: Auto Relock Door
« Reply #1 on: December 13, 2016, 04:01:13 pm »
I am not sure that you can with the rules set up the way they are. What door lock do you have? Many door locks are able to do this on their own. I believe my Kwiksets do (I am not sure what the time is though, it may be 30 seconds or 1 minutes) that it relocks after being unopened.

Offline fillibar

  • Backer
  • *
  • Posts: 2054
  • Thanks: 4
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYears
Re: Auto Relock Door
« Reply #2 on: December 13, 2016, 04:09:08 pm »
Yes, I do not think the current rules have a direct way to do it. A workaround might be to set something else extraneous to trigger it:
IF door closed and unlocked THEN turn on spare outlet/light after 60 seconds
Then a second rule...
IF door closed and unlocked and spare outlet on THEN lock door and turn off outlet
And a cleanup rule..
IF door closed and locked THEN turn off spare outlet

Something a bit like that as a workaround.
Almond 3 mesh handling the home.

Offline alpjor

  • Backer
  • *
  • Posts: 10
  • Thanks: 0
  • Registered : 06/10/2014
    YearsYearsYearsYearsYears
Re: Auto Relock Door
« Reply #3 on: December 13, 2016, 04:11:06 pm »
@mparadis Yeah, kwikset locks. They have the same dumb just wait 2min and relock, but they have no sensor to know that the door is closed. I had an issue using that where the deadbolt would come out when the door was open and when someone would then close the door, the deadbolt would slam into the doorframe (no good). Maybe if I could chain rules, I could do it. Like the action of one rule starts another rule? is something like this possible?

@fillibar that's a great idea! Are there virtual switches, or do I actually have to go buy new sensors just to have more switches for programming?

Offline mparadis

  • Backer
  • *
  • Posts: 1765
  • Thanks: 3
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYears
Re: Auto Relock Door
« Reply #4 on: December 13, 2016, 04:15:35 pm »
Is this an Almond 3? Could use the Almond 3 built in LED?

Offline alpjor

  • Backer
  • *
  • Posts: 10
  • Thanks: 0
  • Registered : 06/10/2014
    YearsYearsYearsYearsYears
Re: Auto Relock Door
« Reply #5 on: December 13, 2016, 04:16:26 pm »
almond +

Offline fillibar

  • Backer
  • *
  • Posts: 2054
  • Thanks: 4
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYears
Re: Auto Relock Door
« Reply #6 on: December 13, 2016, 04:34:20 pm »
Unfortunately, no. There are no virtuals at this time. I just know many people have some extra light or something somewhere. This is still pretty much a DIY space. So extra odd stuff comes up.
Almond 3 mesh handling the home.

 

Page created in 0.04 seconds with 24 queries.

bottleneck