|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects
Subject: From: Date: | Re: [ECS] Speak/w joerut.epix.net Wed, 17 Jan 2001 11:59:57 -0500 (EST) |
Wed, 17 Jan 2001 11:59:57 -0500 (EST)
Could you possibly detect the state of the voice interface and any time it
is "Speaking" you set the relay to "close" and when it finishes set it to
"Open"?
Just a thought.
Joe Rut
> well, it's 6 of one and ½ a dozen of the other. If you need event
processing to
> continue, you would use the 10 second timer. But, speak/w will pause
until the
> speaking is finished. ECS has a built in method of "catching up". It
will run
> the event loop for every second it is behind just in case there is code
to be
> acted upon. If I remember correctly, there is a variable called
> "Seconds-Behind" that will tell you how many seconds behind you are.
Since ECS
> runs about 4 passes/sec, it catches up 4 seconds for every real second.
So,
> unless you have something that really needs to be watched every second
you can
> probably get away with the speak/w and then process the release of the
relay
> after it finishes. That way your relay is variable with the length of
the
> message spoken. If you have a message longer than 10 seconds you would
have to
> adjust the timer accordingly....etc.
>
> >>> "Frank Herron" <herronfr@hotmail.com> 01/17 10:07 AM >>>
> Do I understand this correctly? Speak/w causes ECS to speak and all
event
> processing stops (waits) for speaking to end? Is this a bad thing?
> Just upgraded to new ECS version and liked it except when I specify
Speak,
> the "speak Relay" immediately opens and closes. Never get to hear the
> message. Speak/w would fix this, or a Speak timer to hold relay closed
for
> 10 secs. Which is the better fix? Thanks.
>
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
subject (prev) or (next) |
time (prev) or (next) |
author (prev) or (next) |
view more subjects