Page 12 of 15

Re: Pushover Plugin - push notifications

PostPosted: Thu Oct 18, 2018 6:28 pm
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!

Re: Pushover Plugin - push notifications

PostPosted: Thu Oct 18, 2018 6:29 pm
by FlyingDiver
You really need to ask the developer of the iOS app about that.

Re: Pushover Plugin - push notifications

PostPosted: Thu Oct 18, 2018 6:57 pm
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.

Re: Pushover Plugin - push notifications

PostPosted: Thu Oct 18, 2018 6:58 pm
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.

Re: Pushover Plugin - push notifications

PostPosted: Thu Oct 18, 2018 7:21 pm
by gt3mike
I’ve already asked “them”. Was just posting some info others might find interesting or helpful. Have a nice day. :)

Re: Pushover Plugin - push notifications

PostPosted: Thu Oct 18, 2018 7:25 pm
by FlyingDiver
Ok, it looked to me like you were asking a question about the iOS client, If not, sorry for the confusion.

Re: Pushover Plugin - push notifications

PostPosted: Fri Oct 19, 2018 4:55 pm
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.

Re: Pushover Plugin - push notifications

PostPosted: Mon Oct 22, 2018 9:11 am
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

Re: Pushover Plugin - push notifications

PostPosted: Mon Oct 22, 2018 9:12 am
by FlyingDiver
You mean action groups containing pushover notifications? Or schedules? Or triggers?

Re: Pushover Plugin - push notifications

PostPosted: Mon Oct 22, 2018 9:24 am
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.

Re: Pushover Plugin - push notifications

PostPosted: Fri Nov 23, 2018 10:15 pm
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.

Re: Pushover Plugin - push notifications

PostPosted: Sat Nov 24, 2018 7:30 am
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/

Re: Pushover Plugin - push notifications

PostPosted: Fri Feb 22, 2019 7:57 pm
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?

Re: Pushover Plugin - push notifications

PostPosted: Fri Feb 22, 2019 8:10 pm
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.

Re: Pushover Plugin - push notifications

PostPosted: Fri Feb 22, 2019 8:15 pm
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.