Announcement

Collapse
No announcement yet.

Issues with AK Bond installation

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

    #46
    Originally posted by CJMH View Post
    The bond bridge is about 20 feet from the router with no walls in between. The router has no problems communicating with a google mini that is about 30 feet away on a different floor with several walls in between.
    Than it's not the problem. And I guess 444 is the bridge root device. I need to check why you have two lights...

    But please try .16

    Comment


      #47
      Originally posted by CJMH View Post
      And then the plugin crashed again without me doing anything. Log:

      Feb-03 9:50:20 PM AK Bond ERROR System.NullReferenceException: Object reference not set to an instance of an object.
      at: HSPI_AKBond.DeviceBondBridge.GetDevices (System.Collections.Generic.List`1[T] ids) [0x00053] in :0
      at: HSPI_AKBond.DeviceBondBridge.GetStatus () [0x0000e] in :0
      at: HSPI_AKBond.DeviceBondBridge.TimerCallback (System.Object state) [0x00009] in :0
      at: System.Threading.Timer+Scheduler.TimerCB (System.Object o) [0x00007] in :0
      at: System.Threading.QueueUserWorkItemCallback.System.Threading. IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in :0
      at: System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in :0
      at: System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in :0
      Feb-03 9:50:20 PM AK Bond ERROR Object reference not set to an instance of an object.
      This I have to fix, so guess .17 is coming

      Comment


        #48
        Ok, 3.0.0.17 it is (in BETA)

        Comment


          #49
          Also check firewall rules - Kaspesky had "Bond Api" blocked for me. The other issue (refer to other posts) I had was Bonjour. After I deleted that everything worked for me.

          Comment


            #50
            I enabled the dive references. Here are the BOND devices and log. I think I caught the list while AK Bond was in the middle of getting a com error. Normally the status is OK. As far as speed is concerned, the delay between clicking the "Toggle Power" button and the change appearing in the Bond App is nearly zero. As soon as I click the button in HS3 the Bond app shows the change so the communication between HS3 and the BOND device is pretty quick:
            Code:
             [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]464[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Ok[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Master Bedroom[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=464&edit=1"]Master Fan[/URL][/TD]
             			[TD]Today
            			10:34:40 PM[/TD]
             			[TD]Stop[/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]466[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Speed1[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Master Bedroom[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=466&edit=1"]Master Fan.FanSpeed[/URL][/TD]
             			[TD]Today
            			10:12:07 PM[/TD]
             			[TD]IncreaseSpeed DecreaseSpeed[/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]465[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Off[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Master Bedroom[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=465&edit=1"]Master Fan.Power[/URL][/TD]
             			[TD]Today
            			10:15:14 PM[/TD]
             			[TD]TurnOff TogglePower TurnOn[/TD]
             		[/TR]
            [TR]
            [TD="colspan: 10"] [/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]456[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Ok[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]My Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=456&edit=1"]My Bridge[/URL][/TD]
             			[TD]Today
            			10:34:40 PM[/TD]
             			[TD] [/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]467[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]127[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]My Bridge[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=467&edit=1"]My Bridge.Light[/URL][/TD]
             			[TD]Today
            			10:17:48 PM[/TD]
             			[TD] [/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]457[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]127[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]ZZCC69147.Bridge[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=457&edit=1"]ZZCC69147.Bridge.Light[/URL][/TD]
             			[TD]Today
            			10:14:12 PM[/TD]
             			[TD] [/TD]
             		[/TR]
            [TR]
            [TD="colspan: 10"] [/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]458[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Ok[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Sue' Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=458&edit=1"]Sue's Fan[/URL][/TD]
             			[TD]Today
            			10:34:40 PM[/TD]
             			[TD] [/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]463[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Off[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Sue' Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=463&edit=1"]Sue's Fan.DownLight[/URL][/TD]
             			[TD]Today
            			10:09:18 PM[/TD]
             			[TD]ToggleDownLight StartDownLightDimmer Stop TurnDownLightOn TurnDownLightOff[/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]460[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Speed1[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Sue' Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=460&edit=1"]Sue's Fan.FanSpeed[/URL][/TD]
             			[TD]Today
            			10:09:18 PM[/TD]
             			[TD]IncreaseSpeed DecreaseSpeed[/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]461[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Off[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Sue' Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=461&edit=1"]Sue's Fan.Light[/URL][/TD]
             			[TD]Today
            			10:09:18 PM[/TD]
             			[TD]ToggleLight TurnLightOn TurnLightOff[/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]459[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]Off[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Sue' Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=459&edit=1"]Sue's Fan.Power[/URL][/TD]
             			[TD]Today
            			10:09:18 PM[/TD]
             			[TD]TurnOff TogglePower TurnOn[/TD]
             		[/TR]
            [TR]
            [TD="align: center"][IMG2=JSON]{"data-align":"none","data-size":"full","src":"http:\/\/192.168.0.103\/images\/HomeSeer\/ui\/checkbox\/empty.png"}[/IMG2][/TD]
             			[TD="align: left"]462[/TD]
             			[TD] 			[TABLE]
            [TR]
            [TD] [/TD]
             						[TD]On[/TD]
             					[/TR]
            [/TABLE]
            [/TD]
             			[TD]Bond[/TD]
             			[TD]Sue' Room[/TD]
             			[TD][URL="http://192.168.0.103/deviceutility?ref=462&edit=1"]Sue's Fan.UpLight[/URL][/TD]
             			[TD]Today
            			10:09:18 PM[/TD]
             			[TD]ToggleUpLight StartUpLightDimmer Stop TurnUpLightOn TurnUpLightOff[/TD]
             		[/TR]
            [/TABLE]
            Message/Source
            Code:
              [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"]Feb-03 10:18:30 PM[/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"]AK Bond[/TD]
             			[TD="colspan: 8, align: left"][0]: : * Set Bond [Bond Bridge] ZZCC69147 (192.168.0.135) (HSPI_AKBond.DeviceBondBridge) Same: False[/TD]
             		[/TR]
            [/TABLE]
            [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"][COLOR=#FF0000]Feb-03 10:21:42 PM[/COLOR][/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
             			[TD="colspan: 8, align: left"][COLOR=#FF0000]System.NullReferenceException: Object reference not set to an instance of an object.
            			at: HSPI_AKBond.DeviceBondBridge.GetDevices (System.Collections.Generic.List`1[T] ids) [0x00053] in :0
            			at: HSPI_AKBond.DeviceBondBridge.GetStatus () [0x0000e] in :0
            			at: HSPI_AKBond.DeviceBondBridge.TimerCallback (System.Object state) [0x00009] in :0
            			at: System.Threading.Timer+Scheduler.TimerCB (System.Object o) [0x00007] in :0
            			at: System.Threading.QueueUserWorkItemCallback.System.Threading. IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in :0
            			at: System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in :0
            			at: System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in :0[/COLOR][/TD]
             		[/TR]
            [/TABLE]
            [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"][COLOR=#FF0000]Feb-03 10:21:42 PM[/COLOR][/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
             			[TD="colspan: 8, align: left"][COLOR=#FF0000]Object reference not set to an instance of an object.[/COLOR][/TD]
             		[/TR]
            [/TABLE]
            [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"][COLOR=#FF0000]Feb-03 10:21:42 PM[/COLOR][/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
             			[TD="colspan: 8, align: left"][COLOR=#FF0000]UnhandledException!!![/COLOR][/TD]
             		[/TR]
            [/TABLE]
            [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"][COLOR=#FF0000]Feb-03 10:21:42 PM[/COLOR][/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
             			[TD="colspan: 8, align: left"][COLOR=#FF0000][456]: Bond Bridge: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2': Status: 'Error' Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure' response: '' code: '0/' 'ReceiveFailure'[/COLOR][/TD]
             		[/TR]
            [/TABLE]
            [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"][COLOR=#FF0000]Feb-03 10:21:42 PM[/COLOR][/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
             			[TD="colspan: 8, align: left"][COLOR=#FF0000][456]: Bond Bridge: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure' response: '' code: '0/' 'ReceiveFailure'[/COLOR][/TD]
             		[/TR]
            [/TABLE]
            [TABLE="cellspacing: 0"]
            [TR]
            [TD="align: left"][COLOR=#FF0000]Feb-03 10:21:23 PM[/COLOR][/TD]
             			[TD="align: left"] [/TD]
             			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
             			[TD="colspan: 8, align: left"][COLOR=#FF0000][456]: Bond Bridge: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure' response: '' code: '0/' 'ReceiveFailure'[/COLOR][/TD]
             		[/TR]
            [/TABLE]

            Comment


              #51
              You still are getting the exception. Is it 3.0.0.17?

              Comment


                #52
                ver 17 seems to work much better, but it is still getting occasional com errors. .Not sure what the /B means (Beta?) in your question about what version I was using. The second "My Bridge.Light" child device seems to be created on the second starting of the AK Bond plug in. The plugin had not crashed so I manually disabled it, then re-enabled it. After that it created the "MyBdrige.Light" child device and the "ZZCC69147.Bridge.Light" became non-functional. It is my bedtime, so I will pick this up tomorrow .... Thanks for your support on this!

                Comment


                  #53
                  I spoke too soon about the crashes. It just crashed again:
                  Code:
                   [TABLE="cellspacing: 0"]
                  [TR]
                  [TD="align: left"][COLOR=#FF0000]Feb-03 11:16:57 PM[/COLOR][/TD]
                   			[TD="align: left"] [/TD]
                   			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                   			[TD="colspan: 8, align: left"][COLOR=#FF0000]System.NullReferenceException: Object reference not set to an instance of an object.
                  			at: HSPI_AKBond.DeviceBondBridge.set_extra (HSPI_AKBond.DeviceBondBridge+ExtraBondBridgeInfo value) [0x0008e] in <53992c29c7214f78a2b7f12c58bd437e>:0
                  			at: HSPI_AKBond.DeviceBondBridge.GetVersion () [0x000eb] in <53992c29c7214f78a2b7f12c58bd437e>:0
                  			at: HSPI_AKBond.DeviceBondBridge.GetBridgeInfo () [0x00013] in <53992c29c7214f78a2b7f12c58bd437e>:0
                  			at: HSPI_AKBond.DeviceBondBridge.GetStatus () [0x00008] in <53992c29c7214f78a2b7f12c58bd437e>:0
                  			at: HSPI_AKBond.DeviceBondBridge.TimerCallback (System.Object state) [0x00009] in <53992c29c7214f78a2b7f12c58bd437e>:0
                  			at: System.Threading.Timer+Scheduler.TimerCB (System.Object o) [0x00007] in :0
                  			at: System.Threading.QueueUserWorkItemCallback.System.Threading. IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in :0
                  			at: System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in :0
                  			at: System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in :0[/COLOR][/TD]
                   		[/TR]
                  [/TABLE]
                  [TABLE="cellspacing: 0"]
                  [TR]
                  [TD="align: left"][COLOR=#FF0000]Feb-03 11:16:57 PM[/COLOR][/TD]
                   			[TD="align: left"] [/TD]
                   			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                   			[TD="colspan: 8, align: left"][COLOR=#FF0000]Object reference not set to an instance of an object.[/COLOR][/TD]
                   		[/TR]
                  [/TABLE]
                  [TABLE="cellspacing: 0"]
                  [TR]
                  [TD="align: left"][COLOR=#FF0000]Feb-03 11:16:57 PM[/COLOR][/TD]
                   			[TD="align: left"] [/TD]
                   			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                   			[TD="colspan: 8, align: left"][COLOR=#FF0000]UnhandledException!!![/COLOR][/TD]
                   		[/TR]
                  [/TABLE]
                  [TABLE="cellspacing: 0"]
                  [TR]
                  [TD="align: left"][COLOR=#FF0000]Feb-03 11:16:57 PM[/COLOR][/TD]
                   			[TD="align: left"] [/TD]
                   			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                   			[TD="colspan: 8, align: left"][COLOR=#FF0000][468]: Bond Bridge: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/bridge': Status: 'Error' Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure' response: '' code: '0/' 'ReceiveFailure'[/COLOR][/TD]
                   		[/TR]
                  [/TABLE]
                  [TABLE="cellspacing: 0"]
                  [TR]
                  [TD="align: left"][COLOR=#FF0000]Feb-03 11:16:54 PM[/COLOR][/TD]
                   			[TD="align: left"] [/TD]
                   			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                   			[TD="colspan: 8, align: left"][COLOR=#FF0000][468]: Bond Bridge: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure' response: '' code: '0/' 'ReceiveFailure'[/COLOR][/TD]
                   		[/TR]
                  [/TABLE]

                  Comment


                    #54
                    These errors 'Error getting response stream (ReadDoneAsync2): ReceiveFailure' seem to be a know Mono bug.

                    For now I just need to make the plugin more robust so it can handle the errors.

                    And I will try to find a solution for that, I need to Google more.

                    So ver 3.0.0.18 (BETA) should fix the crash. The errors still may be there, but they shouldn't cause problems.

                    Comment


                      #55
                      And I will sort out the double blue light device, should be easy after you mentioned plugin restart.

                      Comment


                        #56
                        Originally posted by CJMH View Post
                        The second "My Bridge.Light" child device seems to be created on the second starting of the AK Bond plug in. The plugin had not crashed so I manually disabled it, then re-enabled it. After that it created the "MyBdrige.Light" child device and the "ZZCC69147.Bridge.Light" became non-functional. It is my bedtime, so I will pick this up tomorrow .... Thanks for your support on this!
                        Ver. 3.0.0.19 (BETA) should fix the problem, the device should have address "ZZCC69147.Light".

                        You might enable "Show Device Address/Code Column on Device Management Page" (Tools -> Setup -> Custom) to verify. Because I check if the new HS device needs to be created based on the device Address field. Because that's the only field that user can't modify. This way I let the user change any other field, incl. device type.

                        Comment


                          #57
                          Ver 19 seems to be working better. Still getting the errors on occasion, but has not crashed yet. What does the "Update" setting on the "Config Page" do? I assume it is how often the plugin polls the BOND. If so, I am not sure that is working right. It does not seem to effect how long between getting status updates from the bond. I set it to 10 seconds and turned on logging and here what I am seeing. It seems random when it gets status, but never as long as 10 seconds. Also. if I change a setting in the Bond app, the update on HS3 is anywhere from 1 second to maybe 3 seconds. Even if a change the setting on the Bond app as soon as I see HS3 update. Don't know if this is helpful:
                          Code:
                           [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:57 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: {"light":0,"power":0,"speed":1,"_":"deda3a33"}[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:56 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: Execute cmd: /v2/devices/68479fa2/state[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:56 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: {"light":0,"power":0,"speed":1,"up_light":1,"down_light":0," direction":1,"_":"e8db6a41"}[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:56 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: Execute cmd: /v2/devices/4f9abd62/state[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:54 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: {"light":0,"power":0,"speed":1,"_":"deda3a33"}[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:54 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: Execute cmd: /v2/devices/68479fa2/state[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:54 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: {"light":0,"power":0,"speed":1,"up_light":1,"down_light":0," direction":1,"_":"e8db6a41"}[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#000000]Feb-04 8:28:54 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#000000]AK Bond[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#000000][480]: Execute cmd: /v2/devices/4f9abd62/state[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          So far the plugin has gotten 9 errors over about 12 minutes, but has not crashed yet:

                          Code:
                           [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#FF0000]Feb-04 8:33:58 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#FF0000][480]: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' (ReceiveFailure). Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure'.[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#FF0000]Feb-04 8:31:06 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#FF0000][480]: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' (ReceiveFailure). Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure'.[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#FF0000]Feb-04 8:24:10 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#FF0000][480]: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' (ReceiveFailure). Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure'.[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#FF0000]Feb-04 8:23:08 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#FF0000][480]: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/68479fa2/state': Status: 'Error' (ReceiveFailure). Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure'.[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [TD="align: left"][COLOR=#FF0000]Feb-04 8:22:27 AM[/COLOR][/TD]
                           			[TD="align: left"] [/TD]
                           			[TD="colspan: 3, align: left"][COLOR=#FF0000]AK Bond ERROR[/COLOR][/TD]
                           			[TD="colspan: 8, align: left"][COLOR=#FF0000][480]: [Bond Bridge] ZZCC69147 (192.168.0.135): Execute '/v2/devices/4f9abd62/state': Status: 'Error' (ReceiveFailure). Error: 'Error getting response stream (ReadDoneAsync2): ReceiveFailure'.[/COLOR][/TD]
                           		[/TR]
                          [/TABLE]
                          [TABLE="cellspacing: 0"]
                          [TR]
                          [/TR]
                          [/TABLE]

                          Comment


                            #58
                            Originally posted by CJMH View Post
                            What does the "Update" setting on the "Config Page" do? I assume it is how often the plugin polls the BOND. If so, I am not sure that is working right. It does not seem to effect how long between getting status updates from the bond. I set it to 10 seconds and turned on logging and here what I am seeing. It seems random when it gets status, but never as long as 10 seconds. Also. if I change a setting in the Bond app, the update on HS3 is anywhere from 1 second to maybe 3 seconds. Even if a change the setting on the Bond app as soon as I see HS3 update. Don't know if this is helpful:
                            Yeah, from the log it looks like the update rate is still 2 sec. I'll check.

                            Originally posted by CJMH View Post
                            Still getting the errors on occasion, but has not crashed yet.
                            So far the plugin has gotten 9 errors over about 12 minutes, but has not crashed yet:
                            As I said before, and created a new thread - this is a known Mono issue. I can't fix it, but I will try to change the implementation to avoid the errors.

                            Comment


                              #59
                              Originally posted by CJMH View Post
                              What does the "Update" setting on the "Config Page" do? I assume it is how often the plugin polls the BOND. If so, I am not sure that is working right. It does not seem to effect how long between getting status updates from the bond. I set it to 10 seconds and turned on logging and here what I am seeing. It seems random when it gets status, but never as long as 10 seconds.
                              I can't reproduce the problem, it works for me. Does the value stick - i.e. is it same after plugin restart?

                              Note that first two minutes after restart the update rate is fixed to 10 sec irrespectively of this setting to reduce start-up load.

                              Comment


                                #60
                                Still no crash and a lot of occasional errors so perhaps the plugin's error processing is working better.

                                The "Update" rate sticks. Same 10 seconds after restart, but log shows a somewhat random update rate. Anywhere from almost instantaneous to five to ten seconds from the timestamps in the log.

                                Comment

                                Working...
                                X