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:
Re: [ECS] Timer problem
Bruce Prager
Thu, 21 Oct 1999 19:53:53 -0400

In the event, the Front lights timer is set to 120 secs for any pass that
reaches the timer logic.  However on the first pass, the timer gets set to
only 101 secs.  If you retrigger a sensor (which retriggers the event), the
timer is properly set to 120.
Note my second email, by moving the location of the setting of the timer, it
seems to resolve the problem though I don't know why.
-----Original Message-----
From: Mark Gilmore <omnip@usit.net>
To: ecs-list@netbloc.com <ecs-list@netbloc.com>
Date: Thursday, October 21, 1999 7:36 PM
Subject: Re: [ECS] Timer problem


>Sorry Bruce - I no follow.
>What is being set to 101 ???
>--
>Mark Gilmore
>Omnipotence (ECS home automation software)
>http://www.usit.com/omnip
>423-745-0026
>
>
>Bruce Prager wrote:
>>
>> Mark , the following event works fine EXCEPT
>> First time the timer code runs,  I get a value set in ECS of 101
>> Any subsquent times the code fires while the timer > 0, it resets to 120
as
>> indicated by the code.
>> Once the timer reaches 0,  the next time the timer is set, it again only
>> goes to 101.
>>
>> Any ideas?
>>
>> If         Porch IR Sensor      Is Now     On
>> Or         Driveway IR Sensor   Is Now     On
>> Or         Driveway Mag Sensor  Is Now     On
>> Then       Logical 1            Set        True
>> Else       Logical 1            Set        False
>> ; Motion detected in Front yard. If nighttime, set the timer
>> BEGINIF    Daytime              Is         False
>> And        Logical 1            Is Now     True
>> Do         Front Lights Timer   Set        120
>> ; If the lights are off, turn them on.  The timer will
>> ; automatically turn them off
>> If         Front-Yard Lights    Is         Off
>> Then       Front-Yard Lights    Set        On
>> 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
.