I have three deadbolts that I have set to lock at 2230 every night. With the weather getting warmer the door may still be open at 2230 and if the deadbolt locks as it’s suppose to and the kids closed the door and are not paying attention the bolt will hit the door frame. Each of the three doors also have a hidden sensor. How can i stop the lock from locking when the scene runs until 10 seconds after the door is closed?
I hate to ask the next part, if it is a luup programming code that i need would someone be willing offer it up. I do not understand it one little bit.
[quote=“kiethr, post:1, topic:181378”]I have three deadbolts that I have set to lock at 2230 every night. With the weather getting warmer the door may still be open at 2230 and if the deadbolt locks as it’s suppose to and the kids closed the door and are not paying attention the bolt will hit the door frame. Each of the three doors also have a hidden sensor. How can i stop the lock from locking when the scene runs until 10 seconds after the door is closed?
I hate to ask the next part, if it is a luup programming code that i need would someone be willing offer it up. I do not understand it one little bit.
Thank You[/quote]
What are you using now? I’m assuming you have a door sensor on the door to tell Vera it’s closed?
Even in a Scene you can have conditions (door is closed) that can be set before the scene will trigger.
PLEG app (Program Logic Event Generator) is a perfect way to do it to customize anything.
LUUP code I never used so seems to hard for me, but I’m sure can be done.
I would Search PLEG tho. If you can get what you need out of a scene that’s your easiest. PLEG can do anything but has a small learning curve, but since scenes are so limited this is what you should learn.
Another approach would be to have a scene triggered when the door closes but only fire the lock action after 22:30. See Conditional Scene Execution: Time.
Thanks everyone for the replies. I do have zwave sensors on all three doors. I’ll play around with your suggestion in the next day or so and get it all figured out. Thanks for the help!
Actions for each of the Conditions:
Door1Closed Start Timer LockTimer1
Door1Locked Lock Door 1
Okay so i decided to give PLEG a try. I made to the actions but i cant figure out how to set them. When i go to the action tab i select c1 from the drop down box and it takes me back to the normal ui page in vera. What do I do from there?
Select the ADVANCED tab. Then select your PLEG device from the Pick a device drop-down and click Add. Now you should be able to select the StartTimer action.
Well after playing with this for a few weeks this is what I found out. I had the kitchen door and the front door open at the same time. After the “lock time” hit I closed the front door as expected the deadbolt locked shortly after. The kitchen door deadbolt activated even though the door was open. Any thoughts on solving the issue with the kitchen door?