FutureTense / keymaster

Home Assistant integration for managing Z-Wave enabled locks
MIT License
238 stars 45 forks source link

ISSUE: Auto-lock locking immediately after door closed #303

Closed tykeal closed 2 years ago

tykeal commented 2 years ago

Describe the bug I have the autolock feature turned on with one of my several locks. Up until recently this was working very well.

I have both day and night settings configured for 00:01:00 (one minute) and this was working. Earlier this week I disabled the auto-lock feature while I had some maintenance being performed on my house and I didn't want the people to leave the door open and they were constantly in and out and I didn't want to slow them down with having to enter a code.

After the work, I re-enabled the the autolock function and now it locks immediately after the door is closed. I see the timer starting but it locks as soon as the door closes and I get a persistent notification that the door was detected as having been closed and it's being re-locked.

I've even tried restarting HA as well as regenerating the lock configuration and nothing has fixed this.

Environment (please complete the following information):

tykeal commented 2 years ago

Follow-up. I ended up having to reboot my lock (for reasons not 100% related to this). I was having an issue programming the lock with a new code and found that it wasn't taking. I pulled up the ZWave JS logs and upped the logging level and found the lock spamming the zwave network with motion detection updates. After pulling the batteries, waiting a bit, and then reinserting them the lock started behaving correctly, including the auto-lock feature.