Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

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

  • mrhappy
    replied
    Originally posted by simonmason View Post
    I just noticed I was getting these error messages in the log; Unknown Exception in Pushmessage Object reference not set to an instance of an object.

    Looks like the pushover.net site is down. Is this related or is this a configuration issue? It was working before.
    It's a difficult one to figure out as I don't know which object caused this issue (I've seen this message before but not been able to recreate it), double check your API details and user key are correct in the ini file and then restart the plugin. If it still is a problem I'll have a think what else could cause it.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by will40 View Post
    thanks for reply. I just needed to do some more digging and saw in my HS3 log the push messages were disabled.

    Quick search found me at https://forums.homeseer.com/forum/ho...28#post1116728

    I had an event go pushover notification whacko last weekend and see that this is a protection scheme built-in to disable the PI to avoid spamming. Good thinking. All set now.
    Sorry for the late reply - that would explain it, you can increase the limits (details should be in the help file) if you need to but it is there to try and wake up and find your account empty.

    There is no great way of making a user aware in HS of the fact this has activated (as you can't pop up a message and most people don't watch the log), I might consider at limit - 1 sending a Pushover message to the client that last had a message and warn them that there will be no future messages. The downside of that however is that people might not read the last of 100 messages for the content and could easily miss it also.

    Leave a comment:


  • will40
    replied
    thanks for reply. I just needed to do some more digging and saw in my HS3 log the push messages were disabled.

    Quick search found me at https://forums.homeseer.com/forum/ho...28#post1116728

    I had an event go pushover notification whacko last weekend and see that this is a protection scheme built-in to disable the PI to avoid spamming. Good thinking. All set now.

    Leave a comment:


  • jdee
    replied
    Originally posted by will40 View Post
    Mr Happy

    I hope you can help me. It seems HS3 stopped pushing the pushover messages to my device clients. This may have stopped a few days ago. I made no changes to the PI or to my account. I test from the pusher website it works fine to my clients.

    I test an event in HS3 and it logs the pushover message in the PI config as if it went out. Just not getting to my device(s).

    Is there something I can do to reset this? Of course I just noticed it is not working now that I preparing to go away for the next few days
    I just did a manual test on mine and works so whilst this doesn't help you, it confirm there's nothing wrong with the plugin or Pushover.

    Mine stopped last week without warning or error, but it's only because I'm new to all this and found out my Android App expired its trial period. There was no error message but only saw the expired message when I went into the app. As soon as I bought the app from Play Store, started working again instantly. Can't say this is your issue since you mention testing via the Pushover website but you never... thought I'd mention it just in case.

    Leave a comment:


  • will40
    replied
    Mr Happy

    I hope you can help me. It seems HS3 stopped pushing the pushover messages to my device clients. This may have stopped a few days ago. I made no changes to the PI or to my account. I test from the pusher website it works fine to my clients.

    I test an event in HS3 and it logs the pushover message in the PI config as if it went out. Just not getting to my device(s).

    Is there something I can do to reset this? Of course I just noticed it is not working now that I preparing to go away for the next few days

    Leave a comment:


  • simonmason
    replied
    I just noticed I was getting these error messages in the log; Unknown Exception in Pushmessage Object reference not set to an instance of an object.

    Looks like the pushover.net site is down. Is this related or is this a configuration issue? It was working before.

    Leave a comment:


  • jdee
    replied
    Originally posted by mrhappy View Post

    It's a fair point to raise and one I had not really thought about since the plugin was made all those years ago as I probably had the naive belief that most people would have a connection that is relatively stable or have some sort of backup. At the minute all that will happen is that the message will not go and you will get an error in the log, it will not try to send it again.

    I will see if I can put in a timer or queue if I get a web timeout exception and add the message to a list for periodic retrying.
    Completely agree, internet is typically stable other than power outages, but in my case on the odd (very odd) occasion I have a glitch where things like weather or QNAP reports not being able to connect.

    Only recently started with Homeseer and looking at its potential to be a mini intruder system, notifying me when sensors are triggered, and came across this plugin. My Homeseer is on a UPS but modem/router isn't (will add one down the track) hence was just a thought to ensure best possible receiving a notification.

    Leave a comment:


  • mrhappy
    replied
    Originally posted by jdee View Post
    I have a search but came up with nothing so apologise if this is somewhere in this 78 page thread..... wondering what happens if the internet is down, does this plug-in retry until it succeeds or is there a simple way to achieve this via Homeseer?

    Great plugin and thank you!
    It's a fair point to raise and one I had not really thought about since the plugin was made all those years ago as I probably had the naive belief that most people would have a connection that is relatively stable or have some sort of backup. At the minute all that will happen is that the message will not go and you will get an error in the log, it will not try to send it again.

    I will see if I can put in a timer or queue if I get a web timeout exception and add the message to a list for periodic retrying.

    Leave a comment:


  • mrceolla
    replied
    You could use this plugin via a script, and if the send fails, continue to try until it succeeds. That will only work for you if the plugin function returns failure information, which I am not sure about as I have not tried.

    Leave a comment:


  • teladog01
    replied
    Originally posted by jdee View Post
    I have a search but came up with nothing so apologise if this is somewhere in this 78 page thread..... wondering what happens if the internet is down, does this plug-in retry until it succeeds or is there a simple way to achieve this via Homeseer?!
    In my experience, the message simply fails to send. It would be nice if the plugin could keep a queue of messages that fail and then send them once the internet connection is back up.

    Leave a comment:


  • jdee
    replied
    I have a search but came up with nothing so apologise if this is somewhere in this 78 page thread..... wondering what happens if the internet is down, does this plug-in retry until it succeeds or is there a simple way to achieve this via Homeseer?

    Great plugin and thank you!

    Leave a comment:


  • kazibole
    replied
    Originally posted by mrhappy View Post

    Strange one - but you can try and add it manually. Try the following;

    1) Stop the plugin
    2) Open your HS3PushoverConf.ini file which is in your \Config directory
    3) If you don't have an [APITokens] section then add this to the bottom of the file
    4) Then enter a key like this appname=appkey and save the file
    5) Restart the plugin, see if the application name is now in the event actions

    It should look something like this;

    Code:
    [Settings]
    UsrKey=KWnsGKueetY17to66uAypaJn6xxxxx
    eInterval=60
    eExpiry=200
    WantDevices=False
    FloodNumber=50
    [Clients]
    iPad=removed
    nexus7=removed
    iPhone=removed
    redminote4=removed
    cttiphone=removed
    honor9lite=Nothing
    [APITokens]
    HomeSeer=cJvZXLNqBGifwKv2AcqfR5namxxxxx
    default=cJvZXLNqBGifwKv2AcqfR5namxxxxx
    Just wanted to chime in that I was trying to set up the plugin from scratch today and ran into the same issue adding my application. Editing the INI file manually worked.

    Great plugin so far!!

    Leave a comment:


  • Ravell
    replied
    Ahh right, yea I was trying everything I don’t even remember taking that screen capture but more than likely trying it from my office .. however local or remotely same error.. hmm wonder What library I could be missing.. I’ll try a fresh install shortly (over next few days) and report back in, I like that I can pop in a new micro sd card and start over if no progress pop the old one back in

    Leave a comment:


  • mrhappy
    replied
    Originally posted by Ravell View Post

    yes I never use myhs.. always direct shell or a local pc. I did not have really have a need for push notifs. so can go on without it. ill reach back out when i do get around to reinstalling it. I have a twillio account so may possibly down the roads use that for sms notif. Thanks mrHappy enjoy the weekend. PS yea it a pi i built and installed raspbian then HS3
    OK you might be missing one of the Mono libraries for web pages if you have issues on more than my plugin and you have self built...the reason I asked re MyHS is that it does appear you are using it to access the page because in that screenshot it is accessing connected2.homeseer.com which is one of the MyHS URL's. It shouldn't cause an issue but don't know of much else that will cause a problem.

    Leave a comment:


  • Ravell
    replied
    Originally posted by mrhappy View Post

    Have you tried directly by the IP address rather than by MyHS? It might behave the same but this error is particularly vague and unhelpful so I don't really know where to start. Did you build the Pi and install the packages yourself or have you purchased it from HS? Do other plugin config pages work OK?
    yes I never use myhs.. always direct shell or a local pc. I did not have really have a need for push notifs. so can go on without it. ill reach back out when i do get around to reinstalling it. I have a twillio account so may possibly down the roads use that for sms notif. Thanks mrHappy enjoy the weekend. PS yea it a pi i built and installed raspbian then HS3

    Leave a comment:

Working...
X