Video how-to for this project:
Step 1: Download Raspberry Pi Code for This Project
Step 2: Download Nmap to Your Raspberry Pi
sudo apt-get install nmap
Step 3: Personalize the Code for Your Email Address and Phone Number
1. The email address that you want alerts sent to (i.e. Where you receive alerts)
2. The email address and password of the account that you want to send alerts from
3. The phone number that you want to alerts sent to. You'll need to input the appropriate email-sms gateway for this phone number, all of which are noted in the code for major cell phone providers. For instance, you would type in email@example.com to send a text message to phone number 202-555-1212 if that phone number is an AT&T subscriber.
4. The MAC address of the smartphone you carry with you. This is the phone that the program will constantly search for on your home network and will detect when you first return home.
Step 4: Run the Program!
Click on RUN and then click on RUN MODULE. You should see a new Python shell pop up and the program start to search for your iPhone.