Originally posted by goldriver
View Post
Announcement
Collapse
No announcement yet.
HS3 Pushover Plugin
Collapse
X
-
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.
Comment
-
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
Comment
-
Originally posted by mk1 black limited View PostToday 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
Comment
-
Originally posted by mk1 black limited View PostToday 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
https://blog.pushover.net/posts/2020...16-ddos-attackiCore5 Win 10 Pro x64 SSD
HS3 Pro Edition 3.0.0.435 Windows
BLOccupied:,Device History:,Yamaha:,UltraMon3:,mcsXap:,Restart:,UltraNetatmo3:, UltraM1G3:,Ultra1Wire3:,BLBackup:,Harmony Hub:,DoorBird:,UltraECM3:,Nanoleaf 3P:,UltraRachio3:,Z-Wave:,SDJ-Health:,BLGarbage:,Blue-Iris:,Chromecast:,Pushover 3P:,EasyTrigger:
- Likes 2
Comment
-
Originally posted by alphatech View PostHi 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
Comment
-
Originally posted by alphatech View PostFirst 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.
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.
Comment
-
Originally posted by alphatech View PostHi 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
The HS device string is populated by another plug-in.
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.
HS4 Pro, 4.2.18.9 Windows 10 pro, Supermicro LP Xeon
Comment
-
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=
Comment
-
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.
Comment
-
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.
1 Photo
Comment
Comment