Page 1 of 1

Pushover notification without sound

Posted: March 20th, 2016, 9:35 am
by bbaraniec
I'm running 1.0.0 [a58bb38] on MacOS. All Pushover notification that I have set to test (start up/shutdown, job failed, warning, error) are coming to pushover without sound.
Only "Test Notification" comes with default Pushover sound.

Re: Pushover notification without sound

Posted: March 20th, 2016, 11:04 am
by shypike
From PushOver's API documentation:
If no sound parameter is specified, the user's default tone will play. If the user has not chosen a custom sound, the standard Pushover sound will play.
We don't send a sound parameter, so the default sound should play.
Each event does have a priority and possibly priorities have an influence on sound as well.

Re: Pushover notification without sound

Posted: March 20th, 2016, 12:15 pm
by bbaraniec
Should but it doesn't. There are two default sounds for low and high priority to be set on Pushover side. Like I said, only when I use "Test Notification" it comes with sound.
Other events regardless of the priority are coming silent.

Re: Pushover notification without sound

Posted: March 20th, 2016, 1:56 pm
by shypike
The test message is sent with the priority of event category "other".
So check what "other"'s priority setting is. That one produces sound.

Re: Pushover notification without sound

Posted: March 20th, 2016, 2:25 pm
by bbaraniec
"Low" is not working. "High" sends the sound ok. Third option is "Confirm" which returns error:
Error: Bad response from Pushover (400): {"expire":"must be supplied with priority=2","errors":["expire must be supplied with priority=2"],"status":0,"request":"xxx"}

Re: Pushover notification without sound

Posted: March 21st, 2016, 5:45 pm
by bbaraniec
Any update to this?

Re: Pushover notification without sound

Posted: March 22nd, 2016, 2:39 am
by shypike
We'll look for a solution in release 1.0.1

Re: Pushover notification without sound

Posted: March 22nd, 2016, 3:28 pm
by shypike
I did some fixes to support the current PushOver API better (will be in 1.0.1).

The sound however is a different matter.
I tested with the iOS app and it worked OK.
But I did notice one anomaly in PushOve itself.
Initially there was no sound for anything except the Test message.
Only after I had set the default sound to another one and then back to the PushOver default, the sound worked as it should.
To me: that's a bug in PushOver.

Re: Pushover notification without sound

Posted: March 22nd, 2016, 5:19 pm
by bbaraniec
For me sound works only with High priority, I have been changing default sounds too. Maybe in further implementations you can let us choose sound, that seems to be working ok for other apps I'm using.

Re: Pushover notification without sound

Posted: March 23rd, 2016, 3:14 am
by shypike
We just follow the API. Specifying no sound means a default sound should be used.
If it doesn't, then this clearly points to a bug in PushOver.