Pushover Plugin - push notifications

Posted on
Thu Apr 08, 2021 2:39 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

New release available: https://github.com/IndigoDomotics/indig ... /tag/1.7.0

New in 1.7.0:

Fetches sound list (including user custom sounds) from PushOver on startup. If you add new custom sounds, restart the plugin

New in 1.6.0 (which I forgot to release to the store):

Added support for multiple app tokens

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Jun 09, 2021 3:52 am
boekweg offline
Posts: 70
Joined: Oct 02, 2010
Location: Netherlands

Re: Pushover Plugin - push notifications

Hi Joe,

I installed the new version of the pushover plugins but it does not show the pushover sounds anymore, I now only have the standard PO sound available.
Do I need to do anything else? I reloaded the plugin multiple times.

- Paul

Posted on
Wed Jun 09, 2021 3:54 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Any errors in the log?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Jun 09, 2021 4:04 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

And turn on debug logging and restart the plugin, then post the log.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Jun 15, 2021 4:13 am
boekweg offline
Posts: 70
Joined: Oct 02, 2010
Location: Netherlands

Re: Pushover Plugin - push notifications

After reloading:

15 Jun 2021 at 12:09:45
Reloading plugin "Pushover 1.7.0"
Stopping plugin "Pushover 1.7.0" (pid 548)
Pushover Debug shutdown called
Stopped plugin "Pushover 1.7.0"
Starting plugin "Pushover 1.7.0" (pid 623)
Pushover Debug logLevel = 5
Started plugin "Pushover 1.7.0"
Pushover Debug startup called
Pushover Warning Error getting alert sounds list: 'sounds'

After execute of a trigger:

Pushover Debug get_app_tokens = [(u'a6gvkpzosbaa4y2h1qi8afof1id4x4', u'Jeemz')]
Pushover Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 50, in get_sound_list
AttributeError: 'Plugin' object has no attribute 'sounds'

Pushover Debug get_app_tokens = [(u'a6gvkpzosbaa4y2h1qi8afof1id4x4', u'Jeemz')]
Pushover Error Error in plugin execution GetUiDynamicList:

Traceback (most recent call last):
File "plugin.py", line 50, in get_sound_list
AttributeError: 'Plugin' object has no attribute 'sounds'


15 Jun 2021 at 12:08:56
Trigger Test triggr for testing pushover
Pushover Debug send pluginAction.props = io.thechad.indigoplugin.pushover : (dict)
appToken : a6gvkpzosbaa4y2h1qi8afof1id4x4 (string)
msgAttachment : (string)
msgBody : Testing testing (string)
msgDevice : (string)
msgPriority : 0 (string)
msgSound : (string)
msgSupLinkTitle : (string)
msgSupLinkUrl : (string)
msgTags : (string)
msgTitle : Message from Jeemz (string)
msgUser : (string)
Pushover Debug appToken = a6gvkpzosbaa4y2h1qi8afof1id4x4
Pushover Debug Result: {"info":"no active devices to send to","status":1,"request":"8276dc21-60ac-43bc-8879-836bf3907a9c"}
Pushover Pushover notification was sent sucessfully, title: Message from Jeemz, body: Testing testing

Posted on
Tue Jun 15, 2021 6:11 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Release 1.7.1 now on the plugin store fixes this issue.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jun 19, 2021 5:09 am
boekweg offline
Posts: 70
Joined: Oct 02, 2010
Location: Netherlands

Re: Pushover Plugin - push notifications

Check, it works great again now. Thanks!

Posted on
Sun Jul 04, 2021 7:02 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Pushover Plugin - push notifications

I was reading this thread: Notification best practices?

So I decided to give this plugin (PushOver) a try.

I am running on Big Sur 11.4, Indigo 2021.1 on a 2020 Intel Mac mini.

I have setup a trial PushOver account and two devices: iPhone & Desktop.
I can successfully send a pushover message from the PushOver web interface and it is received on my iPhone OK.
I also set-up an API key for the Indigo Domotics (Application).

I installed the plugin (V 1.7.1) from the Indigo Plugin Store and entered my user key in the plugin config.

I then tried to set up a notification PushOver action but the API key has a pull-down saying - select an item - but no API key is listed or is able to be entered..

