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] why won't my lights go off?
Bill Walters
Sat, 22 Jan 2000 19:58:16 -0600

AJ,

Hmm,,, well, it might have to do with your BEGINIF statement.
I prefer "brute-force" method.....

Remember

Why not structure it like this?

If         front porch motion          Is Now      On
And     Daytime                         Is               False
Then    Front Porch Lights         Set             On
Then    Front Porch timer           Set             10

Else If  front porch motion          Is Now       On
And     Daytime                         Is                True
Then    A/V - Stereo                  Set             Off

If          Front Porch timer          Is Now        0
Then     Front Porch Lights        Set               Off
Then     Event-Exit                     Set               True


You don't say what kind of device is setting your "front porch motion" item
ON...  Just to make sure that there isn't "random" motion that keeps kicking
this device on (thereby re-setting the Front Porch timer to 10), I'd create
an item in one of my Group screens to monitor the state of this item.....
just while "debugging".

Bill Walters



----- Original Message -----
From: A.J. Griglak <aj@griglak.com>
To: <ecs-list@netbloc.com>
Sent: Saturday, January 22, 2000 5:03 PM
Subject: [ECS] why won't my lights go off?


> They come on OK, the stereo turns off OK during the day, the timer is
> working right, yet when it gets to 0, the lights stay on...  anyone?
>
> -=A.J.
>
>
> BEGINIF    Daytime              Is         False
> And        front porch motion   Is Now     On
> Then       Front Porch Lights   Set        On
> Then       Front Porch timer    Set        10
>
> IF         Front Porch timer    Is Now     0
> Then       Front Porch Lights   Set        Off
>
> If         Front Porch timer    Is         0
> Then       Event-Exit           Set        True
> ENDIF
>
> BEGINIF    Daytime              Is         True
> If         front porch motion   Is Now     On
> Then       A/V - Stereo         Set        Off
> 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
.