Announcement

Collapse
No announcement yet.

HS3 Pushover Plugin

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

    I'm not able to get it to work. I'm not sure I am using it correctly though. What I have done is install the complication on my watch, and send a glance message to the phone associated with the watch. I created a test event for this

    Ultimately I would like a glance message with the status of the house so I will eventually use a replacement variable in the message text for a virtual device status.
    Attached Files
    _______________________________________________

    HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
    Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
    Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

    Comment


      Originally posted by jlrichar View Post
      I'm not able to get it to work. I'm not sure I am using it correctly though. What I have done is install the complication on my watch, and send a glance message to the phone associated with the watch. I created a test event for this

      Ultimately I would like a glance message with the status of the house so I will eventually use a replacement variable in the message text for a virtual device status.
      I'm not sure myself as I don't have a watch, I'd guess it was the same name as the device - do you get a message saying that the message was successful in the HS log?

      Comment


        I don't see anything on my watch. I'm not sure if I am supposed to add the watch somehow so that pushover sees it as a device separate from my iphone.

        This is what is in the console after I try to send a message:

        Code:
        [2/12/2017 3:30:07 PM]  ******** ActionConfigured Called DataIn IsNothing: False
        
        [2/12/2017 3:30:07 PM] ActionConfigured - 7439 Action Keys Count: 8
        [2/12/2017 3:30:07 PM] Call to DeSerialize the Information
        [2/12/2017 3:30:07 PM] Return from DeSerialize Key Count: 11
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: mGDevice_7439_236_A0 Actions: Jaso
        n_iPhone_6
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: chkMessageTitle_7439_236_A0 Action
        s: unchecked
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: mTitle_7439_236_A0 Actions: Messag
        e Title
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: chkMessageBody_7439_236_A0 Actions
        : checked
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: mMessage_7439_236_A0 Actions: chan
        ged
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: chkMessageSubtext_7439_236_A0 Acti
        ons: unchecked
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: mSubText_7439_236_A0 Actions:
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: chkMessageCount_7439_236_A0 Action
        s: unchecked
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: mCount_7439_236_A0 Actions: 0
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: chkMessagePercent_7439_236_A0 Acti
        ons: unchecked
        [2/12/2017 3:30:07 PM] sKey ActionConfigured: mPercent_7439_236_A0 Actions: 0
        [2/12/2017 3:30:07 PM] itemsConfigured: 8
        [2/12/2017 3:30:07 PM] Configured: True
        [2/12/2017 3:30:07 PM] ********* HandleAction Called
        [2/12/2017 3:30:07 PM] ** GlanceMessage Debug **
        [2/12/2017 3:30:07 PM] GlanceMessage Sub Called - DeviceName: Jason_iPhone_6 Mes
        sage: changed Title:  Subtext:  Count: 32767 Percent: 255
        [2/12/2017 3:30:07 PM] SendStatus Is True - Send The Message
        [2/12/2017 3:30:07 PM] Populating Glance Message Array
        [2/12/2017 3:30:07 PM] Entry In Array: Jason_iPhone_6
        [2/12/2017 3:30:07 PM] Entry In Array: changed
        [2/12/2017 3:30:07 PM] Entry In Array:
        [2/12/2017 3:30:07 PM] Entry In Array:
        [2/12/2017 3:30:07 PM] Entry In Array: 32767
        [2/12/2017 3:30:07 PM] Entry In Array: 255
        [2/12/2017 3:30:07 PM] Device Name: Jason_iPhone_6
        [2/12/2017 3:30:07 PM] Found User Key: removed
        [2/12/2017 3:30:07 PM] Found Token: removed
        [2/12/2017 3:30:07 PM] Web Client Busy Status: False
        [2/12/2017 3:30:07 PM] TimeSpan Between Last Message And Now: 22 Message Delay M
        inutes: 20
        [2/12/2017 3:30:07 PM] Send A Message (Delay): True
        [2/12/2017 3:30:07 PM] *** CustomReplacement Function Entered Input String: chan
        ged
        [2/12/2017 3:30:07 PM] *** DISABLED FOR DEBUGGING ***
        [2/12/2017 3:30:07 PM] *** CustomReplacement Function Entered Input String:
        [2/12/2017 3:30:07 PM] *** DISABLED FOR DEBUGGING ***
        [2/12/2017 3:30:07 PM] *** CustomReplacement Function Entered Input String:
        [2/12/2017 3:30:07 PM] *** DISABLED FOR DEBUGGING ***
        [2/12/2017 3:30:07 PM] Key: token
        [2/12/2017 3:30:07 PM] Item: removed
        [2/12/2017 3:30:07 PM] Key: user
        [2/12/2017 3:30:07 PM] Item: removed
        [2/12/2017 3:30:07 PM] Key: device
        [2/12/2017 3:30:07 PM] Item: Jason_iPhone_6
        [2/12/2017 3:30:07 PM] Key: text
        [2/12/2017 3:30:07 PM] Item: changed
        [2/12/2017 3:30:07 PM] Sending to Pushover As Glance Message...
        [2/12/2017 3:30:08 PM] WebClient Is Running: False
        [2/12/2017 3:30:08 PM] Web Response Header: Transfer-Encoding
        [2/12/2017 3:30:08 PM] Web Response Header: Connection
        [2/12/2017 3:30:08 PM] Web Response Header: Access-Control-Allow-Origin
        [2/12/2017 3:30:08 PM] Web Response Header: Access-Control-Allow-Methods
        [2/12/2017 3:30:08 PM] Web Response Header: Access-Control-Allow-Headers
        [2/12/2017 3:30:08 PM] Web Response Header: Access-Control-Max-Age
        [2/12/2017 3:30:08 PM] Web Response Header: X-Limit-App-Limit
        [2/12/2017 3:30:08 PM] Web Response Header: X-Limit-App-Remaining
        [2/12/2017 3:30:08 PM] Web Response Header: X-Limit-App-Reset
        [2/12/2017 3:30:08 PM] Web Response Header: X-UA-Compatible
        [2/12/2017 3:30:08 PM] Web Response Header: X-Request-Id
        [2/12/2017 3:30:08 PM] Web Response Header: X-Runtime
        [2/12/2017 3:30:08 PM] Web Response Header: X-Frame-Options
        [2/12/2017 3:30:08 PM] Web Response Header: Strict-Transport-Security
        [2/12/2017 3:30:08 PM] Web Response Header: Cache-Control
        [2/12/2017 3:30:08 PM] Web Response Header: Content-Type
        [2/12/2017 3:30:08 PM] Web Response Header: Date
        [2/12/2017 3:30:08 PM] Web Response Header: ETag
        [2/12/2017 3:30:08 PM] Reply:  <?xml version="1.0" encoding="UTF-8"?>
        <hash>
          <status type="integer">1</status>
          <request>removed</request>
        </hash>
        
        [2/12/2017 3:30:08 PM] Reply Status: 1
        [2/12/2017 3:30:08 PM] Updating Glance Message Table
        _______________________________________________

        HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
        Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
        Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

        Comment


          Jason

          If you go into the Watch app on your iPhone and then into Notifications, do you have Pushover enabled in the lower "Mirror Iphone alerts from:" section?

          Cheers
          James
          cheeryfool

          Comment


            Originally posted by cheeryfool View Post
            Jason

            If you go into the Watch app on your iPhone and then into Notifications, do you have Pushover enabled in the lower "Mirror Iphone alerts from:" section?

            Cheers
            James


            Or am I missing the point here and it's only Glances that aren't working for you?
            cheeryfool

            Comment


              I just installed the Pushover app on my Apple Watch which then added a Pushover Complication which I was able to add to one of my watch faces.

              However, when I trigger a test event with and send a Glance message to the associated iPhone I get the following error:

              "Message Unable To Send - Delay Between Messages"

              I tried sending a few times and see this error. I will leave it a bit and try in 30mins or something
              cheeryfool

              Comment


                Originally posted by cheeryfool View Post
                Or am I missing the point here and it's only Glances that aren't working for you?


                Regular notifications work great. Only glances are not showing on the watch. I have pushover notifications mirrored, the complication installed, and the pushover watch app installed. If someone has glances working with pushover plugin, could you share details on how it is setup?
                _______________________________________________

                HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
                Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
                Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

                Comment


                  Originally posted by jlrichar View Post
                  Regular notifications work great. Only glances are not showing on the watch. I have pushover notifications mirrored, the complication installed, and the pushover watch app installed. If someone has glances working with pushover plugin, could you share details on how it is setup?
                  I just got my first Glance to show on the bottom of my designated watch face. Setup exactly as you describe above. I just added a Pushover glance action to an existing event and directed it to the linked iPhone. When I manually ran that event, it worked. When I run it again I get the same error that I posted previously. Seems there's some sort of built in forced delay between sending one Glance and a subsequent one.

                  EDIT: Just found Adam's post from Feb 10th confirming there's a built in delay of 15mins between Glances
                  cheeryfool

                  Comment


                    Hmmm, which field did you send in the event?
                    _______________________________________________

                    HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
                    Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
                    Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

                    Comment


                      Originally posted by jlrichar View Post
                      Hmmm, which field did you send in the event?




                      cheeryfool

                      Comment


                        Unfortunately I have to enforce the delay albeit if I remember right I did add a hidden ini file setting to change the delay, the advice is;

                        When sending data to the Apple Watch, we recommend at least 20 minutes between each call. If you have pushed too much data and WatchOS stops processing updates, this resets overnight.
                        Pushover also advise;

                        Note: Due to the way glance data is delivered to widgets and their power constraints, it may take up to 10 minutes for your data to be reflected. Please be patient when testing.
                        Which might explain some messages appear not to come through straight away even if they respond to say they have been sent. The API is a bit unclear as to exactly what the reply 'removed' might mean, if it does not work and continues to not work I can approach Pushover and ask them.

                        Comment


                          I cannot figure out why I do not get the message on my watch. Is there potentially a port that is different for glances and regular pushover API?
                          _______________________________________________

                          HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
                          Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
                          Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

                          Comment


                            Originally posted by jlrichar View Post
                            I cannot figure out why I do not get the message on my watch. Is there potentially a port that is different for glances and regular pushover API?
                            Have you verified the registration of your watch with the Pushover service? On the Pushover.net website, you should see the "+ widget" designation next to your iPhone...
                            Attached Files

                            Comment


                              Originally posted by teladog01 View Post
                              Have you verified the registration of your watch with the Pushover service? On the Pushover.net website, you should see the "+ widget" designation next to your iPhone...
                              Yes, and mine shows the "+ widget" next to my iphone just like the capture.
                              _______________________________________________

                              HS3 : HSpro (3.0.0.460) on Win2012 (vm on ESXi)
                              Plugins: HSTouch, UPBSpud, Kinect, Nest, IFTTT, DirecTV, EasyTrigger, Imperihome, Zwave, RFXcom, UltraMon3, UltraWeatherBug3, UltraGCIR3, UltraLog3, UltraPioneer, PHLocation, Pushover, Pushalot, MCSSPrinklers S, JowiHue
                              Jon00 Plugins: Bluetooth Proximity, Performance Monitor, DB Chart, Links

                              Comment


                                Originally posted by jlrichar View Post
                                Yes, and mine shows the "+ widget" next to my iphone just like the capture.
                                In your previous post I see that the reply was;

                                Code:
                                <?xml version="1.0" encoding="UTF-8"?>
                                <hash>
                                  <status type="integer">1</status>
                                  <request>removed</request>
                                </hash>
                                Could you tell me what was in the request field and send it to me, I'll contact Pushover and ask them if they can debug. It's a unique receipt number as opposed to anything else, if I send it from the plugin and it is giving a receipt then the plugin is sending it correctly and it looks possible that it is either an issue with the setup or Pushovers side. There is no different port or anything like that.

                                Comment

                                Working...
                                X