Logic Question

Hi all.

I’m trying to understand the significance of these two lines of code in a condition. How do they differ and why use one over the other?

first one: AND ( tUpStairsMotion : !tUpstairsMotion )

Second One: AND !tUpstairsMotion

They are logically the same (if you change the : to a ; in the first example).

The second one is easier to understand.

Thanks, So if I understand I would need to use ; when I want to compare the timestamps of two different things.

So this would be true if B turned false at least 15 minutes after A turned true, but would not be true if B turned false 10 minutes after A turned true and would also be false if B was false before A was true?

( ( A ; !B ) > 15:00 )

Yep