Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

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

  • prsmith777
    replied
    Originally posted by mrhappy View Post

    Strange as I'm sure that historically the time/date replacement variables did NOT have the SAPI tags in, that said at some point I added some custom replacement variables to the plugin as per the attached picture so I must've had reasons for it. When included in a message they should do the same job so please give it a try.
    Thanks. Good to know. I had some free time, so I just went ahead and cleaned up my script and added separate messages for announcing and pushover. Makes things a bit easier to follow and read. Also easier to not have to strip out the SAPI silence tags I use on announcements.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by prsmith777 View Post

    Yeah that's the problem. I have a mega script that creates all my announcements and I use the announcement message to send pushover messages if we are away from the house. If there is no convenient work around, I am going to have to rewrite the script to create two separate messages, one for announcement and one for pushover.
    Strange as I'm sure that historically the time/date replacement variables did NOT have the SAPI tags in, that said at some point I added some custom replacement variables to the plugin as per the attached picture so I must've had reasons for it. When included in a message they should do the same job so please give it a try.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by Tj in Bristol View Post
    on version 0.0.0.45 of the Pushover Plugin in homeseer pro3 in windows, iPhone client , get the Unknown Exception in Pushmessage Object reference not set to an instance of an object.
    can you please how to fix it , i really want to see this work, thank you, Tj
    couple of things...

    Has it worked for you before...if so do you know which version you updated from?

    Secondly can you attach a screenshot of your event?

    Leave a comment:


  • Tj in Bristol
    replied
    on version 0.0.0.45 of the Pushover Plugin in homeseer pro3 in windows, iPhone client , get the Unknown Exception in Pushmessage Object reference not set to an instance of an object.
    can you please how to fix it , i really want to see this work, thank you, Tj


    to get this up and running on pushover create and app, attach a icon, i used homeseer, copy the app code and set it up in the configure screen
    tha is really cool now it work, home this helps someone....Tj


    Last edited by Tj in Bristol; March 23rd, 2019, 03:14 PM. Reason: Fixed

    Leave a comment:


  • prsmith777
    replied
    Originally posted by sparkman View Post

    Use $time instead of $$time. $$time is for speech so wraps those SAPI tags around it. See http://help.homeseer.com/help/HS3/st...ment_variables.
    Yeah that's the problem. I have a mega script that creates all my announcements and I use the announcement message to send pushover messages if we are away from the house. If there is no convenient work around, I am going to have to rewrite the script to create two separate messages, one for announcement and one for pushover.

    Leave a comment:


  • sparkman
    replied
    Originally posted by prsmith777 View Post
    When I create a message string using homeseer replacement variable $$time, my pushover message comes across as this:

    <say-as type="time"> ....current time.... </say/as>

    Is there a workaround for this? I tried to use vb.net replace function, but it ignores the tags.
    Use $time instead of $$time. $$time is for speech so wraps those SAPI tags around it. See http://help.homeseer.com/help/HS3/st...ment_variables.

    Leave a comment:


  • prsmith777
    replied
    When I create a message string using homeseer replacement variable $$time, my pushover message comes across as this:

    <say-as type="time"> ....current time.... </say/as>

    Is there a workaround for this? I tried to use vb.net replace function, but it ignores the tags.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by Ltek View Post
    mrhappy


    Can we use RegX or something else to parse variable data from with the "Message Body" section?

    The data in the source HS3 Device needs to be 'cleaned up'; this is the full text data...

    " #3 3/20/2019 10:48:38 AM User Robyn - Phone Tracking entered Town Club "

    I only want... "entered Town Club" to be sent in Message Body

    thx!
    Possibly...I'll have a look and see what I can do, It might need a bit more work than it sounds to do it correctly.

    Leave a comment:


  • Ltek
    replied
    mrhappy


    Can we use RegX or something else to parse variable data from with the "Message Body" section?

    The data in the source HS3 Device needs to be 'cleaned up'; this is the full text data...

    " #3 3/20/2019 10:48:38 AM User Robyn - Phone Tracking entered Town Club "

    I only want... "entered Town Club" to be sent in Message Body

    thx!

    Leave a comment:


  • mrhappy
    replied
    Originally posted by ozinnewy View Post

    I have removed and reinstalled.net 4.7 and still seeing the errors.


    Sent from my iPhone using Tapatalk
    Could I ask if you could try this please - just replace the EXE with the one in your root directory. I've compiled it against .net 4.7.2 just in case that is an issue and added some additional debug info when you send a message. Could you then see if you get the error, if so send me a copy of the error in the log.

    The only other change is support for monospaced text which Pushover have recently introduced, that should not create an issue.

    Attached Files

    Leave a comment:


  • ozinnewy
    replied
    Originally posted by mrhappy View Post
    The latest version is version .45 so you are running the latest one...



    Bit of a really puzzling one - especially if you have gone right back to nothing. The plugin is compiled on .net 4.0 and uses no special libraries (all stock .net stuff) - could I ask you to try just re-installing the .net 4.0 version and see if that does anything different? That is about all the error messages say to do on the net.
    I have removed and reinstalled.net 4.7 and still seeing the errors.


    Sent from my iPhone using Tapatalk

    Leave a comment:


  • MattL0
    replied
    Originally posted by The Profit View Post
    mrhappy I’ve seen mentions of a v .63 in this thread and noticed I’m still on v.45. Where can I find the update?


    Sent from my iPad using Tapatalk
    I think someone confused this with the .63 version of phlocation2

    Leave a comment:


  • teladog01
    replied
    I'm not clear on the value of glances if you can simply use regular messages?
    Regular messages are delivered to the Pushover app whereas glance messages go only to the watch complication.

    Leave a comment:


  • Ltek
    replied
    Originally posted by teladog01 View Post

    I believe the plugin imposes a minimum delay between sending of glance messages. I think it is 20 minutes by default since that is the recommended delay given in the Pushover API docs. But you can use an INI file entry to override the default...see this post: #1017

    EDIT:

    Be careful with the delay setting...if you are sending to an Apple Watch and spam the watch app with glance messages, watchOS may temporarily ban the complication from updating...

    Copy/paste from https://pushover.net/api/glances:
    Thx ... after a long wait, it did work.
    I'm not clear on the value of glances if you can simply use regular messages?

    Leave a comment:


  • mrhappy
    replied
    Originally posted by The Profit View Post
    mrhappy I’ve seen mentions of a v .63 in this thread and noticed I’m still on v.45. Where can I find the update?


    Sent from my iPad using Tapatalk
    The latest version is version .45 so you are running the latest one...

    I have exactly the same error. It first happened after an update to the pushover plugin. So far I have tried going back to the previous version, same error. Deleting the plugin and config file then reinstalling and setup. Still seeing the same error when I try to send a message. Firewall disabled and Windows 10 OS up to date.

    Any assistance appreciated.
    Bit of a really puzzling one - especially if you have gone right back to nothing. The plugin is compiled on .net 4.0 and uses no special libraries (all stock .net stuff) - could I ask you to try just re-installing the .net 4.0 version and see if that does anything different? That is about all the error messages say to do on the net.

    Glance Messages doesnt work for me. I have tried without 'Message Title' enabled... why a checkbox there to disable -- which failes as "Key" is missing and when i have it enabled, it throws "Unable to Send" error ?

    LOG...
    Mar-13 10:17:34 AM Pushover 3P Message Unable To Send - Delay Between Messages
    Mar-13 10:16:34 AM Pushover 3P Pushover Notification Sent - Message Title
    Mar-13 10:16:34 AM Pushover 3P Message Unable To Send - Delay Between Messages
    Mar-13 10:16:23 AM Pushover 3P Pushover Notification Sent - Message Title
    Mar-13 10:16:22 AM Pushover 3P Message Unable To Send - Delay Between Messages
    Mar-13 10:16:04 AM Pushover 3P Pushover Notification Sent - Message Title
    Mar-13 10:15:43 AM Pushover 3P Glances Notification Sent
    Mar-13 10:15:34 AM Pushover 3P Web Exception Response missing you must supply at least one data parameter 0 314714b9-5fd5-4067-a6df-c26a0fff6f5b
    Mar-13 10:15:34 AM Pushover 3P WebException Error The remote server returned an error: (400) Bad Request.
    Mar-13 10:14:34 AM Pushover 3P Web Exception Response missing you must supply at least one data parameter 0 7122c106-832b-4c1d-90d4-9d7f5e421824
    Mar-13 10:14:34 AM Pushover 3P WebException Error The remote server returned an error: (400) Bad Request.
    Mar-13 10:14:25 AM Pushover 3P Web Exception Response missing you must supply at least one data parameter 0 592adab7-e42d-4d44-bfed-0886549b0539
    Mar-13 10:14:25 AM Pushover 3P WebException Error The remote server returned an error: (400) Bad Request.
    Mar-13 10:14:01 AM Pushover 3P Pushover Notification Sent - Message Title
    Mar-13 10:13:34 AM Pushover 3P Unknown Exception in GlanceMessage Key cannot be null. Parameter name: key
    Mar-13 10:12:34 AM Pushover 3P Unknown Exception in GlanceMessage Key cannot be null. Parameter name: key
    mrhappy ...
    wondering why you dont have a forum dedicated to your plugin? its in the updater and popular, seems like they should honor you with one
    I'm not that bothered about a forum and at least this keeps everything on one place...official line used to be that you only got the forum/updater if you sold the plugin through the store but there have been concessions in the past.

    The issues I can see here is the use of the replacement variable, device ref 1033 looks in your screenshot to have an empty device status (?) so that probably has created an issue - what happens if you specify some text to send instead? Does that change the error at all? Could you also just try the glance message as a single message in the event just to eliminate any issues with sending a glance and pushover message at the same time.

    There is also a flood control built into the plugin which you appear to be bumping against so just be mindful of that although I probably could not reset that if there was an exception to the error.

    Leave a comment:

Working...
X