[RELEASE] Auto Lock

Lucky enough to have the front door do it right away.

1 Like

Mind testing this for me? Just copy/paste over the child code.

https://pastebin.com/raw/jiEisJhJ

Done and here is the log of the lock at the same time of the previous screen shot.

Did the code I posted get rid of the error? Wife started getting irritated at me repeatedly locking and unlocking the door trying to get an error with the new code, but I wasn't able to replicate the error with the new one. I did see it on the old code though.

1 Like

I am not seeing it either now.

It was hard to generate on my network but I could trigger it by saturating the mesh with commands and then trigger the lock such that it would fail and try to retry. Pretty sure that it's taken care of but wanted to make sure since I had to do some weird stuff to get it in the first place. I'll post it to github and up the rev so it goes out as normal.

Woot!! Thanks

1 Like

Anything else while I'm at it?

Back yard is a little messy...some sweeping and pull a few weeds?

2 Likes

That's what the gardener is for.

3 Likes

I'm currently using v1.1.32. I recently noticed the locks were not locking and while checking into the problem I noticed I can no longer find the setting that was used to set the delay for relocking. I was using 10 minutes.

Has there been some changes in the app that I need to reconfigure my original settings? I was having the lock auto lock after 10 minutes between the hours of 11 PM and 7 AM.

Thanks in advance for help.

looking now.

1 Like

Pushed update to resolve the issue.

1 Like

What took so long? Just kidding, Thanks for the fast update!

lol, it was a simple fix just needed to change from false to !true which covers null cases also.

1 Like

Thanks again for your great support.

1 Like

Probably a bit out of the mission for this app but is there any possibility of having the lock only accept a user code based on presence?

That restriction would need to be done at the device level since it stores codes on the actual lock.

Something like disable keypad might work then have a rule enable keypad when present. Not every lock supports that option though.

Great app. I just set it up to relock my doors after closing (contact sensor).

But I can't seem to get any of the notifications. I tried turning them all on, and the only one I got was on unlocking I got "Front Door (unlocked)Maximum lock retries reached."

I also see this in the logs:
2021-02-17 12:39:18.570 pm errorjava.lang.IllegalArgumentException: Name cannot be null. on line 825 (retryLockingCommand)

This is 1.1.34 installed via HPM

I'll take a look when the power comes back on.