1) Give a description of the problem
How do I calculate a time difference from a global variable
2) What is the expected behaviour?
I want my test test routine to run if 30 minutes have elapsed since the global variable time stamp. So if there has been no motion for 30 minutes and the time is equal to XXX, then turn on the test test switch
3) What is happening/not happening?
I don’t know how to write this routine, I have no knowledge of expressions
4) Post a Green Snapshot of the piston
(UPLOAD YOUR IMAGE HERE)
5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)
REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.