The Christmas lights inside the house have their own timer as if it was a
room. The difference here is we want to see the Christmas lights on any
time we are home so that timer is held to 1200 seconds any time there is a 'Sign
of Life'. Once Sign of Life becomes false, we allow that timer to start
counting down and at 1 second, the Inside Christmas Lights turn off. There
are two sections to this:
- Sign of Life activity
;----------------------------------------------------------------
; 1. While sign of life is true and it is dark outside...
;----------------------------------------------------------------
BEGINIF Sign Of Life Is True
And Daylight Is False
Then Timer, Sign of Life Set 1200
ENDIF
- Timer activity
If Timer, Xmas, In Is Now 1
Then Grp, Xmas, In Set 0
Then Event-Call Set Grp, Xmas, In
If Timer, Xmas, In Is GT Now 300
Then Grp, Xmas, In Set 1
Then Event-Call Set Grp, Xmas, In