Does anyone know how I can compare two timers in an Event?
Example: consider the following:
Firstly, set up two timers and trigger as follows:
1) When motion detected in Hall start "timer hall"
2) When motion detected in Study start "timer study"
Then
If the
Study door closes
AND
motion in study
AND
"timer hall" is greater than "timer study"
AND
Difference between "timer hall" and "timer study" is less than 5 seconds
THEN
Set a virtual device "entered study" to True
??
It is the last few lines I need help on..
Thanks in advance
/Marcus
Example: consider the following:
Firstly, set up two timers and trigger as follows:
1) When motion detected in Hall start "timer hall"
2) When motion detected in Study start "timer study"
Then
If the
Study door closes
AND
motion in study
AND
"timer hall" is greater than "timer study"
AND
Difference between "timer hall" and "timer study" is less than 5 seconds
THEN
Set a virtual device "entered study" to True
??
It is the last few lines I need help on..
Thanks in advance
/Marcus
Comment