Linux Format

Sensor-triggered Telegram alert system

In this month’s tutorial we will be creating a project that will alert us to any movement via a passive infrared (PIR) sensor. This will trigger a message to be sent to a service called IFTTT, which is used to receive inputs from various other services and then send outputs to other services. This message to IFTTT will trigger an output and image to be sent to a Telegram account alerting us to an intruder.

With the Raspberry Pi powered off, connect the PIR sensor to the GPIO using the three jumper wires. Connect GND to GND, VCC to the 5V pin of the Raspberry Pi. Lastly, connect the output pin of the sensor to GPIO17 of the Raspberry Pi.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format4 min read
Linux
The #1 open source mag Future Publishing Limited, Quay House, The Ambury, Bath, BA1 1UA Email contact@linuxformat.com EDITORIAL Editor-in-chief Neil Mohr Art editor Fraser McDermott Production editor Katharine Davies Group editor-in-chief Graham Bar
Linux Format2 min read
Suitability For Beginners
These distros are focused on a technical area of computer use, penetration testing, but that doesn’t mean they’re T not suitable for beginners in this discipline. It’s not much of a surprise that a Gentoo-based distro like Pentoo is more complicated
Linux Format3 min read
Hacker Distros
Kali has it all if you want a pre-made networkhacking distribution. It has an impressive number K of editions to cover most installation scenarios, plus a slick-looking lightweight desktop and a huge set of built-in, well-categorised hacking tools. I

Related Books & Audiobooks