Questions tagged [pushover]

Pushover is a simple push notification service that integrates easily into web apps like IFTTT, network monitoring systems like Nagios, shell scripts, servers, and anything else that needs to send alerts to your Android, iPhone, iPad, and Desktop.

Pushover is a simple push notification service that integrates easily into web apps like IFTTT, network monitoring systems like Nagios, shell scripts, servers, and anything else that needs to send alerts to your Android, iPhone, iPad, and Desktop. Now includes home-screen and lock-screen widgets for Android 4.0+, support for sending notifications to Pebble watches, a DashClock extension, and a Tasker event plugin! Visit https://pushover.net/ to find apps, plugins, and services that support Pushover, or get a free API key to create your own app.

25 questions
12
votes
7 answers

Best way to implement push notifications with Firebase

I am an iPhone app coder, and I'm using Firebase as my backend server. Firebase doesn't support Push Notifications, so I've been trying to figure out how to include them in my app. I've read this question: How to send an alert message to a special…
Philip Sopher
  • 627
  • 2
  • 8
  • 19
7
votes
1 answer

curl -F line break not interpreted correctly

I'm trying to send a notification via pushover using curl in a bash script. I cannot get curl -F to interpret the line break correctly though. curl -s \ -F "token=TOKEN" \ -F "user=USER" \ -F "message=Root Shell Access on HOST \n `date` \n `who` "…
Touff
  • 235
  • 1
  • 3
  • 7
3
votes
1 answer

Julia HTTP POST request with image attachment

I'm struggling implementing a POST request with image attachment with the Julia HTTP package. In Python I can do (source from Pushover): import requests r = requests.post("https://api.pushover.net/1/messages.json", data = { "token": "APP_TOKEN", …
Marian
  • 33
  • 4
2
votes
1 answer

"ImportError: cannot import name..." when trying to run Python script in Docker

I have a Python script I would like to run in a Docker container but it stops with error: File "main.py", line 1, in from pushover import init, Client ImportError: cannot import name 'init' from 'pushover'…
2
votes
1 answer

pushover + curl --form-string: is badly used

I'm trying to use pushover and getting the following error: $ /usr/bin/curl -s \ --form-string "token=mysecrettoken" \ --form-string "user=mysecret user" \ --form-string "hola!" \ https://api.pushover.net/1/messages.json curl: option…
Ignacio
  • 7,646
  • 16
  • 60
  • 113
2
votes
1 answer

Pushover Acknowlage in python

Im having some issue trying to get ackknowalgemtns working with python. thus far my code posts the message and gets the JSON sting in return but now i need a way to get the receipt out of the string import requests app_token = 'app token' user_token…
shaggs
  • 600
  • 7
  • 27
1
vote
0 answers

Why does pushoverr::pushover() inconsistently reach time limit?

I have a script that loops some code across about 200 iterations. Each iteration takes about two minutes to complete, and each iteration ends with a push message using pushoverr::pushover(). Occassionally, the push message is not sent and I instead…
Christian
  • 932
  • 1
  • 7
  • 22
1
vote
1 answer

"Invalid Argument" Message when sending post for Pushover API

we're currently using pushover, to send messages to our Servicedesk, when our Monitoring finds Errors within our systems. Our system collects the data, creates a message, and then sends the needed arguments to a perl script: use LWP::UserAgent; use…
RhoGu
  • 11
  • 3
1
vote
2 answers

Python with Pushover: No module named pushover

I tested a python script to send anythink with Pushover. But I get the error "ImportError: No module named pushover" My installed Versions: # pip install python-pushover Collecting python-pushover Using cached…
user10663015
1
vote
0 answers

Pushover javascript - Sending message issues

Hey guys im trying to send a push message to my phone using the pushover libary (pushover.net). Actually I failed pretty fast in fact Im getting a 400 Bad request error from jquery AJAX call. Here is my code, whats wrong ? $.ajax({ …
reByte
  • 83
  • 7
1
vote
1 answer

How to get device_id for Pushover.net login?

I must be missing something. I'm trying to make an application that will just receive notifications, just a simple C# program. In the messages request, they say "Include the user secret and device_id parameters in the GET request ". The device_id…
user123189
  • 51
  • 2
1
vote
1 answer

python acknowlage in pushover using dict

I'm having trouble trying too get an acknowledgement from pushover using python. In my script I'm using a dict to send the same message to 2 people and record once the message has been acknowledged. The reason I'm doing it this way and not in a…
shaggs
  • 600
  • 7
  • 27
1
vote
0 answers

Building a queue for sending notifications to the pushover API

I've build a little website where users are able to send notifications to other users through pushover (https://www.pushover.net). Everything is working fine except the limitation besides pushover (https://pushover.net/api#limits): "Do not send…
1
vote
0 answers

How do I unittest multiprocessing callback methods in python?

I'm creating a wrapper for the Pushover API called py_pushover. One of the features is the ability to connect directly with their servers using a websocket. I've run into a little snafu when trying to 'test' my asynchrounous code. Running the…
James Mertz
  • 8,459
  • 11
  • 60
  • 87
1
vote
1 answer

Chrome extension search for string then perform something

Through research and other bits of code I've almost cobbled together my own chrome extension which will use the Pushover notification service to send an alert should a page load in chrome which has certain text in it. I've managed to get my…
manners
  • 169
  • 1
  • 2
  • 10
1
2