Home Notification using Telegram and Raspberry Pi

In this tutorial, I’ll share with you on how to build a home notification using Telegram and Raspberry Pi. The notification will be sent to the telegram bot when a human or animal passes by. It’s quite easy to do it. Now, let’s do it!

HARDWARE PREPARATION

This tutorial use :

  1. Raspberry PI Zero WH
  2. Maker pHAT
  3. Low Cost PIR Sensor Module
  4. Jumper Wire

You can make the hardware connection based on the diagram and table below.

Connection
PIR Sensor : VCCRaspberry Pi (Maker pHAT) : 5V
PIR Sensor : GNDRaspberry Pi (Maker pHAT) : GND
PIR Sensor : SignalRaspberry Pi (Maker pHAT) : GPIO 17

Video Reference

Please refer to this video to setup the telgram bot.

References :

  1. Raspberry Pi with PIR Sensor
  2. Displaying Telegram Message on Dot Matrix Using Raspberry Pi
  3. Controlling Electrical Appliance Through Telegram Using Raspberry Pi

Sample Code

This is the sample code used for this tutorial. Try it!

Thank you

Thank you for reading this tutorial and we hope it helps your project development. If you have any technical inquiry, please post at Cytron Technical Forum.

5 thoughts on “Home Notification using Telegram and Raspberry Pi”

  1. CODE ERROR

    Traceback (most recent call last):
    File “/home/pi/Documents/homenotification.py”, line 1, in
    import telepot
    File “/usr/lib/python3/dist-packages/thonny/backend.py”, line 305, in _custom_import
    module = self._original_import(*args, **kw)
    ImportError: No module named ‘telepot’

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 Tutorail

Interface 4×4 Keypad With Raspberry Pi
Display Temperature and Humidity on OLED using DHT22 and Arduino
Getting Started With Teensy Using Arduino IDE
Night Light
Arduino Device Tracker Using GSM GPS SIM7600E Module
Scroll to Top