Hah, this reminds me of one of the first programs I wrote for personal use. My Macbook at the time had an accelerometer or gyro of some kind. So I made a program to monitor the output from that sensor, and it would send me an email when the motion stopped. I'd run the program, set the laptop on top of my running dryer, and go upstairs. In retrospect it was probably not smart to leave a laptop on top of the dryer for an hour :)