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] Help with Log States
Michael David
Sun, 25 Oct 1998 00:39:52 -0400

Hi Don!

Yup - at least for a little while longer...

Here's the items and event I whipped up to test this after I saw your post:

|Item:TEST                      Type:On/Off
Acc:User/User
|	Initial State:(None)                                    Backup:No
|Item:Log States                Type:Text
Acc:User/User
|	Initial State:(None)                                    Backup:No
|	Text         :@states.log

|Event: test                            Called ?:No
|       If      TEST                    Is Now          On
|       Then    Log States              Set             Log States
|       Then    TEST                    Set             Off
|       End


This generated a file with a rather long list of items and states.
What version of ECS are you running?
Are you just getting a blank file?
He you tried deleting it?  ECS should then make the file the nest time you
set test flag to true.
Is it possible that the file is being created in some other directory?
Any reason why ECS wouldn't be able/allowed to create the file on your
computer?

I can't really think of why it isn't working.  It is rather fool-proof.

Cheers!

Michael David
michael@michaeldavid.com


-----Original Message-----
From:	Don Stephens [mailto:don@sb.net]
Sent:	Sunday, October 25, 1998 12:20 AM
To:	ecs-list@vancouver.ml.org
Subject:	Re: [ECS] Help with Log States


-----Original Message-----
From: Michael David <michael@michaeldavid.com>
To: ecs-list@vancouver.ml.org <ecs-list@vancouver.ml.org>
Date: Saturday, October 24, 1998 9:04 PM
Subject: RE: [ECS] Help with Log States

Hey! You are up. this is my item and event.

Thanks:
Don


|Item:Status Report             Type:File
Acc:User/User
| Initial State:(None)                                    Backup:No
| File         :@status.log



|Event: Test Event                      Called ?:No
|       If      Test Flag               Is              False
|       Then    Event-Exit              Set             True
|       Do      Status.Log              Set             Log States
|       Do      Test Flag               Set             False
|       End





>Hi Don!
>
>Hmm, it works for me.  What's your whole event look like?
>
>Cheers!
>
>Michael David
>michael@michaeldavid.com
>
>
>-----Original Message-----
>From: Don Stephens [mailto:don@sb.net]
>Sent: Saturday, October 24, 1998 11:39 PM
>To: ECS LIST
>Subject: [ECS] Help with Log States
>
>Hi:
> I'm trying to get  a text item to report states of all items. I've created
>an Item called status.log which I've defined as a text item. I'm using the
>following
>
>| Item: Status.Log                Type:Text
>Acc:User/User
>| Initial State:(None)                                    Backup:No
>| Text :@status.log
>
>to create the log I thought I'd do the following
>
>Do       status.log           set             log states
>
>What am I missing here? This plain doesn't work.
>
>Thanks;
>Don
>
>
>
>
>--
>Please, turn off HTML (fancy colours, fonts, etc) when sending message to
>list.
>To unsubscribe, e-mail: ecs-list-unsubscribe@vancouver.ml.org
>
>
>--
>Please, turn off HTML (fancy colours, fonts, etc) when sending message to
list.
>To unsubscribe, e-mail: ecs-list-unsubscribe@vancouver.ml.org
>


--
Please, turn off HTML (fancy colours, fonts, etc) when sending message to
list.
To unsubscribe, e-mail: ecs-list-unsubscribe@vancouver.ml.org


  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
.