Pushover Plugin - push notifications

This subforum holds the older topics about this plugin before it was moved to open source. It's locked and only provided as historical reference.
gt3mike
Posts: 234
Joined: Sun Dec 31, 2017 2:01 pm
Location: Colorado

Re: Pushover Plugin - push notifications

Post by gt3mike »

Does the Pushover iOS app support 3D Touch actions on the lock screen? So far I don't see it. I've tried to search for an answer, but this forum software ignores "3D" in searches, so I can't easily search for it.

My use case is I get a push notification if I've left home without arming the alarm. I'd like to use a 3D Touch action on the lock screen notification to arm the alarm. (Not sure how I will do that yet. Maybe it will involve invoking Indigo Touch via URL? One step at a time.)

Thanks!
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

You really need to ask the developer of the iOS app about that.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
gt3mike
Posts: 234
Joined: Sun Dec 31, 2017 2:01 pm
Location: Colorado

Re: Pushover Plugin - push notifications

Post by gt3mike »

It does put "Open URL" on the lock screen in response to a hard press, but it requires unlocking the phone. I'm asking them whether there is a way to invoke a URL without unlocking the phone where I'm calling a trigger and don't need to see the response.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

gt3mike wrote:It does put "Open URL" on the lock screen in response to a hard press, but it requires unlocking the phone. I'm asking them whether there is a way to invoke a URL without unlocking the phone where I'm calling a trigger and don't need to see the response.
Well, posting here you're not asking "them" anything.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
gt3mike
Posts: 234
Joined: Sun Dec 31, 2017 2:01 pm
Location: Colorado

Re: Pushover Plugin - push notifications

Post by gt3mike »

I’ve already asked “them”. Was just posting some info others might find interesting or helpful. Have a nice day. :)
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

Ok, it looked to me like you were asking a question about the iOS client, If not, sorry for the confusion.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
gt3mike
Posts: 234
Joined: Sun Dec 31, 2017 2:01 pm
Location: Colorado

Re: Pushover Plugin - push notifications

Post by gt3mike »

The response from the Pushover iOS app developers is that the only actions that can be done from the Pushover push notification without unlocking the iOS device are actions within the Pushover app itself. Anything that calls another app (such as Open URL) requires unlocking the phone. Makes total sense.

I was hoping there might be a way to invoke Indigo actions from push notifications without having to unlock the phone. Seems like the only way that would be possible would be if Indigo Touch supported push notifications natively. Sounds like an Indigo feature request. I'll take this conversation over there.
WagnerOne
Posts: 151
Joined: Fri Jun 12, 2009 1:58 pm
Location: Chicago, IL
Contact:

Re: Pushover Plugin - push notifications

Post by WagnerOne »

Hi,

Is there a way to bulk edit Pushover entries? Either via db query or a config file somewhere?

I'd like to add a "indigo://" URL to all of my notifications so I can tap to launch the Indigo Touch app.

Thanks!
Mike
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

You mean action groups containing pushover notifications? Or schedules? Or triggers?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

Be very careful. You can break your Indigo install doing this.

1. Shut down Indigo, client AND server.
2. Back up your current Indigo database (<something>.indiDb file)
3. Open the database in a text editor. Like BBEdit or TextWrangler. Not something that does formatted text.
4. Search for "io.thechad.indigoplugin.pushover". You'll find entries like:

Code: Select all

					<Action type="dict">
						<Class type="integer">999</Class>
						<MetaProps type="dict">
							<io.thechad.indigoplugin.pushover type="dict">
								<msgAttachment type="string"></msgAttachment>
								<msgBody type="string">Email received test</msgBody>
								<msgDevice type="string"></msgDevice>
								<msgPriority type="string">0</msgPriority>
								<msgSound type="string">pushover</msgSound>
								<msgSupLinkTitle type="string"></msgSupLinkTitle>
								<msgSupLinkUrl type="string"></msgSupLinkUrl>
								<msgTags type="string"></msgTags>
								<msgTitle type="string">Email received test</msgTitle>
								<msgUser type="string"></msgUser>
							</io.thechad.indigoplugin.pushover>
						</MetaProps>
						<ObjVers type="integer">14</ObjVers>
						<PluginID type="string">io.thechad.indigoplugin.pushover</PluginID>
						<TypeIdPlugin type="string">send</TypeIdPlugin>
						<TypeLabelPlugin type="string">Send Pushover Notification</TypeLabelPlugin>
					</Action>
5. Add the URL string to the appropriate field(s). I don't use Pushover much, so I'm not sure where it goes. Probably msgBody or msgSupLinkUrl. If you have one notification that works the way you want, find it then copy the fields to the others.

6. Repeat for each Action block you find.

7. Save the file, restart Indigo.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
mattyf
Posts: 58
Joined: Mon Apr 15, 2013 11:07 am

Re: Pushover Plugin - push notifications

Post by mattyf »

I can't seem to get this working. I can send notifications through pushover via a shell script fine, but not though the plugin. I'm confused if this is the right forum even, because my plugin version is 2.0.4 according to the plugin menu, but this forum seems to say latest version is 1.4.0?

The only thing I'm not sure of is what's supposed to go in username in the plugin configuration. All my shell script needs is the API and user keys.
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

mattyf wrote:I can't seem to get this working. I can send notifications through pushover via a shell script fine, but not though the plugin. I'm confused if this is the right forum even, because my plugin version is 2.0.4 according to the plugin menu, but this forum seems to say latest version is 1.4.0?

The only thing I'm not sure of is what's supposed to go in username in the plugin configuration. All my shell script needs is the API and user keys.
Don't know what plugin you've got, but it's not the Pushover one. Download the correct one from the Plugin Store: http://www.indigodomo.com/pluginstore/14/
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Dual
Posts: 296
Joined: Tue Feb 05, 2019 6:01 pm

Re: Pushover Plugin - push notifications

Post by Dual »

How do I get my energy meter energy usage value into my pushover notification? I found the post for using variables: %%v:12345%%
Is there a way to do it directly without a variable?
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

Dual wrote:How do I get my energy meter energy usage value into my pushover notification? I found the post for using variables: %%v:12345%%
Is there a way to do it directly without a variable?
If it's a device state, then you can do that substitution as well.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
dduff617
Posts: 662
Joined: Wed Jul 05, 2006 10:50 am
Location: Massachusetts, USA

Re: Pushover Plugin - push notifications

Post by dduff617 »

if your energy meter usage value is a property of an indigo device, then you can use the syntax "%%d:nnnnnn:stateid%%", where you would replace "nnnnnn" with the numeric deviceID and "stated" with the name of the state.
Locked

Return to “Archives”