Automating Home Notification

    ____________________________
   /                            \
  |     "Using iOS Shortcuts    |
  |    and Raspberry Pi to     |
  |    send an automation      |
  |    notification when I'm   |
  |    close to home!"         |
   \____________________________/
            

Press "Next" or use Arrow Keys to continue.

Step 1: Setup iOS Shortcut

            ______________________
           |  📱 iOS Shortcut   |
           |  app creation:     |
           |  "SSH to Pi"       |
           |                    |
           |  - Trigger on      |
           |    proximity to    |
           |    home            |
           |  - SSH command     |
           |    to Pi (SSH key) |
           |                    |
           |____________________|
            

Press "Next" or use Arrow Keys to continue.

Step 2: Create SSH Command in Shortcut

    +-------------------------------+
    |  - SSH Command:               |
    |    ssh user@raspberrypi.local  |
    |                               |
    |  - Execute script on Pi       |
    |    "python3 /home/pi/speak.py" |
    |                               |
    |  -> Send command to Pi        |
    +-------------------------------+
   [ Proximity-based trigger sends ]
   [ SSH command when near home!   ]
            

Press "Next" or use Arrow Keys to continue.

Step 3: Set up Raspberry Pi with Piper

            +-------------------------------+
            |  Raspberry Pi Setup:          |
            |  - Install Piper:             |
            |    sudo apt install piper     |
            |                               |
            |  - Write a Python script      |
            |    to run Piper:              |
            |    python3 /home/pi/speak.py  |
            |                               |
            |  - Sample script to speak:    |
            |    "Welcome home!"            |
            +-------------------------------+
            [ Raspberry Pi speaks when    ]
            [ SSH command received!       ]
            

Press "Next" or use Arrow Keys to continue.

Step 4: Test & Enjoy

            +-------------------------------+
            |  Test the setup:              |
            |  - Drive close to home.       |
            |  - iPhone sends SSH command   |
            |    to Raspberry Pi.           |
            |  - Raspberry Pi speaks:      |
            |    "Welcome Home!"            |
            +-------------------------------+
   [ Enjoy your automated home! ]
            

Press "Next" or use Arrow Keys to continue.

Done!

    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
    [ Home automation complete! ]
    ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
            

Thank you for watching!