hello and welcome to my channel
today i am going to show you how to use PIR Motion Sensor
with raspberry pi and send a push notification on your android or iPhone
this is my PIR Motion sensor Module
it has 2 knobs one for range settings
and second for timing settings
you can find the pinout under the plastic cap
Pins are VCC, Ground & Data Out
i have already connected this pins to my raspberry pi
here i have written a simple program using while loop in python
and you can see LEDs are blinking when motion is detected.
now i want a notification on my android phone whenever motion detected.
for that go to pushetta.com and signup its free.
then login with username
and password
now go to dashboard you will find the API key save that in notepad
under the channel create a new channel and save that channel name.
now in python i m importing two libraries, a function for pushetta
and a push notification details with API key,Channel name and Custom Message
Now Grab your phone and install the pushetta app from play store
after that open the app,goto subscription
search for channel name that
you have created and subscribe for channel
so now whenever motion detected
you will get a push notification
immediately on your android phone.
Thanks for Watching and Subscribe for More Videos
