Announcement

Collapse
No announcement yet.

Works for a while, then quits...

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

    Works for a while, then quits...

    Ran fine for 2 days then when my phone left the area yesterday am no further events were registered.

    Turned on degug this am and found these in the logfile:
    Code:
     
    1/13/2007 9:06:38 AM   BT Debug  Error while polling PPC_Phone: A service discovery is already pending 
    1/13/2007 9:06:38 AM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
    1/13/2007 9:06:38 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
    1/13/2007 9:06:38 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
    1/13/2007 9:06:54 AM   BT Debug  Error while polling PPC_Phone: A service discovery is already pending 
    1/13/2007 9:06:54 AM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
    1/13/2007 9:06:54 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
    1/13/2007 9:06:54 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
    1/13/2007 9:07:09 AM   BT Debug  Error while polling PPC_Phone: A service discovery is already pending 
    1/13/2007 9:07:09 AM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648
    Both units are within range while this is being logged.
    Things begin to operate as expected after a restart of HS.
    I'm running the Belkin adapter, Widcomm 4.0.1.2401 stack, WinXP Pro SP1, HS 2.1.104.0 and BT Connector v1.20 (not v1.20b)
    Any ideas why this might occur?

    Thanks!
    Last edited by mfisher; January 13, 2007, 12:36 PM.
    Best regards,
    -Mark-

    If you're not out on the edge, you're taking up too much room!
    Interested in 3D maps? Check out my company site: Solid Terrain Modeling

    #2
    Try to increase the polling interval a little.
    --
    stipus

    Comment


      #3
      Ok, increased from 10s to 30s. I'll let you know what happens.
      Thanks for your quick help!!
      Best regards,
      -Mark-

      If you're not out on the edge, you're taking up too much room!
      Interested in 3D maps? Check out my company site: Solid Terrain Modeling

      Comment


        #4
        Sometimes 10s are not enough for a service discovery.

        When the plugin asks the BT stack for the next service discovery, you get this error if the previous discovery is not finished yet. That's why increasing the poll interval should help.
        --
        stipus

        Comment


          #5
          Thanks Stipus.

          Ok, here's some new info. I've been watching the plugin today as I do stuff around the house. I just noticed that the BT status was not being updated again and errors in the log (included below).

          Here's what I did:
          1) Disable the Motorola phone in the plugin (at 4:23:15) since that device was away.
          No change in the PPC_Phone status.
          2) Disable the BT plugin (at 4:27:29) and you can see that it shut down properly.
          3) Re-enabled the BT plugin.
          As you can see, there was an error at startup and while my phone is reported as being recognized, it's not and there is no network status on the 'bt networks config' page.

          4) Re-started HS but did not reboot the PC - same problem as the start of the logfile.
          5) Opened My Bluetooth Places on my PC and immediately received a Windows dialog box "! 5 Services were found on PPC_Phone" <OK>. Problem still existed after pressing ok.
          6) Re-booted PC - this restored things back to a working condition.

          I sure appreciate your help!
          Code:
          1/13/2007 4:20:22 PM   BT Debug  Error while polling Motorola Phone: Failed to find services on the device due to a connection error 
          1/13/2007 4:20:22 PM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:20:25 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:20:25 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:21:04 PM   BT Debug  Error while polling Motorola Phone: Failed to find services on the device due to a connection error 
          1/13/2007 4:21:04 PM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:21:09 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:21:09 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:21:46 PM   BT Debug  Error while polling Motorola Phone: Failed to find services on the device due to a connection error 
          1/13/2007 4:21:46 PM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:21:48 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:21:48 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:22:28 PM   BT Debug  Error while polling Motorola Phone: Failed to find services on the device due to a connection error 
          1/13/2007 4:22:28 PM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:22:31 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:22:31 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:22:39 PM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 69&#176;F 
          1/13/2007 4:23:10 PM   BT Debug  Error while polling Motorola Phone: Failed to find services on the device due to a connection error 
          1/13/2007 4:23:10 PM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:23:13 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:23:13 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:23:45 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:23:45 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:23:56 PM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 70&#176;F 
          1/13/2007 4:24:17 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:24:17 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:24:49 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:24:49 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:25:09 PM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 71&#176;F 
          1/13/2007 4:25:21 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:25:21 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:25:53 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:25:53 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:26:25 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:26:25 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:26:57 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:26:57 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:27:29 PM   BT Debug  Error while polling PPC_Phone: The remote device did not authorize the connection 
          1/13/2007 4:27:29 PM   BT Debug  Polling PPC_Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
          1/13/2007 4:27:29 PM   Info  Shutting down generic Plug-In: BT Connector 
          1/13/2007 4:27:29 PM   BT Debug  ShutdownIO() called 
          1/13/2007 4:28:32 PM   Info  Interface BT Connector is running as a trial, 10 days remaining. 
          1/13/2007 4:28:32 PM   BT Connector  BT Connector V0.42.2.2 Copyright 2006 stipus at stipus dot com 
          1/13/2007 4:28:32 PM   Info  Initializing Plug-in: BT Connector 
          1/13/2007 4:28:32 PM   BT Debug  BT Connector : Debug Mode activated. Waiting 10 secs... 
          1/13/2007 4:28:42 PM   BT Debug  BT Connector : Error loading [Network 0] from hspi_bt.ini: Manager disposed! Cannot be called after Manager.Dispose() has been called. 
          1/13/2007 4:28:42 PM   BT Debug  BT Connector : 2 Bluetooth device(s) configured 
          1/13/2007 4:28:42 PM   Database Item  Saving Device BT Device PPC_Phone 
          1/13/2007 4:28:42 PM   Info  Finished initializing plug-in BT Connector 
          1/13/2007 4:29:12 PM   Info  Event Trigger "Mark Home-OK" 
          1/13/2007 4:29:12 PM   BT Debug  Bluetooth Device PPC_Phone value changed to 2 
          1/13/2007 4:30:38 PM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 70&#176;F
          Last edited by stipus; January 13, 2007, 10:16 PM.
          Best regards,
          -Mark-

          If you're not out on the edge, you're taking up too much room!
          Interested in 3D maps? Check out my company site: Solid Terrain Modeling

          Comment


            #6
            Not sure if it would help or not, but unplugging and plugging the BlueTooth Adapter back in will allow the devices to be recognized again.

            Just something I had noticed at one point.

            Steven

            Comment


              #7
              The plugin cannot be shutdown and restarted without stopping HomeSeer... That's a stupid limitation of the Bluetooth support lib I'm using.

              Several users of this lib (including me) asked for this to be changed (messages on the Franson Bluetools support forum) ... but it seems we haven't been heard yet ...
              --
              stipus

              Comment


                #8
                stipus,

                Here's some more log info for v1.20 (not 1.20b). Everything worked as expected from 4:00 pm yesterday until 8:44 this morning. Here's the appropriate log info:
                Code:
                1/15/2007 8:37:26 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:37:29 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-11 
                1/15/2007 8:38:32 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:38:33 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-7 
                1/15/2007 8:39:37 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:39:40 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-6 
                1/15/2007 8:40:43 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:40:44 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-5 
                1/15/2007 8:41:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:41:50 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-4 
                1/15/2007 8:42:37 AM   X10 Received  L11 ( Master Bath Recessed) L Off 
                1/15/2007 8:43:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:44:08 AM   BT Debug  Error while polling Motorola Phone: Service lookup timed out 
                1/15/2007 8:44:08 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 8:44:09 AM   Info  Event Trigger "D Away" 
                1/15/2007 8:44:09 AM   BT Debug  Bluetooth Device Motorola Phone value changed to 0 
                1/15/2007 8:45:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:45:48 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
                1/15/2007 8:45:48 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648
                1/15/2007 8:47:24 AM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 67F 
                1/15/2007 8:47:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:48:08 AM   BT Debug  Error while polling Motorola Phone: Service lookup timed out 
                1/15/2007 8:48:08 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-21474836481/15/2007 8:49:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:49:48 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
                1/15/2007 8:49:48 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-21474836481/15/2007 8:51:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:52:09 AM   BT Debug  Error while polling Motorola Phone: Service lookup timed out 
                1/15/2007 8:52:09 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 8:53:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:53:49 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
                1/15/2007 8:53:49 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 8:54:05 AM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 69F 
                1/15/2007 8:55:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:56:09 AM   BT Debug  Error while polling Motorola Phone: Service lookup timed out 
                1/15/2007 8:56:09 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 8:56:35 AM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 68F 
                1/15/2007 8:57:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 8:57:49 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
                1/15/2007 8:57:49 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 8:59:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 9:00:09 AM   BT Debug  Error while polling Motorola Phone: Service lookup timed out 
                1/15/2007 9:00:09 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 9:01:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 9:01:49 AM   BT Debug  Error while polling Motorola Phone: A service discovery is already pending 
                1/15/2007 9:01:49 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648 
                1/15/2007 9:03:38 AM   RCSX10 Info H  Current Temperature of Thermostat DS 'Stat has changed to 67F 
                1/15/2007 9:03:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 9:03:49 AM   BT Debug  Error while polling Motorola Phone: An undefined exception occured in the bluetooth stack while discovering services 
                1/15/2007 9:03:49 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648
                1/15/2007 9:05:48 AM   BT Debug  Polling PPC_Phone (Method=ConnectService) on Network0 returned signal strength=0 
                1/15/2007 9:06:09 AM   BT Debug  Error while polling Motorola Phone: Service lookup timed out 
                1/15/2007 9:06:09 AM   BT Debug  Polling Motorola Phone (Method=DiscoverService) on Network0 returned signal strength=-2147483648
                Neither phone was moved when the error occurred (both in their chargers). Just more info....
                Best regards,
                -Mark-

                If you're not out on the edge, you're taking up too much room!
                Interested in 3D maps? Check out my company site: Solid Terrain Modeling

                Comment


                  #9
                  In Windows device manager how is BT device reporting as?

                  Comment

                  Working...
                  X