Chapter 11PhotoHook
In this project, we’ll create a Python script that will transmit a notification with an accompanying photo whenever motion is detected near the location of the Pi.
Prior projects in this book have relied on email messages as the predominant way to receive event notifications. But email is so twentieth century. It offers a tried-and-true, pull-to-retrieve message mechanism that works best for long-form messages benefiting from permanent record storage. But for the types of messages that just need a quick alert, email is slow and heavy. Something like a desktop or smartphone notification push message would be more beneficial. Fortunately, we already used a service that has a robust client capable of displaying notifications ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access