Page 8 of 15

Re: Pushover Plugin - push notifications

PostPosted: Tue Jan 17, 2017 9:37 am
by jmdraper
See further up the thread - you can use variable substitution. So for a variable you have already created just put the text %%v:12345%% anywhere in the title or message fields and it will be replaced by the value of the variable when the message is sent. Replace 12345 with your variable ID (go to the variables window, right-click on the variable and choose copy ID, then paste it into the field with %%v: and %% either side)

Re: Pushover Plugin - push notifications

PostPosted: Tue Jan 17, 2017 9:52 am
by MeetKevin
Wow, sweet -- thank you so much!! By the way, would you happen to know if I can create a variable from the title of an email?

E.g., I receive an email that says, "New House for Sale: 124 Main Street."

Variable created: "New House for Sale: 124 Main Street."
And then I can use that variable in my notification message.

Thanks so much again!!



Sent from my iPhone using Tapatalk

Re: Pushover Plugin - push notifications

PostPosted: Tue Jan 17, 2017 10:04 am
by jmdraper
I think you can do that with the Better Email plugin, though I've never used it myself:

viewtopic.php?f=211&t=14340

Re: Pushover Plugin - push notifications

PostPosted: Tue Mar 07, 2017 1:28 pm
by mortenkols
i want to open an app called CamHi when i get a pushover notification. i have tried several urls; camhi:// - CamHi:// - but it dont work.
Any suggestions ?

Re: Pushover Plugin - push notifications

PostPosted: Wed May 03, 2017 12:37 pm
by noefresh
I get Debug notifications all over my log- is there any way to curtail these?

2017-05-01 07:35:00.328 Trigger GarageDoorVariablesSet
2017-05-01 07:35:00.329 Trigger GarageDoorClosePushoverNotify
2017-05-01 07:35:00.332 Pushover Debug Indigo Notification
2017-05-01 07:35:00.333 Pushover Debug Garage Door Closed
2017-05-01 07:35:00.333 Pushover Debug
2017-05-01 07:35:00.334 Pushover Debug

Re: Pushover Plugin - push notifications

PostPosted: Fri Jul 21, 2017 9:01 am
by Japple55
Hoping for an answer here too. What do these debug statements in the log mean, and Is there any way to suppress them? Upgraded to 1.1.5 and they continue. I don't see any debug config in the plugin. TIA

Pushover Debug
Pushover Debug Garage Door is CLOSED
Pushover Debug
Pushover Debug

Re: Pushover Plugin - push notifications

PostPosted: Fri Jul 21, 2017 9:30 am
by jay (support)
Edit the following file in the plugin:

Code: Select all
indigo-pushover.indigoPlugin/Contents/Server Plugin/plugin.py


(right click the plugin in the Finder and select Show Package Contents) and change this line (line #10) from:

Code: Select all
self.debug = True


to:

Code: Select all
self.debug = False


then reload the plugin. The plugin really needs the debug setting stored as a config property so that it can be turned on/off via a config dialog - but it currently doesn't.

Re: Pushover Plugin - push notifications

PostPosted: Fri Jul 21, 2017 9:39 am
by Japple55
Done! Thanks much, Jay!

Re: Pushover Plugin - push notifications

PostPosted: Wed Aug 09, 2017 12:53 pm
by MarcoGT
I use Pushover to send notification to iPhones we have to remind us to give drugs to our daughter,
As we do not have a fix time to give it, we can give it whenever we want during the day. We have a notification set at 9AM, but it could happen that at that time we are not at home.

I would like to respond to that notification saying "Yes, we gave it" or "No, we did not", how can I achieve this? Using URL? How?
If then we respond no, in the evening, a second notification will be sent out.

Re: Pushover Plugin - push notifications

PostPosted: Wed Aug 09, 2017 1:30 pm
by racarter
@MarcoGT

Sounds like Pushover emergency priority might be what you need.

https://pushover.net/api#priority

Re: Pushover Plugin - push notifications

PostPosted: Wed Aug 09, 2017 11:19 pm
by MarcoGT
Thanks, that's what I need, but I do not know if the "emergency" priority is implemented in the the plugin.
I will check it, thanks for the hint

Re: Pushover Plugin - push notifications

PostPosted: Thu Aug 10, 2017 12:30 am
by jmdraper
The plugin doesn’t implement this I don’t think. There are a few options:

1. You can set the URL in the Pushover message to one crafted using Indigo’s RESTful interface (http://wiki.indigodomo.com/doku.php?id= ... stful_urls) to, for example, toggle a true/false variable in Indigo. You can then schedule a repeat reminder that is suppressed if that variable is false, for example. The trouble with this approach is that without opening your Indigo server wide to everyone on the Internet there’s no way I know of doing this if the mobile device you receive the Pushover alert on is outside your home network at the time you click the link

2. What I have done is create a control page using Indigo touch which has a button on it to change a variable value, for example. So that page could ask whether you have given the drugs and have yes and no buttons which set a variable in indigo then proceed as above. You can then set the URL in your Pushover message to open that control page in the Indigo Touch app on the mobile device using the indigo touch URL scheme (http://wiki.indigodomo.com/doku.php?id= ... touch_urls). This has the advantage of working anywhere since Indigo Touch app uses your reflector subscription to connect back to your home network

3. A completely different approach I have also used is to use one of the 3rd party plugins to send iMessage alerts and receive responses and act on them. That way you can just reply yes or no to the text message arrives and Indigo will do the rest. It’s slick because iOS automatically suggests Yes or No in quick type when the content of the iMessage is a question with a binary yes/no question format like “Have you done X?”. If you want more info on that option let me know and I will dig it out for you.

Good luck!
Jon

Re: Pushover Plugin - push notifications

PostPosted: Sun Oct 15, 2017 3:21 pm
by siclark
Along with using variables in the message, is it possible to use device custom states as well? Would be easier than having to write the devices states to variables.

Thanks

Re: Pushover Plugin - push notifications

PostPosted: Sun Oct 15, 2017 3:34 pm
by racarter
Simon

Yep. For example:

%%d:495962617:BatteryVoltage%%

Re: Pushover Plugin - push notifications

PostPosted: Tue Jan 02, 2018 8:17 am
by davinci
1.2.0 is broken:

Pushover Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 53, in send
KeyError: key msgUser not found in dict


I would have to open the message settings and save it, then it works. But this is too much trouble.

I guess this is because the user (which should be optional) has to be in the config. Even if it is empty. This behavior should be fixed.