in reply to
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 ;-)