ERDrPC Posted August 8, 2022 Share Posted August 8, 2022 @RyanE created a great driver. One function I'm struggling with is programming the auto lock to enable/disable when using a button press. I have Yale locks zigbee. For example when I have a contractor in and they need to work outside and inside then I want to turn off the auto lock feature. I usually have the auto-lock set to 120. Before using this driver, I programmed this functionality based on the Yale lock driver but with the Auto-lock driver you have to have the Yale driver auto-lock always off. Below is the programing I have for turning it off. Turning it on is just re-enabling it (single line of code). I also have it automatically re-enable at midnight. Any idea why it's not working? Also if I get this working, will the driver switch back to the custom time length that was there before? Quote Link to comment Share on other sites More sharing options...
RyanE Posted August 8, 2022 Share Posted August 8, 2022 I can't see any reason why it wouldn't be working. I do that with a button on a Gen1 3-button keypad. I have it toggle a global variable, and then if it's set, it calls a macro that enables auto lock on all my door locks, and if it's not set, it disables the auto lock on all the door locks. Your programming should do the same thing, but of course, for one lock. Enable / Disable does not change the delay time or any other properties setup in the auto lock driver. RyanE Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted August 8, 2022 Author Share Posted August 8, 2022 Like with many things....Just started working again. However intercom no longer calling my phone when doorbird is pressed. Quote Link to comment Share on other sites More sharing options...
RyanE Posted August 8, 2022 Share Posted August 8, 2022 Pretty sure the Auto Lock functionality is uninvolved in your doorbird issue. RyanE Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.