Skip to content

We'll look at how we can automate Push notifications using Pushbullet.

Notifications You must be signed in to change notification settings

triposat/Push_Notification_to_your_Phone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation


Prettier Size
sds

Let's have a look at the step-by-step implementation:

  • Set up a Pushbullet account on your PC and Phone
    • For PC
    • For Phone
      • Install the Pushbullet app on your phone.
      • Log in using the same email address that you used to log in to your PC.
  • Let's begin applying this script once we've set up the account on both devices.
    • Install the following modules listed below

      pip install pushbullet.py==0.9.1 # Used for sending the Push notifications.
      pip install pywebio # Used for the interface at the output window.
    • Import the following modules

      from pushbullet import PushBullet  # pip install pushbullet.py==0.9.1
      from pywebio.input import *  # pip install pywebio
      from pywebio.output import *
      from pywebio.session import *
      import time
    • Go to Pushbullet and obtain the access token.

    • Get your Access Token and use the PushBullet method to create an instance by providing the Access Token in the PushBullet function.

    • Use the push_note function to send data and text inside the function. push_note will take two arguments i.e. data and text. the first argument will work as a Heading in the notification where second argument is a text.

Output #1:

Output #2:

About

We'll look at how we can automate Push notifications using Pushbullet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages