Send Photo of Burglar To IoT Telegram Bot Using Raspberry Pi

Send Photo of Burglar To IoT Telegram Bot Using Raspberry Pi

Introduction

Continue from the previous tutorial regarding Telegram and Raspberry Pi, this time I would like to share on how we can add a camera to capture a photo and send it to the Telegram. Then, by adding a magnetic contact switch sensor, we can make the process to become auto capture. When developing this tutorial, I’m thinking of burglar alert application. Maybe you can use it for other application too. Please read through following tutorial first:

Video

This video shows how to send photo to Telegram using Raspberry Pi.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is python 3 sample program to capture a photo and send it to the Telegram. Please insert your Telegram Bot token at line 44.

Thank You

References:

Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.

Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Reading QR Code Using Raspberry Pi Camera
Send Photo of Burglar To IoT Telegram Bot Using Raspberry Pi
Program PikaBot Using mBlock
Monitor Temperature Humidity Using IoT Telegram Bot on ESP32
Control PikaBot Using a Phone Through Bluetooth
Scroll to Top