So I have a loop that check to see if the house is occupied or empty.
Here is what I have
This code don’t seem to work, I was wandering why this doesn’t work and if there is a better way of doing this?
Thanks for your help
Edward
Here is what I have
Code:
EVERY 5 MINUTES
AND IF Inside Home OFF
AND IF BackStairMotion NOT READY
AND IF Living Motion NOT READY
AND IF Dining Motion NOT READY
AND IF Kitchen Motion NOT READY
AND IF Master bed Motion NOT READY
AND IF Edward Office NOT READY
THEN Ocupied FLAG ON
THEN Unocupied FL OFF
EVERY 5 MINUTES
AND IF Inside Home OFF
AND IF Edward Office SECURE
AND IF BackStairMotion SECURE
AND IF Living Motion SECURE
AND IF Dining Motion SECURE
AND IF Kitchen Motion SECURE
AND IF Master bed Motion SECURE
THEN Ocupied FLAG OFF
THEN Unocupied FL ON
This code don’t seem to work, I was wandering why this doesn’t work and if there is a better way of doing this?
Thanks for your help
Edward