Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

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

  • mrhappy
    replied
    Sorry guys had a little bit of a hiatus, didn't quite realise taking a job with a two hour commute and some rather liberal interpretations of the working time directive would take so much out of me - all of a sudden I found myself with six hours less per day than I used to have. I'm having a little break now and can resort to getting my own HS system back in order (it's literally been untouched for months) and finishing a few things here.

    The documentation will be back online (missed the expiration email) in a bit - in the future I will see about distributing a PDF with the plugin in case I miss it again.

    As far as I can see I've checked this morning and I am still getting messages so think it is behaving itself, I've not seen any notification of any new features/changes from Pushover so it should still function as it did.

    Leave a comment:


  • Ronco
    replied
    Has anyone seen this error? I have recently migrated HS3 over to a new server and all of my plugins work except this one. I have seen 1 other user with the same issue but no mention of a resolution. I am seeing the following errors in my logs. The first error is when I trigger an event to run. The second error is upon startup of HS3. Any ideas?
    Mar-07 5:22:41 PM Pushover 3P WebException Error The underlying connection was closed: An unexpected error occurred on a receive.
    Mar-07 5:20:03 PM Pushover 3P Error In SoundLoad The underlying connection was closed: An unexpected error occurred on a receive.

    Leave a comment:


  • HS14
    replied
    Originally posted by teladog01 View Post
    Sure would be nice to see that official documentation but looks like the site is still down.
    Yes definitely, the comments attached to my code snippet was just something I cleaned up through trial and error and from what I found on this massive post.

    Leave a comment:


  • teladog01
    replied
    Originally posted by HS14 View Post

    That's just a sample of what I was trying to accomplish with mock up code if you will, it doesn't work though.
    Ahhh, I see. I thought that was a quote from the documentation. Sure would be nice to see that official documentation but looks like the site is still down. Sorry I don't have any clever tricks for sending to multiple groups at once, but I would think your loop solution should be just fine.

    Leave a comment:


  • HS14
    replied
    Originally posted by teladog01 View Post
    Code:
    pushoverParams(0) = "Group 1, Group 2" 'Device/Group - must matched with a device name already in the plugin or 'All Clients' CASE SENSITIVE
    I've not tried it but according to this you should be able to just list your two groups here, separated by a comma. Have you tried that?
    That's just a sample of what I was trying to accomplish with mock up code if you will, it doesn't work though.

    Leave a comment:


  • teladog01
    replied
    Originally posted by HS14 View Post


    I ended up just running a loop to accomplish this, does anyone know if this is the best solution for this?
    Guess I'm confused what you are wanting. The code snippet you posted appears to have the answer...

    Code:
    pushoverParams(0) = "Group 1, Group 2" 'Device/Group - must matched with a device name already in the plugin or 'All Clients' CASE SENSITIVE
    I've not tried it but according to this you should be able to just list your two groups here, separated by a comma. Have you tried that?

    Leave a comment:


  • HS14
    replied
    Originally posted by HS14 View Post
    Also how can I send a message to two groups?

    Code:
    Dim pushoverParams(8) As Object
    pushoverParams(0) = "Group 1, Group 2" 'Device/Group - must matched with a device name already in the plugin or 'All Clients' CASE SENSITIVE
    pushoverParams(1) = "Message..." 'Message Body
    pushoverParams(2) = "Title..." 'Message Title
    pushoverParams(3) = "normal" 'low/normal/high/emergency
    pushoverParams(4) = Nothing 'Message Sound - must match from list already in HomeSeer
    pushoverParams(5) = Nothing 'Message URL
    pushoverParams(6) = Nothing 'Message URL Title
    pushoverParams(7) = Nothing 'API String
    pushoverParams(8) = Nothing 'Attachment
    
    hs.PluginFunction("Pushover 3P", "", "Pushscript", pushoverParams)

    I ended up just running a loop to accomplish this, does anyone know if this is the best solution for this?

    Leave a comment:


  • cc4005
    replied
    Originally posted by ZoRaC View Post

    He's ok, but busy:
    Good to hear.

    Leave a comment:


  • ZoRaC
    replied
    Originally posted by Moskus View Post
    OK, I'm getting worried. mrhappy hasn't been seen for almost two months, and his server is offline.

    Does anybody know him in real life? Is he OK?
    He's ok, but busy:
    Originally posted by sparkman View Post
    As an FYI in case anyone else is wondering, Adam is ok, but recently started a new job that has kept him extremely busy.

    Leave a comment:


  • Moskus
    replied
    OK, I'm getting worried. mrhappy hasn't been seen for almost two months, and his server is offline.

    Does anybody know him in real life? Is he OK?

    Leave a comment:


  • jbfoster
    replied
    Is there any documentaion on how to use this plugin?

    Thanks
    Jim

    Leave a comment:


  • HS14
    replied
    Can anybody post documentation for the script? Would really be helpful.

    Also how can I send a message to two groups?

    Code:
    Dim pushoverParams(8) As Object
    pushoverParams(0) = "Group 1, Group 2" 'Device/Group - must matched with a device name already in the plugin or 'All Clients' CASE SENSITIVE
    pushoverParams(1) = "Message..." 'Message Body
    pushoverParams(2) = "Title..." 'Message Title
    pushoverParams(3) = "normal" 'low/normal/high/emergency
    pushoverParams(4) = Nothing 'Message Sound - must match from list already in HomeSeer
    pushoverParams(5) = Nothing 'Message URL
    pushoverParams(6) = Nothing 'Message URL Title
    pushoverParams(7) = Nothing 'API String
    pushoverParams(8) = Nothing 'Attachment
    
    hs.PluginFunction("Pushover 3P", "", "Pushscript", pushoverParams)

    Leave a comment:


  • teladog01
    replied
    Originally posted by teladog01 View Post

    I am specifically wondering if the PushScript can send a message that has an attachment? Is one of the parameters for specifying the filename of the attachment?
    So I figured out through trial and error that there are now nine parameters for the pushover object when using PushScript, with the last one being the full path filename to the image attachment.

    Still would like to see the official documentation though...

    Leave a comment:


  • donstephens
    replied
    Try leaving the quotes off "device_name".

    Leave a comment:


  • sparkman
    replied
    Originally posted by teladog01 View Post

    I am specifically wondering if the PushScript can send a message that has an attachment? Is one of the parameters for specifying the filename of the attachment?
    It can send a small image file, but no other attachments.

    Leave a comment:

Working...
X