Announcement

Collapse
No announcement yet.

Hub Disconnects ever 24 to 48 hours...solved

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hub Disconnects ever 24 to 48 hours...solved

    Hi,
    I am trying to resolve a problem with the Insteon Hub disconnecting from HomeSeer. I thought it might be a faulty I/O Link, which I have removed. From the logs I see:
    Mar-19 7:16:18 AM Insteon ** To request help with this problem please post this log file to the forum along with a detailed description of what lead to this problem.
    Mar-19 7:16:18 AM Insteon ** An error occurred in this plug-in. The details have been written to the log file - /usr/local/HomeSeer/Config/Insteon Error Report.Log
    Mar-19 7:16:18 AM Insteon Error, an error log file could not be written: System.IO.IOException: Sharing violation on path /usr/local/HomeSeer/Config/Insteon Error Report.Log at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0025f] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.Fi leShare,int,System.IO.FileOptions,string,bool,bool,bool) at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x00022] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00061] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.StreamWriter..ctor (System.String path, System.Boolean append) [0x00008] in <8f2c484307284b51944a1a13a14c0266>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool) at Insteon.Support.Utilities.LogManager.ReportError (System.String Msg) [0x000c4] in <40adda337b0943ff93445b79c4d43a54>:0
    Mar-19 7:16:18 AM Insteon ***:Error in Hub.GetResponseCallback: Error: ConnectFailure (Connection timed out) -- Details System.Net.WebException: Error: ConnectFailure (Connection timed out) ---> System.Net.Sockets.SocketException: Connection timed out at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in :0 at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in :0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in :0 at Insteon.Support.Hub.SocketPortClass.GetResponseCallback (System.IAsyncResult AsynchronousResult) [0x0000e] in <40adda337b0943ff93445b79c4d43a54>:0
    Mar-19 7:16:10 AM Insteon Attempting to restart the port and Interface...
    Mar-19 7:16:10 AM Insteon ..Could not contact Interface on 10.0.0.82:25105
    Mar-19 7:15:56 AM email Email successfully sent to EMAIL ADDRESSES REMOVED
    Mar-19 7:15:55 AM Insteon Attempting to restart the port and Interface...
    Mar-19 7:15:55 AM Insteon ..Could not contact Interface on 10.0.0.82:25105
    Mar-19 7:15:46 AM Insteon The request timed out
    Mar-19 7:15:44 AM msg {"sent":{"notification":"The Insteon Interface is Down"}}
    Mar-19 7:15:42 AM TTS Speak ():The Insteon Interface is Down
    Mar-19 7:15:40 AM Insteon Attempting to restart the port and Interface...
    Mar-19 7:15:39 AM Event Running script in background: /usr/local/HomeSeer/scripts/echo.vb
    Mar-19 7:15:39 AM Event Event Trigger "Alarms Hub Disconnect Alarm"
    Mar-19 7:15:39 AM Insteon Warning! Communications lost. Attempting to restart the port...
    Mar-19 7:15:39 AM Insteon Transmit failed to device House Outside DR (43.79.74) for cmd 00 00 00 43 79 74 0A 13 00 after 5 tries.
    Mar-19 7:15:39 AM Insteon Interface_TrapError called from SendHex
    Mar-19 7:15:39 AM Insteon The Hub has failed to transmit the last 1
    System Info
    Current Date/Time: 3/19/2020 8:02:09 AM
    HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.500
    Linux version: Linux TSraspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux System Uptime: 2 Days 1 Hour 20 Minutes 9 Seconds
    IP Address: 10.0.0.90
    Number of Devices: 39
    Number of Events: 33
    Available Threads: 393
    HSTouch Enabled: True
    Event Threads: 1
    Event Trigger Eval Queue: 0
    Event Trigger Priority Eval Queue: 0
    Device Exec Queue: 0
    HSTouch Event Queue: 0
    Email Send Queue: 0

    Enabled Plug-Ins
    3.0.7.1: Insteon
    3.4.17.1: mcsMQTT
    Attached Files

    #2
    can you try the latest beta available in the Beta section of the Updater
    Mark

    HS3 Pro 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    Comment


      #3
      Ok, I went ahead and installed it! Below are the errors in the log during installation.
      Mar-19 5:54:01 PM Insteon External Device Registration complete.
      Mar-19 5:54:01 PM Insteon Waiting to initialize External Devices...
      Mar-19 5:54:01 PM Starting Plug-In Plugin Insteon started successfully in 8005 milliseconds
      Mar-19 5:53:57 PM Insteon Hub contacted on 10.0.0.82:25105 with an Insteon address of 45.75.B9 and firmware version A5
      Mar-19 5:53:53 PM Insteon Insteon Support library (Insteon.dll) version: 1.1.7.20
      Mar-19 5:53:53 PM Starting Plug-In Initializing plugin Insteon ...
      Mar-19 5:53:52 PM Starting Plug-In Insteon loaded in 15018 milliseconds
      Mar-19 5:53:38 PM Info Plugin Insteon has connected. IP:127.0.0.1:45340
      Mar-19 5:53:37 PM Warning I/O interface Insteon is down, executable is not running, restarting ...
      Mar-19 5:53:26 PM Warning In InitSingleIOPlugin: Object reference not set to an instance of an object
      Mar-19 5:53:26 PM Updater Re-initializing plugin after update.
      Mar-19 5:53:21 PM Updater Install/Update of package Insteon was successful.
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\scripts\Insteon_ExtDevSupport_Sample.vb
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\shieldred.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\shieldgreen.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\water.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\redline.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\heartbeat.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\checkgreen.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\battery_empty.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\battery_half.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\battery_good.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\battery_full.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\battery.png
      Mar-19 5:53:21 PM Updater Warning File exists, not overwriting: \usr\local\HomeSeer\html\images\insteon\5-x-5_trans_spacer.gif
      Mar-19 5:53:21 PM Updater Copying file: /usr/local/HomeSeer/bin/insteon/FTD2XX_NET.dll
      Mar-19 5:53:21 PM Updater Copying file: /usr/local/HomeSeer/bin/insteon/Insteon.dll
      Mar-19 5:53:21 PM Updater Making dir: /usr/local/HomeSeer/bin/insteon/
      Mar-19 5:53:21 PM Updater Deleting file: \usr\local\HomeSeer\Insteon.dll
      Mar-19 5:53:21 PM Updater Copying file: /usr/local/HomeSeer/HSPI_Insteon.exe.config
      Mar-19 5:53:21 PM Updater Copying file: /usr/local/HomeSeer/HSPI_Insteon.exe
      Mar-19 5:53:20 PM Updater Installing package Insteon
      Mar-19 5:53:20 PM Updater Update HSPI_Insteon.exe downloaded successfully
      Mar-19 5:53:20 PM Info Plugin Insteon with instance: has disconnected
      Mar-19 5:53:20 PM Updater Downloading update: Insteon
      Mar-19 5:53:20 PM Warning Problem shutting down plugin Msg-B:Insteon
      Mar-19 5:53:20 PM Warning Problem shutting down plugin Msg-A:Insteon:The type initializer for 'System.Windows.Forms.XplatUI' threw an exception.
      Mar-19 5:53:19 PM Updater Plugin is loaded, unloading before updating.
      Mar-19 5:53:19 PM Updater Starting download of updates

      SYS INFO
      Current Date/Time: 3/19/2020 5:55:23 PM
      HomeSeer Version: HS3 ZEE S2 Edition 3.0.0.500
      Linux version: Linux TSraspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux System Uptime: 0 Days 0 Hours 15 Minutes 18 Seconds
      IP Address: 10.0.0.90
      Number of Devices: 40
      Number of Events: 33
      Available Threads: 391
      HSTouch Enabled: True
      Event Threads: 1
      Event Trigger Eval Queue: 0
      Event Trigger Priority Eval Queue: 0
      Device Exec Queue: 0
      HSTouch Event Queue: 0
      Email Send Queue: 0

      Enabled Plug-Ins
      3.0.7.20: Insteon
      3.4.17.1: mcsMQTT

      Comment


        #4
        the warnings are from the updater - nothing to worry about. It looks like the new version started up successfully.
        Mark

        HS3 Pro 4.2.19.5
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

        Comment


          #5
          Good Morning Failed Again. Attached is the log file. Thanx for your help!
          Attached Files

          Comment


            #6
            can you run the reset and reprogram on the interface from the plugin config page. you need to make sure the plugin can communicate with the hub before you run this. might be a good idea to power cycle the hub and HS first.
            Mark

            HS3 Pro 4.2.19.5
            Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
            Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
            Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

            Comment


              #7
              Ok, done! Let's see what happens
              Date/Time Pri Type/Error Message/Source
              Mar-20 6:48:41 PM TTS Speak ():HomeSeer has turned on the appropriate lights
              Mar-20 6:48:41 PM Device Control Device: House Outside DR to On (100)
              Mar-20 6:48:41 PM Device Control Device: House Kitchen Sink to On (100)
              Mar-20 6:48:41 PM Device Control Device: Garage Garage Door to On (100)
              Mar-20 6:48:41 PM Device Control Device: House Outside Front to On (100)
              Mar-20 6:48:41 PM Event Event Trigger "Daily Maintenance Daily On"
              Mar-20 6:47:23 PM Insteon Reset and Reprogram Complete.
              Mar-20 6:45:49 PM Insteon Now reprogramming the interface link database...
              Mar-20 6:45:43 PM Insteon Now resetting your interface. This will take about 5 secs...
              Mar-20 6:44:42 PM Device Control Device: House Outside DR to On (100) by/from: CAPI Control Handler
              Mar-20 6:44:39 PM Device Control Device: Garage Garage Door to On (100) by/from: CAPI Control Handler
              Mar-20 6:44:36 PM Device Control Device: House Outside Back to On (100) by/from: CAPI Control Handler
              Mar-20 6:44:33 PM Device Control Device: House Kitchen Sink to On (100) by/from: CAPI Control Handler
              Mar-20 6:43:23 PM Startup Start up complete.
              Mar-20 6:43:23 PM Info Latest BETA update available is:
              Mar-20 6:43:23 PM Info Latest update available is: 3.0.0.548

              Comment


                #8
                Failed again this morning, the error report is attached. I forgot to copy the log for the messages before I rebooted.
                Attached Files

                Comment


                  #9
                  a few things:
                  1. please delete the old error report log files from the homeseer\config folder so you dont run out of space
                  2. on the plugin advanced tab, try setting the Get Buffer Interval (msecs) to 3000
                  3. try different ports on the switch that the hub is connected too
                  Mark

                  HS3 Pro 4.2.19.5
                  Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                  Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                  Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                  Comment


                    #10
                    OK Done!
                    1. Directory cleared of old log files!
                    2. Get Buffer Interval (msecs) to 3000
                    3. changed the ports on the switch and new patch cables for the raspberry pi and the Insteon hub.

                    Comment


                      #11
                      Good Morning it Failed again. I was experimenting with other plugins over the weekend so the Raspberry Pi had gotten rebooted several times. The error log is attached.
                      Attached Files

                      Comment


                        #12
                        The next time Fail occurs, can you try the following before you change anything on your setup

                        from the browser, goto to http://10.0.0.82:25105

                        and see if you can login with the credentials on the bottom of the unit

                        im trying figure out of the issue is with the hub unit itself or the comm between the hub and plugin

                        Mark

                        HS3 Pro 4.2.19.5
                        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                        Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                        Comment


                          #13
                          i posted a new beta that changes how the plugin sends commands to the hub. please give it a try.
                          Mark

                          HS3 Pro 4.2.19.5
                          Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                          Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                          Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                          Comment


                            #14
                            please try the latest beta 3.0.7.36, its been working for a few others users. please report back
                            Mark

                            HS3 Pro 4.2.19.5
                            Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
                            Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
                            Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

                            Comment

                            Working...
                            X