When I start the plugin (with debug) I am getting the following messages:
Starting plugin "Pushover 1.7.1" (pid 12285)
Pushover Debug logLevel = 10
Started plugin "Pushover 1.7.1"
Pushover Debug startup called
Pushover Warning Error getting alert sounds list: 'sounds'
Pushover Debug Sounds = OrderedDict([(u'pushover', u'Pushover (default)'), (u'bike', u'Bike'), (u'bugle', u'Bugle'), (u'cashregister', u'Cash Register'), (u'classical', u'Classical'), (u'cosmic', u'Cosmic'), (u'falling', u'Falling'), (u'gamelan', u'Gamelan'), (u'incoming', u'Incoming'), (u'intermission', u'Intermission'), (u'magic', u'Magic'), (u'mechanical', u'Mechanical'), (u'pianobar', u'Piano Bar'), (u'siren', u'Siren'), (u'spacealarm', u'Space Alarm'), (u'tugboat', u'Tug Boat'), (u'alien', u'Alien Alarm (long)'), (u'climb', u'Climb (long)'), (u'persistent', u'Persistent (long)'), (u'echo', u'Pushover Echo (long)'), (u'updown', u'Up Down (long)'), (u'vibrate', u'Vibrate Only'), (u'none', u'None (silent)')])

I am obviously missing something? Any ideas? :)

Posted on
Sun Jul 04, 2021 7:09 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

You need to enter the APP token in the manage tokens dialog, which is a menu item.

Also, APP tokens are not required. They're only there to allow you to do different things in the Pushover client based on which "app" sent the notification.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 04, 2021 7:47 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Pushover Plugin - push notifications

Hi Joe,
FlyingDiver wrote:
You need to enter the APP token in the manage tokens dialog, which is a menu item.

Also, APP tokens are not required. They're only there to allow you to do different things in the Pushover client based on which "app" sent the notification.

All working now - thanks. :D

Posted on
Tue Jul 06, 2021 5:29 pm
SearchCz offline
Posts: 172
Joined: Sep 18, 2019

Re: Pushover Plugin - push notifications

I've been using pushover notifications for a while now. My initial idea was to get a pop-up on my TV when something noteworthy occurred in my home. Things like doors and gates and motion occurring when I expect everyone in the house to be settled down already. Works great and I love it.

But now, on to Phase 2, I've started to send notifications to my iPhone as well, particularly about things happening in the home when I am not there. This is also working well - AND - I want to figure out a way to make that notification actionable. For example, if my notification is about a door I left unlocked, I'd like to include a link that results in theat door getting locked.

SO ... what kind of link can I construct to tickle a trigger in Indigo ... while I am away from home ?

Posted on
Mon Sep 20, 2021 4:45 pm
SearchCz offline
Posts: 172
Joined: Sep 18, 2019

Pushover Configuration is Boogered Up

I had a problem with my pushover plugin while I was away from home. Now I am back home and trying to reconfigure it on my Indigo server (and pushover.net). Having loads of problems. I see pushover v1.7.1 as active in my plugins list, but the popup menu options to configure or manage app tokens won't work consistently. Sometimes I can get in to update my keys, sometimes not so much.

Anyways, pushover notifications are no longer working, but the plugin is active. When I try to add a pushover notification action to an action group, I get the spinning disc. And a bunch of timeout messages:

Error (client) timeout waiting for plugin response from io.thechad.indigoplugin.pushover for request UiGetValues2
Error (client) timeout waiting for plugin response from io.thechad.indigoplugin.pushover for request CallPluginFunc
Error (client) dialogForActionId() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
Error (client) timeout waiting for plugin response from io.thechad.indigoplugin.pushover for request UiGetValues2
Error (client) timeout waiting for plugin response from io.thechad.indigoplugin.pushover for request CallPluginFunc
Error (client) dialogFor

Any remedy greatly apprecited !

Posted on
Mon Sep 20, 2021 4:47 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Did you restart the plugin? Or the Indigo client?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Sep 20, 2021 5:41 pm
SearchCz offline
Posts: 172
Joined: Sep 18, 2019

Re: Pushover Plugin - push notifications

FlyingDiver wrote:
Did you restart the plugin? Or the Indigo client?

Yes and yes. Also restarted the Indigo server. Trying a reboot of the hardware now.

Posted on
Mon Sep 20, 2021 5:52 pm
SearchCz offline
Posts: 172
Joined: Sep 18, 2019

Re: Pushover Plugin - push notifications

FlyingDiver wrote:
Did you restart the plugin? Or the Indigo client?


It seems to be choking up on the app tokens now?

Pushover Error Post Error - Result: {"token":"invalid","errors":["application token is invalid"],"status":0,"request":"97135c40-0d5a-4097-9a80-662686c0d516"}

I do have an app token configured, but I am not using it in this particular call. I don't even know how to specify the app token from python script.

I also cannot delete my configured tokens.

Pushover Error Error in plugin execution UiAction:

Traceback (most recent call last):
File "plugin.py", line 190, in deleteTokens
KeyError: (u'a2nerc5bgjkwyj9zjysnbvopg2879s',)

Who is online

Users browsing this forum: No registered users and 0 guests