Pushover Plugin - push notifications

Posted on
Tue Jan 17, 2017 9:37 am
jmdraper offline
Posts: 103
Joined: Sep 11, 2014
Location: Surrey, UK

Re: Pushover Plugin - push notifications

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)

Posted on
Tue Jan 17, 2017 9:52 am
MeetKevin offline
Posts: 8
Joined: Jul 04, 2015

Re: Pushover Plugin - push notifications

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

Posted on
Tue Jan 17, 2017 10:04 am
jmdraper offline
Posts: 103
Joined: Sep 11, 2014
Location: Surrey, UK

Re: Pushover Plugin - push notifications

I think you can do that with the Better Email plugin, though I've never used it myself:

viewtopic.php?f=211&t=14340

Posted on
Tue Mar 07, 2017 1:28 pm
mortenkols offline
Posts: 198
Joined: Oct 29, 2014
Location: Norway

Re: Pushover Plugin - push notifications

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 ?
Attachments
Skjermbilde 2017-03-07 kl. 20.25.54.png
Skjermbilde 2017-03-07 kl. 20.25.54.png (71.46 KiB) Viewed 5001 times

Posted on
Wed May 03, 2017 12:37 pm
noefresh offline
Posts: 119
Joined: Sep 10, 2013

Re: Pushover Plugin - push notifications

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

Posted on
Fri Jul 21, 2017 9:01 am
Japple55 offline
Posts: 224
Joined: Sep 26, 2015
Location: NE Tennessee

Re: Pushover Plugin - push notifications

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

Posted on
Fri Jul 21, 2017 9:30 am
jay (support) offline
Site Admin
User avatar
Posts: 18185
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Pushover Plugin - push notifications

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jul 21, 2017 9:39 am
Japple55 offline
Posts: 224
Joined: Sep 26, 2015
Location: NE Tennessee

Re: Pushover Plugin - push notifications

Done! Thanks much, Jay!

Posted on
Wed Aug 09, 2017 12:53 pm
MarcoGT offline
Posts: 1090
Joined: Sep 11, 2014
Location: Germany

Re: Pushover Plugin - push notifications

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.

Posted on
Wed Aug 09, 2017 1:30 pm
racarter offline
User avatar
Posts: 467
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Pushover Plugin - push notifications

@MarcoGT

Sounds like Pushover emergency priority might be what you need.

https://pushover.net/api#priority

Posted on
Wed Aug 09, 2017 11:19 pm
MarcoGT offline
Posts: 1090
Joined: Sep 11, 2014
Location: Germany

Re: Pushover Plugin - push notifications

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

Posted on
Thu Aug 10, 2017 12:30 am
jmdraper offline
Posts: 103
Joined: Sep 11, 2014
Location: Surrey, UK

Re: Pushover Plugin - push notifications

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

Posted on
Sun Oct 15, 2017 3:21 pm
siclark offline
Posts: 1960
Joined: Jun 13, 2017
Location: UK

Re: Pushover Plugin - push notifications

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

Posted on
Sun Oct 15, 2017 3:34 pm
racarter offline
User avatar
Posts: 467
Joined: Jun 18, 2016
Location: North Yorkshire, UK

Re: Pushover Plugin - push notifications

Simon

Yep. For example:

%%d:495962617:BatteryVoltage%%

Posted on
Tue Jan 02, 2018 8:17 am
davinci offline

Re: Pushover Plugin - push notifications

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.

Page 8 of 15 1 ... 5, 6, 7, 8, 9, 10, 11 ... 15

Who is online

Users browsing this forum: No registered users and 0 guests