Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

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

  • ZoRaC
    replied
    Originally posted by freebs View Post
    but I have a Schlage deadbolt on the front door and it sends me an alert every 10 mins.. even though the status really doesn't change..,

    Leave a comment:


  • donstephens
    replied
    I think you want the condition set to if 'changed'. I don't have a lock so I can't look, but perhaps this will help.

    Leave a comment:


  • freebs
    replied
    Pushover alerts 10 mins apart..

    Hi everyone.. perhaps someone could help me out here.. I just switched from Vera to Homseer. it's such a better system.. more robust. Glad I made the change.

    So I have all my device on Homeseer all working fine.. but unlike Vera.. I just used Vera Alerts.. Homeseer is a bit more to setup.. now I have Pushover working and sending alerts via events.. but I have a Schlage deadbolt on the front door and it sends me an alert every 10 mins.. even though the status really doesn't change...

    It's likely something I've done, but I can't seem to find an answer.I also get like 6 alerts upon lock trigger unlock or lock. Here is a screenshot of the log..
    https://ibb.co/gdQehd

    Also here is a link to the event.
    https://ibb.co/ewxQNd

    thanks for any help!

    Leave a comment:


  • mrhappy
    replied
    I am afraid I am still at a bit of a loss, nothing has changed in terms of the scripting call that I can see. I can't run the entire script without some effort so just cut it down to;

    Code:
    Sub Main(ByVal Parm As Object)
    
        Try
    
            	Dim pushArr(8) As Object
    
            	pushArr(0) = "iPhone"
            	pushArr(1) = "test message"
            	pushArr(2) = "test title"
            	pushArr(3) = "normal"
            	pushArr(4) = Nothing
            	pushArr(5) = Nothing
            	pushArr(6) = Nothing
            	pushArr(7) = Nothing
            	pushArr(8) = Nothing
    
            	hs.PluginFunction("Pushover 3P", "", "Pushscript", pushArr)
    
        Catch ex As Exception : hs.writelog("PushoverTest", "Exception: " & ex.message)
        End Try
    
    End Sub
    And it appears to work just fine - would you be willing to try this build (which is the one I am using, just in case the one in the updater is wrong) and your script just to check? You would need to drop it into your HS folder once downloaded. https://drive.google.com/file/d/15-x...ew?usp=sharing

    Leave a comment:


  • ZoRaC
    replied
    Originally posted by mrhappy View Post
    Sorry I have been pretty busy with work so could not get back to you, glad you have something working at least but I would like to figure it out. I've tried .42 with the basic test script and it seems to work OK sending messages - would you be willing to share either all or part of your script so I can have a look at it?

    Thanks...

    Leave a comment:


  • mrhappy
    replied
    Originally posted by ZoRaC View Post
    Downgraded to .38 from a backup, issue resolved.
    So to track down the problem, please look at what you changed after .38.
    Sorry I have been pretty busy with work so could not get back to you, glad you have something working at least but I would like to figure it out. I've tried .42 with the basic test script and it seems to work OK sending messages - would you be willing to share either all or part of your script so I can have a look at it?

    Thanks...

    Leave a comment:


  • ZoRaC
    replied
    Downgraded to .38 from a backup, issue resolved.
    So to track down the problem, please look at what you changed after .38.

    Leave a comment:


  • ZoRaC
    replied
    Originally posted by mrhappy View Post

    Leave a comment:


  • ZoRaC
    replied
    Originally posted by mrhappy View Post
    However I would really like to know what actually is up as if it happened to everybody I would expect more than two people to report it (of course I know there may be more) so it could be something else - would you mind sending me a copy of your PushoverConf.ini file by PM so I can see what it is like?
    I'm running on Ubuntu and the issue only occurs from scripts, not from event-actions. Perhaps that's the common part here?

    I've checked the "PushoverConf.ini":
    Code:
    [Settings]
    UsrKey=<KEY REMOVED>
    eInterval=60
    eExpiry=600
    [APITokens]
    HomeSeer=<KEY REMOVED>
    [Clients]
    iPhone=Nothing

    Leave a comment:


  • MichaelK
    replied
    Originally posted by mrhappy View Post
    .39 should be available here - http://seriousface.ddns.net/plugins/...r_0_0_0_39.zip

    However I would really like to know what actually is up as if it happened to everybody I would expect more than two people to report it (of course I know there may be more) so it could be something else - would you mind sending me a copy of your PushoverConf.ini file by PM so I can see what it is like?
    I was still on .38; did a test, and got this:
    "Attachment does not exist - check path/file status and try again - will send plain message"

    I updated to .42; ran the same test, and got the same output in the log (no
    'WebException Error' or 'AddToTable').

    Current Date/Time: 5/14/2018 6:27:28 PM
    HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.435
    Linux version: Linux HomeTrollerZeeS2V2 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux System Uptime: 0 Days 22 Hours 29 Minutes 27 Seconds
    IP Address: 192.168.1.152
    Number of Devices: 128
    Number of Events: 88
    Available Threads: 391
    HSTouch Enabled: True
    Event Threads: 0
    Event Trigger Eval Queue: 0
    Event Trigger Priority Eval Queue: 0
    Device Exec Queue: 0
    HSTouch Event Queue: 0
    Email Send Queue: 0
    Anti Virus Installed:

    Enabled Plug-Ins
    3.0.0.47: EasyTrigger
    3.0.0.14: NetCAM
    0.0.0.42: Pushover 3P
    3.0.4.6: Tasker Plugin
    3.0.1.190: Z-Wave

    Leave a comment:


  • mrhappy
    replied
    Originally posted by ZoRaC View Post
    Just updated to .42, still getting when using script...



    Can I downgrade to .39 somehow?
    .39 should be available here - http://seriousface.ddns.net/plugins/...r_0_0_0_39.zip

    However I would really like to know what actually is up as if it happened to everybody I would expect more than two people to report it (of course I know there may be more) so it could be something else - would you mind sending me a copy of your PushoverConf.ini file by PM so I can see what it is like?

    Leave a comment:


  • ZoRaC
    replied
    Originally posted by ZoRaC View Post
    I'm also seeing this on .40 and .41 (when running from a script).
    Hopefully .42 will fix this!
    Just updated to .42, still getting
    WebException Error The remote server returned an error: (400) Bad Request
    when using script...



    Can I downgrade to .39 somehow?

    Leave a comment:


  • ZoRaC
    replied
    Originally posted by ServiceXp View Post
    Updated to .40 and now I get this. I've check all settings and key and they appear to be correct. (worked before but not after update to .40)
    I'm also seeing this on .40 and .41 (when running from a script).
    Hopefully .42 will fix this!

    Leave a comment:


  • mrhappy
    replied
    Originally posted by Moskus View Post
    Every time I send a message (from scripts or Events) I see this in the log:

    Code:
    mai-10 12:22:00	 	Pushover 3P	AddToTable Exception: There is no row at position 101.
    mai-10 12:22:00	 	Pushover 3P	AddToTable : Message Sent
    mai-10 12:22:00	 	Pushover 3P	Pushover Notification Sent - Message Title Ytterdør
    mai-10 12:21:59	 	Pushover 3P	AddToTable Exception: There is no row at position 101.
    mai-10 12:21:59	 	Pushover 3P	AddToTable : Send Pushover Message
    mai-10 12:21:59	 	Pushover 3P	AddToTable Exception: There is no row at position 101.
    mai-10 12:21:59	 	Pushover 3P	AddToTable : Scripting Call
    I think I have fixed this in version .42 which I have submitted to HS for putting into the updater. It should not have been added to the normal log in any case (only debug) and I think I have fixed what was causing the exception to start with.

    Leave a comment:


  • Moskus
    replied
    Every time I send a message (from scripts or Events) I see this in the log:

    Code:
    mai-10 12:22:00	 	Pushover 3P	AddToTable Exception: There is no row at position 101.
    mai-10 12:22:00	 	Pushover 3P	AddToTable : Message Sent
    mai-10 12:22:00	 	Pushover 3P	Pushover Notification Sent - Message Title Ytterdør
    mai-10 12:21:59	 	Pushover 3P	AddToTable Exception: There is no row at position 101.
    mai-10 12:21:59	 	Pushover 3P	AddToTable : Send Pushover Message
    mai-10 12:21:59	 	Pushover 3P	AddToTable Exception: There is no row at position 101.
    mai-10 12:21:59	 	Pushover 3P	AddToTable : Scripting Call

    Leave a comment:

Working...
X