[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Re: Is the MisterHouse guru in residence?
On Saturday 03 May 2003 01:09, Lee wrote:
> Can you supply me with a line of code that does the
following?
>
> When an A1-ON is heard, a timer starts for, say, 60 mins and then it
> switches A1 off.
I'm not the expert, that'd be stubbs. But I can point you to the
set_with_timer() function. For example, I have a unit code which triggers a
nightlight and turns it off 20 minutes later:
# Turn on master nightlight, auto turn off some time later
$Master_Nightlight->set_with_timer('on', 20, 'off');
HTH
ant
--
/\./\
www.ant.org (' ') www.ant.org
()
Megawatt Winged Avenger
Home |
Main Index |
Thread Index
|