/RPIMotion

Raspberry Pi PIR Motion Detection Scripts

Primary LanguagePython

Raspberry Pi Motion Detection.

What you'll need.

Raspberry Pi Computer

Passive Infrared Motion Sensor (You only need the one but I order five at a time)

Solderless Breadboard

And you'll also need some wires to connect it all together. To see what goes where have a look at my blog post Raspberry Pi PIR Motion Detection

##motion2sms.py

This Python script detects motion from the PIR and sends an SMS text message via the TextLocal service (in the UK) using their HTTP based API.

motion2gmail.py

Based on the same concept as the SMS motion detection this will send an email to your Gmail account. You need to set the username, password in the sendEmail() method. Also be careful not to send too many emails out from your Pi, you don't want to upset Google.