The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.