I am interested in setting up a project where a motion sensor is tripped and an email is sent to my GMAIL account. I am new to Linux so I am not sure where to start. Can anyone help guide me to the commands needed to accomplish this?
Try google search !!!!! This is what I came up with . http://www.nixtutor.com/linux/send-mail ... th-python/
Install PHP, configure it so the standard mail() function works, or better use some classic mail library. Download and compile the Pilot.ino sketch to the Arduino due. https://github.com/francescom/Pilot.ino Then start from the pushbutton or the testpilot examples. They will make a good starting point for a looping script (never ending) that may read sensor and add the email sending part. Remember to check for changes in conditions (if sensor >threshold and before it wasn't for at least some time) not just send an email every time the condition is met or you will get 10000s of mails easily.