Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

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

  • teladog01
    replied
    Seems to work perfectly in the quick testing I just did. Truncates at exactly 512 characters.

    Thanks so much...this is very helpful.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by teladog01 View Post
    Feature Request: Option to truncate message if it is over 512 character limit

    I use the device string replacement variable in several of my Pushover notifications, and sometimes it is possible for these strings to be quite long and exceed the 512 character limit. I would like an option to truncate the message so that at least I will still get the notification. As it is now, when the device string is long and causes the message to exceed the character limit, the notification simply fails silently and I am none the wiser that I missed a (possibly important) notification.

    Thanks for considering.
    Can you try version .44 please attached here - I've made a check see whether the message is 512 characters, if over then it will get the first 512 chars and then send only that.
    Last edited by mrhappy; October 19, 2018, 04:13 PM.

    Leave a comment:


  • mrhappy
    replied
    A fair observation and shouldn't be problematic, I'm away at the minute so can't make any changes but should be able to sort this out next week.

    Leave a comment:


  • teladog01
    replied
    Feature Request: Option to truncate message if it is over 512 character limit

    I use the device string replacement variable in several of my Pushover notifications, and sometimes it is possible for these strings to be quite long and exceed the 512 character limit. I would like an option to truncate the message so that at least I will still get the notification. As it is now, when the device string is long and causes the message to exceed the character limit, the notification simply fails silently and I am none the wiser that I missed a (possibly important) notification.

    Thanks for considering.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by DJF3 View Post
    Team,

    I would like to setup Pushover on my wife's phone, but she only wants to receive specific (doorbell ring) messages.

    Should I:
    - create a separate Pushover account for her phone
    - create a delivery group: "HomeseerDoorbell"
    - in Pushover plugin: add device/group with the delivery group token + name from the previous step?
    (this I have done but no messages arrive on her phone and even though I only select her "group" in the event, I do receive the message)


    Or is there an easier way?
    Should she get a $5 Pushover subscription just like me?
    I would get her device on your account, don't get another account for her as it just would make things more complicated. Delivery groups are Pushovers way around dealing with multiple accounts (across a team or something) and not sharing login details.

    The easiest method is then to add the device to the HS plugin (through the configuration page) and then go into the event and tick which devices you wish to send messages to on a per event basis, obviously all clients will send to all devices so if this has been your default up until now then you might wish to change this.

    Leave a comment:


  • DJF3
    replied
    Team,

    I would like to setup Pushover on my wife's phone, but she only wants to receive specific (doorbell ring) messages.

    Should I:
    - create a separate Pushover account for her phone
    - create a delivery group: "HomeseerDoorbell"
    - in Pushover plugin: add device/group with the delivery group token + name from the previous step?
    (this I have done but no messages arrive on her phone and even though I only select her "group" in the event, I do receive the message)


    Or is there an easier way?
    Should she get a $5 Pushover subscription just like me?

    Leave a comment:


  • ez1976
    replied
    Originally posted by mrhappy View Post
    Could you share your RSS links with me (either posting them here or by PM) and I will test it here by downloading Jon00's application and hopefully can see what is going on.
    Hi
    i moved my HS3 back to windows since the INSTEON and GLOBAL CACHE works a lot faster on it.
    since moving back (export and importing the configuration) all the RSS + Attachments are working perfectly again.
    i am guessing it has something to do with the linux installation / compatibility

    as far as i can see HS3 Still works faster and better on Windows rather than on Linux

    Leave a comment:


  • mrhappy
    replied
    Originally posted by ez1976 View Post

    Well.
    since i am using the JON00RSS plugin i am getting my news headlines from rss and this populate the virtual devices.
    now when i use in the message only devices RSS01 to RSS-04 the message is sent and i can see it in the log on the device plugin page.
    as soon as i add numbers 05-07 the message is not sent at all and is not in the log.
    it seems that the plugin just ignored is all together.

    the first image is the screenshot of the 4 device event and as you can see it is in the log.
    i then added another 4 devices and then i reloaded the plugin log. the plugin took around 30 seconds to reload and the 8 device message is not there.

    i ran the following command:
    &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07: $$DSA:Jon00-RSS01-08:").Length)
    Sep-21 9:14:37 PM Length 349
    Sep-21 9:14:36 PM Event Running script statement immediately: &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07: $$DSA:Jon00-RSS01-08:").Length)

    do you need any further info?
    Could you share your RSS links with me (either posting them here or by PM) and I will test it here by downloading Jon00's application and hopefully can see what is going on.

    Leave a comment:


  • ez1976
    replied
    Originally posted by mrhappy View Post

    OK don't worry about the debug mode just at the minute - can you just talk me through exactly what happens when you copy $$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07: into the message body then - does that send the message?
    Well.
    since i am using the JON00RSS plugin i am getting my news headlines from rss and this populate the virtual devices.
    now when i use in the message only devices RSS01 to RSS-04 the message is sent and i can see it in the log on the device plugin page.
    as soon as i add numbers 05-07 the message is not sent at all and is not in the log.
    it seems that the plugin just ignored is all together.

    the first image is the screenshot of the 4 device event and as you can see it is in the log.
    i then added another 4 devices and then i reloaded the plugin log. the plugin took around 30 seconds to reload and the 8 device message is not there.

    i ran the following command:
    &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07: $$DSA:Jon00-RSS01-08:").Length)
    Sep-21 9:14:37 PM Length 349
    Sep-21 9:14:36 PM Event Running script statement immediately: &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07: $$DSA:Jon00-RSS01-08:").Length)

    do you need any further info?
    Attached Files

    Leave a comment:


  • petez69
    replied
    Originally posted by mrhappy View Post
    Thanks for the feedback and hope you enjoy it
    Seriously mate, its a great plugin.....I've not used Pushover before....I've got a bunch of remote telemetry devices on another project that were sending me e-mails, I'm now migrating to push....

    You've done a great job

    Pete

    Leave a comment:


  • mrhappy
    replied
    Originally posted by petez69 View Post
    New Pushover user.....thankyou VERY MUCH for the plugin. Changing a number of SMS and e-mail notifications over to this plugin.....works a treat...

    Pete
    Thanks for the feedback and hope you enjoy it

    Leave a comment:


  • petez69
    replied
    New Pushover user.....thankyou VERY MUCH for the plugin. Changing a number of SMS and e-mail notifications over to this plugin.....works a treat...

    Pete

    Leave a comment:


  • mrhappy
    replied
    Originally posted by ez1976 View Post

    here you go:
    Sep-17 2:15:42 PM Length 320
    Sep-17 2:15:41 PM Event Running script statement immediately: &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07:").Length)
    Sep-17 2:15:41 PM Event Event Trigger "C. Generic Events Temp 1"

    the RSS devices are News headlines that get updated and then get pushed to my phone every hour.
    when i have only 1-4 RSS devices it works but when i add up to 07 the push never arrives (and are not written in the log on the plugin page. same as with the attachment link).

    i am sorry but i couldnt find how to enable debug.
    OK don't worry about the debug mode just at the minute - can you just talk me through exactly what happens when you copy $$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07: into the message body then - does that send the message?

    Leave a comment:


  • ez1976
    replied
    Originally posted by mrhappy View Post
    In the example you say works I can see that you have seven RSS devices (02-07) and then in the ones you say you add they appear to be the same (RSS01-02 to RSS01-07) - do you mean that RSS01-01 works and then when you add 02-07 that fails? Can you please tell me what the following say in the log;

    &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07:").Length)

    Messages are limited to 512 characters, that has always been the case however previously to version .43 the decision as to what exceeded 512 characters was made before the replacement variables exchange. That created a problem when the replacement variable names were greater than their actual replacements.

    I will try sort this out before looking at the images if that is OK.
    here you go:
    Sep-17 2:15:42 PM Length 320
    Sep-17 2:15:41 PM Event Running script statement immediately: &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07:").Length)
    Sep-17 2:15:41 PM Event Event Trigger "C. Generic Events Temp 1"

    the RSS devices are News headlines that get updated and then get pushed to my phone every hour.
    when i have only 1-4 RSS devices it works but when i add up to 07 the push never arrives (and are not written in the log on the plugin page. same as with the attachment link).

    i am sorry but i couldnt find how to enable debug.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by ez1976 View Post

    Sure.
    i will try this tonight.
    i switched to Linux from the windows version (pushover worked just fine on it) but since the move to linux these issues started.
    i even tried to reset the permission on the folder that holds the attachments (these are snapshots from the IP cameras).
    it seems that it is even a limitation on the message size? on windows i could send a lot more characters than on linux.

    i am on the .43 beta version but the same issues were also on the .42 (but per your request i will downgrade back to .42)


    Update:
    i sent smaller MSG:
    Date & Time: Event: Data:
    9/16/2018 12:35:58 PM Send Pushover Message Device: Eyal
    Message: $$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07:
    Title: כותרת
    Priority: normal
    Sound: system default
    URL:
    URL Title:
    Application Name: Default
    Attachment Path:
    9/16/2018 12:35:58 PM Event Action Send Message From Event C. Generic Events Temp
    that ran just fine (with no attachments)

    i then added more info the the MSG:
    $$DSA:Jon00-RSS01-02:

    $$DSA:Jon00-RSS01-03:

    $$DSA:Jon00-RSS01-04:

    $$DSA:Jon00-RSS01-05:

    $$DSA:Jon00-RSS01-06:

    $$DSA:Jon00-RSS01-07:

    and now the msg didnt arrive and i even reloaded the configuration page under the plugin and it took around 45 seconds to load.
    once loaded the new message didnt even appear in the log (under the "home" in the configuration page of the plugin)


    edit: i cant find in the help file how to enable debug. can you please send me the instructions?
    thanks
    In the example you say works I can see that you have seven RSS devices (02-07) and then in the ones you say you add they appear to be the same (RSS01-02 to RSS01-07) - do you mean that RSS01-01 works and then when you add 02-07 that fails? Can you please tell me what the following say in the log;

    &nhs.writelog("Length", hs.replacevariables("$$DSA:Jon00-RSS01-02: $$DSA:Jon00-RSS01-03: $$DSA:Jon00-RSS01-04: $$DSA:Jon00-RSS01-05: $$DSA:Jon00-RSS01-06: $$DSA:Jon00-RSS01-07:").Length)

    Messages are limited to 512 characters, that has always been the case however previously to version .43 the decision as to what exceeded 512 characters was made before the replacement variables exchange. That created a problem when the replacement variable names were greater than their actual replacements.

    I will try sort this out before looking at the images if that is OK.

    Leave a comment:

Working...
X