Thursday at 03:07 PM1 day I have a program that is set to trigger a lighting scene when the deadbolt is unlocked via the keypad between Sunset - to Sunrise +. I am using the deadbolt access alarm status "keypad unlock" and the parameters to initiate this and trigger the "then" path of a separate program to set the lighting scene. This generally works as intended but the issue comes about when the deadbolt status hasn't changed from "keypad unlock" and the trigger time of day comes around again, thus triggering the program to run since status is still "keypad unlock". I am looking for a solution that only triggers the program once when the deadbolt is unlocked and not again if the deadbolt remains unlocked and the trigger time comes around again. Unfortunately the access alarm parameters are only "status" and not "control" for the "keypad unlock" condition. For clarification there is another deactivation program for the trigger lighting based on time of day or by manual deactivation. Any thought/insight on resolving this is greatly appreciated.
Thursday at 05:41 PM1 day You may need to split this into two programs. Try this easy solution first. Program 1: If keypad status is unlocked. then wait 2 seconds and then disable the program you have above. Else,--> enable it. Program 2: above program. But the question that comes to mind, is that you say only status is available, but the program shows control?
Yesterday at 03:03 AM1 day You could have the unlocking keypad set a variable and run your program with the variable. Next, reset the variable back to zero after an appropriate time delay.
16 hours ago16 hr I believe the simplest approach would be to have two programs.The first:if status keypad is unlockedthen run second program (if path)else nothingThe second program, disabled:if time is from sunset to sunrisethen run entry lighting program (then path)
14 hours ago14 hr Ah yes, I call these "latent triggers", when the time interval test becomes the trigger instead of just a static condition you want to "And" against. I usually use a variable as @DennisC suggests. It would be nice if there was a way to make time intervals optionally work like integer variables, to not trigger.
13 hours ago13 hr Author 21 hours ago, dbwarner5 said:You may need to split this into two programs. Try this easy solution first.Program 1: If keypad status is unlocked. then wait 2 seconds and then disable the program you have above. Else,--> enable it.Program 2: above program.But the question that comes to mind, is that you say only status is available, but the program shows control?Thank you for your response. I have been considering this as I have something similar to this set up with a notification upon condition that only want to execute once and not continually trigger. With regard to the "status" that I mentioned, the deabolt access alarm condition is only available as "status" that can be referenced and stays static at that until the state changes and not "control" type of notification/command that can be referenced once when that condition/state charges.12 hours ago, DennisC said:You could have the unlocking keypad set a variable and run your program with the variable. Next, reset the variable back to zero after an appropriate time delay.Thank you for the response, I will try this approach out.
13 hours ago13 hr 9 minutes ago, n_sievers said:10 minutes ago, n_sievers said:With regard to the "status" that I mentioned, the deabolt access alarm condition is only available as "status" that can be referenced and stays static at that until the state changes and not "control" type of notification/command that can be referenced once when that condition/state charges.That's the problem with status-only devices. Using a variable allows you to convert it to a control type event by having the status change set a state variable, wait a few seconds, then reset it. Like this:If Status = trueThen set s_event_variable = 1 Wait 5 seconds set s_event_variable = 0Then your other program can look for the variable = 1 AND time = xxx to yyy
13 hours ago13 hr Author 3 hours ago, oberkc said:I believe the simplest approach would be to have two programs.The first:if status keypad is unlockedthen run second program (if path)else nothingThe second program, disabled:if time is from sunset to sunrisethen run entry lighting program (then path)Thank you! I will try this approach 1st.
Create an account or sign in to comment