Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mrhappy
    replied
    Originally posted by hankli View Post
    I'm having trouble attaching an image file. The Plugin keeps reporting the file does not exist inside HS log. Attached is a screenshot of the event I created. Anyone has any suggestions as to what I'm doing wrong? I've already verified that the file does exist by pasting the file path directly onto the command line and using "dir" command in a cmd window.

    The quotes in the path are likely to be causing an issue - have you tried the path without the quotes - does that work? If not I might need to add some functionality to cope with spaces in filenames.

    Leave a comment:


  • hankli
    replied
    I'm having trouble attaching an image file. The Plugin keeps reporting the file does not exist inside HS log. Attached is a screenshot of the event I created. Anyone has any suggestions as to what I'm doing wrong? I've already verified that the file does exist by pasting the file path directly onto the command line and using "dir" command in a cmd window.

    Leave a comment:


  • alphatech
    replied
    MrHappy, forgot to tell you, great plugin, thank you!.
    I have figured out the issue with converted string. It was a basic replace statement. I know that few of my questions must sound like "Seriously, it is easy" for me that I'm learning script and I'm really terrible about it, anything can be looking like a mountain :-) All of you, thanks for being patient with me.

    Leave a comment:


  • alphatech
    replied
    Sorry about not communicating it right. I was trying to put two links into the pushover via the script. One link (see prototype below) for the devices and the other for the event. I think I have it figured out. I'm using the "Link" field for one URL and I'm putting the other URL in the body of the message. One issue that I'm having that is not related to the plugin is that the script is giving me a string for the event name (hs.getlastevent) as "aa event Testing" while the URL below wants it by using the plus + sign. Do you know how I can add the plus sign to a string so it will be converted as below? "aa+event+testing"

    http://192.168.0.16:8016/jon00eventl...esting&v1=&v2=

    Leave a comment:


  • rprade
    replied
    Originally posted by alphatech View Post
    Hi MrHappy, I saw the documentation and it looks like there is no way to integrate to URL links but I would like to check with you, perhaps you know a way to do that.

    Thanks
    I send URL links with Pushover. I can send a link or formatted hyperlink In the body of the message, or a URL with a title through the message event. Here I am sending a google maps formatted hyperlink as embedded in a HS device string, as well as a link to my website with a separate title.

    Click image for larger version  Name:	D2C1B162-D925-466A-B163-59CD3FE44269.jpeg Views:	0 Size:	56.7 KB ID:	1380939

    The HS device string is populated by another plug-in.

    Click image for larger version

Name:	E21B9093-205B-42F0-B63F-726A738884E1.jpeg
Views:	167
Size:	16.0 KB
ID:	1380943

    You can also use your own HTML in the message body.

    At the bottom for using a pure URL, if you use a URL title it becomes a hyperlink. If you don’t include a title, Pushover adds “Open with” to the URL and it becomes a hyperlink.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by alphatech View Post
    First of all, thanks for the help on the other posts MrHappy.
    I actually have two URL links but I only see one in the script "Index(5) Message URL (Optional - String )" I would like to have the ability to select one of the two links.
    OK I might be struggling to understand - perhaps might be easier if you are telling me what you are trying to achieve?

    This parameter is for a URL outside of the message body - see here https://pushover.net/api#urls - I'm limited by Pushover if you are trying to achieve more than one. They only support a single URL in the title rather than multiple. If you wanted to include multiple URLs in the message body then you might be able to use the HTML styling https://pushover.net/api#html however I'm not sure if I implemented that (I did for bold/italic etc) so I would need to check.

    Leave a comment:


  • alphatech
    replied
    First of all, thanks for the help on the other posts MrHappy.
    I actually have two URL links but I only see one in the script "Index(5) Message URL (Optional - String )" I would like to have the ability to select one of the two links.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by alphatech View Post
    Hi MrHappy, I saw the documentation and it looks like there is no way to integrate to URL links but I would like to check with you, perhaps you know a way to do that.

    Thanks
    As in putting a URL link into the message body? I did implement some of the HTML ability (as the HTML support is limited by what Pushover allow) but might not have done this one. I can take a look at implementing it if this is what you mean.

    Leave a comment:


  • alphatech
    replied
    Hi MrHappy, I saw the documentation and it looks like there is no way to integrate to URL links but I would like to check with you, perhaps you know a way to do that.

    Thanks

    Leave a comment:


  • mk1 black limited
    replied
    Right, fixed itself after a short while. Tried looking at the pushover site for any news, but didn't find anything about the DDos attack.

    Leave a comment:


  • mminehan
    replied
    Originally posted by mk1 black limited View Post
    Today I started seeing this in the log:

    Code:
    WebException Error Unable to connect to the remote server Inner Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 207.244.81.102:443
    Not quite sure what the error might be, but I no longer receive Pushover messages sent from Homeseer. Testmessage from pushover.net are received though.
    Pushover was under a DDoS attack.
    https://blog.pushover.net/posts/2020...16-ddos-attack

    Leave a comment:


  • joegr
    replied
    Originally posted by mk1 black limited View Post
    Today I started seeing this in the log:

    Code:
    WebException Error Unable to connect to the remote server Inner Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 207.244.81.102:443
    Not quite sure what the error might be, but I no longer receive Pushover messages sent from Homeseer. Testmessage from pushover.net are received though.
    Just as another data point. It's still working fine for me (so far).

    Leave a comment:


  • mk1 black limited
    replied
    Today I started seeing this in the log:

    Code:
    WebException Error Unable to connect to the remote server Inner Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 207.244.81.102:443
    Not quite sure what the error might be, but I no longer receive Pushover messages sent from Homeseer. Testmessage from pushover.net are received though.

    Leave a comment:


  • goldriver
    replied
    Originally posted by mrhappy View Post

    Parameter 7 (labelled as API String) should be the application name, perhaps poorly labelled in the documentation. Try sending that however it might be case sensitive so ensure the case is the same as in the plugin, I've checked the code and it should work.
    This is it ! Thanks

    Leave a comment:


  • pcburcham
    replied
    Gotcha, it sounded like you wanted to sort or categorize messages initially.

    Leave a comment:

Working...
X