Core - Time Frame Trigger, How often it runs?


(Sergio Ferreira) #1

I have a Core piston that should run:

Motion Sensor did not change in the last 10 minutes

And

Time is after sunset

  • Turn off lights…

How often does the piston is evaluated to check if the condition is true or false?
If I test the conditions manually it works…otherwise the Turn off never is executed.

thanks


(Jordon) #2

Try maybe changing piston so it works like this
If
Motion changes to inactive
And
Time is after sunset
Then
Wait 10 minutes
Turn off light

You will see a countdown timer in the piston dashboard which is easy way to see if you piston was triggered.
My piston are setup as such
If
Motion is active
When true:

Only if its between sunrise and sunset
Turn on light and set to 80%

Only if its between sunrise and sunset
Turn on light and set to 40%

When false:
Wait 10 minutes
Turn off light

Hope this helps


(Dustin Clark) #3

What is your use case on this? Give as much detail as possible please.

I think you need some more distinct conditions or maybe a trigger in there to better get your end result.


(Robin) #4

I know you have your solution but to answer your original question, did not change in x minutes runs only once, x minutes after a change. The true state only lasts for a brief period before returning to false.