Bit of an old post, but it’s still a great project to do!
Richard Lynch is a Boston, MA-based software engineer who loves the Raspberry Pi. He decided to use the Pi to monitor whether his garage door had opened. To do this, he used the usual equipment plus a magnetic sensor to determine the state of the door. He then did a bit of programming that would email, tweet and SMS when the door opened. Read about it here and here.