The folks over at Diligence Technologies have written an interesting Instructable that can be used for simple home security. A Pi is connected to a camera module and then a piece of software written in Python is used to detect motion and then send a notification to you, via the PushBullet web service platform. Take a look at the tutorial here and look at their code here. A video walk-through is shown below: