Pushover Plugin - push notifications
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)
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
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
I think you can do that with the Better Email plugin, though I've never used it myself:
http://forums.indigodomo.com/viewtopic. ... 11&t=14340
http://forums.indigodomo.com/viewtopic. ... 11&t=14340
-
mortenkols
- Posts: 198
- Joined: Wed Oct 29, 2014 2:02 pm
- 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 ?
Any suggestions ?
- Attachments
-
- Skjermbilde 2017-03-07 kl. 20.25.54.png (71.46 KiB) Viewed 6503 times
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
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
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
Pushover Debug
Pushover Debug Garage Door is CLOSED
Pushover Debug
Pushover Debug
2025 MacMini M4, 16gig RAM, 250 GB SSD
- jay (support)
- Site Admin
- Posts: 19202
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Pushover Plugin - push notifications
Edit the following file in the plugin:
(right click the plugin in the Finder and select Show Package Contents) and change this line (line #10) from:
to:
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.
Code: Select all
indigo-pushover.indigoPlugin/Contents/Server Plugin/plugin.pyCode: Select all
self.debug = TrueCode: Select all
self.debug = FalseRe: Pushover Plugin - push notifications
Done! Thanks much, Jay!
2025 MacMini M4, 16gig RAM, 250 GB SSD
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.
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
@MarcoGT
Sounds like Pushover emergency priority might be what you need.
https://pushover.net/api#priority
Sounds like Pushover emergency priority might be what you need.
https://pushover.net/api#priority
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
I will check it, thanks for the hint
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
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
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
Thanks
Re: Pushover Plugin - push notifications
Simon
Yep. For example:
%%d:495962617:BatteryVoltage%%
Yep. For example:
%%d:495962617:BatteryVoltage%%
-
davinci
Re: Pushover Plugin - push notifications
1.2.0 is broken:
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.
I would have to open the message settings and save it, then it works. But this is too much trouble.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 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.