FutureTense / lock-manager

Home Assistant Lock Manager
55 stars 19 forks source link

ISSUE: Door Report is often not accutate #79

Closed ptdalen closed 3 years ago

ptdalen commented 3 years ago

Describe the bug For many versions I have had to add a 500ms delay to the door report.

Like so

This is for schalge be469 older version. Not zwave plus.

I have tried 250ms delay and it was not consistent. 500ms seems to always work for me, and seems like would not be a big deal even for other locks that may or may not occasionally have this issue.

Without the delay, the input text for the report ends up reporting the previous state.

firstof9 commented 3 years ago

I wonder if this will be an issue in the latest code.

ptdalen commented 3 years ago

It's possible. I will say for me it's been a needed addition as long as I have been using this. It's not a big deal, but 1/2 a second seems like a good safety measure to handle slower updates. Not sure if zwave is slow to report/update or if it's HA. Either way, this has worked for me. I am running 2021.1.0 and .45 of lock manager, running on an i3 NUC, docker version of HA and OZW.

firstof9 commented 3 years ago

I think the messages fire at almost the same time, but ozw is queued them for reporting. That's my suspicion.