Controlling locks

I have two doors that I have controllable locks installed. I have written a rule that I think I've done correctly. My rule starts with either lock being detected as unlocked and then the action is to lock with a delay of 15 minutes. I'm not currently at home to test it out but I am hoping that this means that when it detects either to be unlocked, it will lock them automatically in 15 minutes.

Another thing I would LOVE to find out is whether there was some type of sensor I could install that could detect an acceptable device that would trigger the door to unlock. My thought is either RFID or NFC. It would be cool if I could use my Apple Watch or my iPhone to unlock these doors without having to pull up the app and trigger an unlock. This would prevent me from having to either enter the combination or use a key to unlock. If not NFC, maybe some type of RFiD card... it would still be faster than a key or entering in the code (if I had the card or whatever the RFiD is on with me.

If you post a screenshot of your rule we can help you out a lot more. I use the iphone presence user app. works for android too. when your phone joins your wifi network it sees it join and will unlock the door for you. works about 9.5/10 times. You just need to put a static IP on your phone. Super easy to do. you can also look at the combined presence user app as well.

I am trying to do this same exact thing and it's not working.

On a related not this community app is fantastic and might be a good tool to add to what you are trying to achieve here: [RELEASE] Auto Lock Door

1 Like

in order to test that you have to unlock the door. then wait for it to lock. is that how you tested? or did you just have the door unlocked and expected it lock? want to make sure your testing the correct way.

Yes, of course, the door was locked, then I unlocked it and waited. Nothing happens.

Does the lock device page indicate the lock is unlocked when you unlock it?

What kind of lock is it?

Sounds like there may be mesh issues. Try safely shutting down hub from settings and then unplug from the wall for 30 seconds to power down the zwave radio. Turn it back on and wait for the green light and test again.

Do you have any 4-1 sensors or power reporting outlets? Any s0 devices? Any s2 devices? If so what model and firmware?

Are you able to control the lock from the device page?

My rule is nearly identical.

I now work nights (12-hour shifts plus 45-minute commute) so I didn't have a lot of time at home to experiment, but when I got home this morning, I unlocked my office door. It locked itself about 15 minutes later. My house has both an attached garage with a side door leading to the driveway to my detached garage, which I call my office. It too has a side door. I have installed a Z-wave Kwikset lock set on both of these doors. My wife is always getting after me for not locking the doors; she is more paranoid than I about these kind of things. I've been trying to create these controls to make life happier for me (and her).

The problem with the proximity function of my iPhone is that it is not precise enough. This would mean that it would be unlocked at all times my wife or I am home, even when my wife or I are sleeping. I would want the proximity to only be about 3-5 feet at most, this is why I was thinking of some type of RFID or NFC device. Sure, I can type in the combination for the lock or open the app on my phone and hit unlock and have to confirm it, but I'd rather have something faster to unlock but only for my wife or I.

Might try out Auto Lock. It has a ton of options to choose from. Add in wifi presence with iphone wifi presence and something like life360 with states. I just have it unlock on arrival. It relocks after we come in or the pre determined relock time.

Yes, it does. I have a Schlage Z-Wave Plus lock.

Hi, I'm able to control the lock from my dashboard. I have a few of these switches: JASCO Z-Wave Plus Smart Dimmer 1-Outlet Plug-In. They are supposed to work as repeaters as well.

Turn on logging for that rule (events, triggers, actions). Open up the log window and unlock the lock. Then cut and paste a screenshot of the log for that specific rule.

This is what the logs say, it looks as if the Front Door should be locked but it isn't.

app:1232021-02-05 08:14:42.059 am infoAction: Lock: Front Door

app:1232021-02-05 08:14:42.019 am infoDelay Over: Delay 0:05:00

app:1232021-02-05 08:09:41.824 am infoAction: Delay 0:05:00

app:1232021-02-05 08:09:41.732 am infoAuto Lock Front Door - 5 Minutes Triggered

app:1232021-02-05 08:09:41.716 am infoAuto Lock Front Door - 5 Minutes: Front Door lock unlocked

I've found that locks in general are a bit wonky.

To ensure my locks always lock when I want--or unlock when I want...

I either use the "Lockdown" app or I do a loop on my own.

Note that I do something just like that for "Unlocks" as well.

It can take some time for some of the locks to eventually behave. Although, the ZWP/S2 ones by Schlage are notably better than the older S0 ones.

If you ever get a jam that is going to murder your batteries. I'd stick a failed check in there. On fail try maybe two more times then quit.

So far, I've not seen serious issues with the batteries.

Note that it stops issuing lock commands as soon as the device actually locks.

It would seem that, for whatever reason, it can take a number of attempts at sending a command for it to actually get to the lock. If the lock isn't getting a command--hard to see how it might be sucking too much battery juice.

I'd also suspect that the actual movement of the deadbolt is a far higher battery draw than a zwave command.

In any case, i just can't leave the house and have about an 8 in 10 chance that one or more locks will be left unlocked.

Im talking about a case where the door swells and the alignment is off. Sometimes happens during season changes and it receives the lock command attempts to lock and jams therefore not locking and trys again and again even if only 2/3 of the commands go through your still running the deadbolt 60 times. Better solution would be to get commands going to it successfully. I dunno if that's a timing thing or a mesh issue. You'd have to do some analysis on it to find out.

I have a Schlage S0 door lock that is 4 feet in clear air, line of sight to the hub--NOTHING between it and the hub.

The first time I send a command, it's pretty good about responding most times.

But, if I send a second one any time soon, it ignores it--and takes repeated attempts to actually get it sent.

As for the door swelling and getting out of alignment, that's a serious issue that needs fixing. Hopefully, I'd notice that pretty quickly--and I'd certainly FIX it very quickly upon noticing it.

Two of the locks are "lever locks" that have in internal solenoid, so that won't be an issue for those. The other 4 dead bolts could have issues that way.

The 100x loop was for the lever locks. When locking the deadbolts, I use the "Lockdown" app.

If it works for you then all good, just wanted to point out a potential problem I noticed. 8) Locks like to have beaming repeaters, any powered zwave plus device supports beaming if there's a convenient place nearby to stick one it might make your connections more reliable to the lock.

1 Like