Announcement

Collapse
No announcement yet.

Please help: Door locking code not working as expected

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Please help: Door locking code not working as expected

    Events are not firing as I would expect. Int is likely that I don't understand some obscure nuance of HS3 (it seems to have a lot of those.) Any suggestions?

    My goal is to have the door auto-lock when it is closed, IF it was not manually unlocked. I have a door-closed sensor to help with this. The door closed sensor is truly working 100%.

    The following event does not fire as expected:
    Click image for larger version  Name:	Screen Shot 2019-04-10 at 17.58.34.png Views:	1 Size:	80.0 KB ID:	1298316
    When the door closes it does not lock. The value of Notification is:
    Click image for larger version  Name:	Screen Shot 2019-04-10 at 18.00.28.png Views:	1 Size:	37.2 KB ID:	1298317
    As you can see, it is not equal to "Manual unlock Operation". So it should close.

    When I remove the "AND IF" line then the door locks every time it is closed.

    So why is the AND IF line in the test failing? Why isn't the door locking when it is closed?
Working...
X