<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Just a little some thing I found for *nix....&nbsp; :)
<br><tt></tt>&nbsp;<tt></tt>
<p><tt># !/bin/sh</tt>
<br><tt># coffee making script???</tt>
<br><tt>#</tt>
<br><tt>kettle -fill</tt>
<br><tt>kettle -boil &amp;</tt><tt></tt>
<p><tt>mkdev /dev/mug</tt>
<br><tt>mke2fs /dev/mug</tt>
<br><tt>mount /dev/mug /mug</tt><tt></tt>
<p><tt>cp /pantry/jar/coffee /mug</tt>
<br><tt>cp /pantry/jar/sugar /mug</tt>
<br><tt>cp /fridge/bottle/milk /mug</tt><tt></tt>
<p><tt>#kettle should be done by now!</tt>
<br><tt>cp hot-water /mug</tt><tt></tt>
<p><tt>echo Enjoy your coffee!</tt><tt></tt>
<p><tt>#end</tt>
<p>Tony Langdon wrote:
<blockquote TYPE=CITE>> > To make a power switch controlled by a PC, and
to then make
<br>> an Infrared
<br>> > input for the switch. - so i can use a remote to turn on
<br>> and off, say ...
<br>> > the kettle (cant think of much better things, than watchin
<br>> TV and starting
<br>> > the kettle with out getting up ;)
<p>Shouldn't be too hard...&nbsp; The Coffee HowTo has some sketchy ideas.&nbsp;
For on
<br>off applications, one can use one bit the printer port to drive an
opto
<br>isolator/triac or relay combination (don't forget the isolation!!!!!!).&nbsp;
If
<br>you want non simultaneous control of up to 256 devices, you could decode
the
<br>8 pins of the printer port.&nbsp; An alternative approach is a serial
controlled
<br>PIC based system, which could operate completely standalone if you
wanted
<br>to.&nbsp; As an aside, I could do such control over a wider range with
the IRLP
<br>box...&nbsp; "Press hash to boil the kettle..." :-)
<p>> >
<br>> > If it could also repeat the Infrared signal as well ? (eg.
<br>> sender) it
<br>> could
<br>> > turn on the Stereo in another room ;-)
<p>This one is better handled outside the PC.&nbsp; There have been kits
for "infra
<br>red repeaters" over the years.
<p>---
<br>Outgoing mail has been scanned for Viruses.
<br>Checked by AVG anti-virus system (<a href="http://www.grisoft.com">http://www.grisoft.com</a>).
<br>Version: 6.0.368 / Virus Database: 204 - Release Date: 29/05/2002
<br>&nbsp;
<p>This correspondence is for the named person's use only. It may contain
<br>confidential or legally privileged information or both. No confidentiality
<br>or privilege is waived or lost by any mistransmission. If you receive
this
<br>correspondence in error, please immediately delete it from your system
and
<br>notify the sender. You must not disclose, copy or rely on any part
of this
<br>correspondence if you are not the intended recipient.
<p>Any opinions expressed in this message are those of the individual sender.
<p>To unsubscribe: send mail to majordomo@wireless.org.au
<br>with "unsubscribe melbwireless" in the body of the message</blockquote>
</html>