I have something similar setup, albeit a mite more complex.
I, too, have X-10 setup but I also got a freebie motion detector.
I figured I might as well put it to some use, so I decided to
make an alarm clock (no, more alarm SYSTEM) that used it. The way
it is configured now, I have the motion detector near my computer
where it cannot see the bed (very well (I need to block its range a bit more)).
the alarm system is just a big ol'e perl script that gets activated
by a cron job and turns on a bunch of noisy/bright x-10 devices.
the catch is that it checks the motion detector until it actually
detects movment (as in I actually got up). the system also,
just to top things off, checks a list of holidays to see if it should
actually bother waking me up and best yet: checks for school closings (snow days).
now all i need to do is have it tilt up my bed, drop me through the floor
and into some nice, mechanical trousers. oh, wait, that's already been done ;-)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|