Originally posted by mikee123
View Post
Announcement
Collapse
No announcement yet.
HS3 Pushover Plugin
Collapse
X
-
Originally posted by mrhappy View PostTry to add another parameter on, when Pushover changed their API to support sending messages with attachments I added another parameter.
This is the path to the attachment which is most cases will be nothing, try;
Code:Public Sub Main(ByVal Parms As Object) Try Dim CO(8) As Object CO(0) = "Automation-Group" CO(1) = "HomeSeer" CO(2) = "Test" CO(3) = Nothing CO(4) = Nothing CO(5) = Nothing CO(6) = Nothing CO(7) = Nothing CO(8) = Nothing hs.PluginFunction("PushOver 3P", "", "Pushscript", CO) Catch ex As Exception hs.WriteLog("Error", "Exception in script SendPush.vb " & ex.Message) End Try End Sub
That did it. Thanks again!
Comment
-
Originally posted by mrhappy View PostCan you screenshot your event (when it is saved, not open) please? It should show the client names separated by a comma.
This is a test event I created. This one does not send to JustA3 nor LoungeTablet, but sends to SM-T320 and MikeS6. JustS5mini and KitchenTablet do not exist any more. I have deleted them from pushover, and tested again (with other events) to see if that was the issue. It wasnt.
.
Comment
-
Right...I've had a bit of a tidy of a couple of things, the configuration page was a relic of my first interaction with the HS3 page builder so I've built it again and put a bit more of a similar theme into it with my other plugins (in addition to fixing a couple of things).
I've added a little panel that shows some information from the plugin, this is not a replacement for the debug log but might be handy just knowing where a Pushover message has come from (ie the event name) and a few basic details.
I've added a little fix if you try and send a message with no message body, it will put a body in for you rather than reject it completely with an error.
Could I ask if someone could just check version .40 works for me? https://drive.google.com/open?id=1Tx...Esg9UtyaTiiVXF
Thanks...
Comment
-
Originally posted by mikee123 View PostI just updated the event (as I deleted the defunct clients). This time it did not send to MikeS6 and LoungeTablet, but it did send to JustA3 and SM-T320
.
Comment
-
Originally posted by mikee123 View PostI dont think it makes sense either... I just created a new event, to send a normal message to 2 clients. It only sent it to 1
How did you delete the devices, through the config page or did you delete them from the INI file manually?
Comment
-
Originally posted by mikee123 View PostI deleted the devices from the config page. I just tried, I stopped the PI and restarted it. The i ran the same event. Still not sending to my phone... (other push messages still do, as long as its only that recipient)
I know its weird...
Comment
-
I would be happy to do that, but I cannot attach a screenshot to a pm ? Also, that might be another problem but maybe to do with hs .435. Since upgrading to .435, quite often when I try to access the pushover config page, the page is completely blank. I had it before, and a restart sorted that out. Dont think thats anything to do with my issues though. Please pm me with an email or let me know how to attach a screenshot to the pm and i'll send it tomorrow
Comment
-
Originally posted by mikee123 View PostI would be happy to do that, but I cannot attach a screenshot to a pm ? Also, that might be another problem but maybe to do with hs .435. Since upgrading to .435, quite often when I try to access the pushover config page, the page is completely blank. I had it before, and a restart sorted that out. Dont think thats anything to do with my issues though. Please pm me with an email or let me know how to attach a screenshot to the pm and i'll send it tomorrow
Comment
-
Funny, I just discovered the same thing...
I did a massive update yesterday including Pushp. This is the only error I'm getting.
RobertHS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.
Comment
-
I have moved over to the HS plugin portal which means HS have to authorise each new version, I'm waiting on them to OK version .41 which may solve that issue as I was working with someone else over a similar issue. Not sure where it crept in...can you try .41 please https://drive.google.com/file/d/1lSB...ew?usp=sharing
Thanks
Comment
Comment