ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Timer problem 2
Bruce Prager
Thu, 21 Oct 1999 19:49:39 -0400

Mark, I moved the setting of the timer after the turn on of the lights, and
it incremented properly.
Don't know if you will be able to reproduce my first problem, though the
orig event code still acts the same way.
I also rewrote it as shown below which also works:

BEGINIF    Porch IR Sensor      Is Now     On
Or         Driveway IR Sensor   Is Now     On
Or         Driveway Mag Sensor  Is Now     On
; Motion detected in Front yard. If nighttime, set the timer
BEGINIF    Daytime              Is         False
; If the lights are off, turn them on.  The timer will
; automatically turn them off
If         Front Lights Timer   Is         0
Then       Front-Yard Lights    Set        On

Do         Front Lights Timer   Set        120
ENDIF
ENDIF


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.