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 ;-)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] |