Page 1 of 1

FR: Run 2 Push? PushBack? something clever.....

Posted: Sat May 29, 2021 11:08 pm
by trusselo
Idea:

Push a note when woke from sleep.
Push a note on boot.
Push a note when X application is running
Push a note on shutdown
ect....

Re: FR: Run 2 Push? PushBack? something clever.....

Posted: Sun May 30, 2021 11:33 am
by RobLatour
you can already do this using curl.

Just put the following in a .bat file

set PushbulletAPI="o.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
curl -u %PushbulletAPI%:YourDeviceName https://api.pushbullet.com/v2/pushes -d type=note -d title="Leave a message" -d body="this is some text"

and combine it with the action you want taken.

For more on curl, please see here: https://stackoverflow.com/questions/271 ... ws-console

Re: FR: Run 2 Push? PushBack? something clever.....

Posted: Sun May 30, 2021 9:38 pm
by trusselo
your given link, tells of 5 different ways to install curl. great. pick one... direct link seems easy.

WTF is curl? here let me go google....
bat scripts... great.... more RESEARCH
How do i run a script a wake from sleep?
more F-ING RESEARCH....

So now i have some Pushbullet actions in Push2Run, some running on an android device, some running on Home Assistant, some in IFTTT and now some in Batch scripts managed by task manager

AWESOME!!!!! so simple. (sarcasm bleeding out my eyes)