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 Format3 min read
AMD Ryzen 5 8600G
Socket: AM5 Arch: Zen 4 (Phoenix) Process: TSMC 4nm FinFET Cores: 6 Threads: 12 Cache: 384KB L1, 6MB L2, 16MB L3 Speed: 4.3GHz (5.0GHz boost) Unlocked: Yes GPU: Radeon 760M GPU clock: 2.8GHz Compute: 8 units AI: Ryzen AI, 16 TOPS Display: Up to 4, DP
Linux Format1 min read
Kaki Pi
Another Pi-like SBPC appears! From Yuridenk-Shokai in Japan, this packs a Renesas RZ/V2H Coretex-A55/R8/M33 MPU with 80 TOPS of AI. It’s aimed at robotics and has four CSI video inputs along with a PCIe 3 connection. Find out more in Japanese: www.ka
Linux Format2 min read
Moosync
Version: 10.3.2 Web: https://moosync.app There’s no scarcity of music players for the Linux desktop, but what sets Moosync apart from its peers is its ability to seamlessly play local tracks and online music. Moosync offers both DEB and RPM precompil

Related Books & Audiobooks