Announcement

Collapse
No announcement yet.

Insteon X10 Crash - Happens Almost Daily

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

    Insteon X10 Crash - Happens Almost Daily

    I am using the Insteon Plugin for Insteon devices only, and use the X10 plugin for X10 devices. However, the Insteon Plugin crashes almost daily on an X10 issue, and creates an error report. Here are the relevant portions. The log is almost 2MB. I can attached the full log if needed.

    Insteon Plug-in Error Log Generated 2/2/2014 7:04:04 PM
    -----------*Error Message*----------------
    Error: Error in X10Event: Conversion from string "" to type 'Integer' is not valid. -- Details System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
    at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat)
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value)
    --- End of inner exception stack trace ---
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value)
    at HSPI_Insteon.hspiAPI.HSCallback.X10Event(String Codes, String housecode, Int16 command, String extra, String data2) -- 2/2/2014 7:04:04 PM
    --------*Initialization Log*--------------
    2/2/2014 10:11:31 AM - Host System: () 3.0.0.55
    2/2/2014 10:11:31 AM - Plugin: HSPI_Insteon.DLL - v3.0.3.16
    2/2/2014 10:11:31 AM - RegisterCallback Completed
    2/2/2014 10:11:31 AM - Enter InitIO
    2/2/2014 10:11:31 AM - Enter InitPlugin
    2/2/2014 10:11:31 AM - Global initialization of plug-in required, starting up.
    2/2/2014 10:11:31 AM - Initializing Insteon hardware interface...
    2/2/2014 10:11:31 AM - In ProcessRawReceiveThread
    2/2/2014 10:11:31 AM - In PLMBuffer_ProcessBufferThread
    2/2/2014 10:11:31 AM - Sending command 02 60 to Interface, (Expecting 6 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
    2/2/2014 10:11:31 AM - ..waiting 488ms
    2/2/2014 10:11:32 AM - ..Got Interface Response 02 60 13 AC 83 03 15 92 06
    2/2/2014 10:11:32 AM - ..Time to send message: 514.1457
    2/2/2014 10:11:32 AM - Sending command 02 60 to Interface, (Expecting 6 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
    2/2/2014 10:11:32 AM - ..waiting 495ms
    2/2/2014 10:11:32 AM - ..Got Interface Response 02 60 13 AC 83 03 15 92 06
    2/2/2014 10:11:32 AM - ..Time to send message: 505.6948
    2/2/2014 10:11:32 AM - RF PLM contacted on COM3 with an Insteon address of 13.AC.83 and firmware version 92
    2/2/2014 10:11:32 AM - ResourceManager::RequestExclusive for Resource 1
    2/2/2014 10:11:32 AM - ResourceManager::RequestExclusive acquired for Resource 1
    2/2/2014 10:11:32 AM - Sending command 02 6B 48 to RF PLM, (Expecting 0 bytes extra back) Pre-Payload ACK:False, NAK is ok:False
    2/2/2014 10:11:32 AM - ..waiting 194ms
    2/2/2014 10:11:32 AM - ..Got RF PLM Response 02 6B 48 06
    2/2/2014 10:11:32 AM - ..Time to send message: 218.3311
    2/2/2014 10:11:32 AM - ResourceManager::ReleaseExclusive for Resource 1
    2/2/2014 10:11:32 AM - Insteon hardware interface initialized.
    2/2/2014 10:11:32 AM - I/O (Insteon Protocol) Interface Initializing...
    2/2/2014 10:11:32 AM - In TransmitMessageThread
    2/2/2014 10:11:32 AM - Scheduled polling enabled.
    2/2/2014 10:11:32 AM - In CreateDevices
    2/2/2014 10:11:32 AM - Scheduled polling temporarily stopped.
    2/2/2014 10:11:32 AM - Reloading 4 Insteon group information tables...
    2/2/2014 10:11:32 AM - Reloading 31 Insteon device information tables...
    2/2/2014 10:11:34 AM - Time to load devices from ini: 1.428
    2/2/2014 10:11:34 AM - 37 Matching HS device records were found and updated for the Insteon device database.
    2/2/2014 10:11:34 AM - 4 Matching HS device records were found and updated for the Insteon group database.
    2/2/2014 10:11:35 AM - Scheduled polling resumed.
    2/2/2014 10:11:35 AM - Exit CreateDevices
    2/2/2014 10:11:35 AM - I/O(Insteon Protocol) Interface Initialized.
    2/2/2014 10:11:35 AM - Exit InitPlugin

    -----------*Pre-Error Log*----------------
    2/2/2014 6:43:27 PM - PLM_ProcessInBuffer received STX 0x52, but the command payload is incomplete, waiting..
    [... This line is repeated many times, then there are a lot of messages, which end up with the following...]

    2/2/2014 7:03:59 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):07 00
    2/2/2014 7:03:59 PM - Processing Received X10 Address: M9
    2/2/2014 7:04:00 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:00 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:00 PM - ***:Error in X10Event: Conversion from string "" to type 'Integer' is not valid. -- Details System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
    at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat)
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value)
    --- End of inner exception stack trace ---
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value)
    at HSPI_Insteon.hspiAPI.HSCallback.X10Event(String Codes, String housecode, Int16 command, String extra, String data2)
    2/2/2014 7:04:00 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:00 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:01 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:01 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:01 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:01 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:01 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:01 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:02 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:02 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:02 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:02 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:02 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:02 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:03 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:03 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:03 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:03 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:03 PM - Starting Scheduled Polling...
    2/2/2014 7:04:03 PM - ..Finished Scheduled Polling for 0 devices.
    2/2/2014 7:04:03 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:03 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:04 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):05 80
    2/2/2014 7:04:04 PM - Processing Received X10 Command: M Bright
    2/2/2014 7:04:04 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):07 00
    2/2/2014 7:04:04 PM - Processing Received X10 Address: M9
    2/2/2014 7:04:04 PM - PLM_ProcessInBuffer received STX 0x52 (Raw X10 Rec):04 80
    2/2/2014 7:04:04 PM - Processing Received X10 Command: M Dim
    2/2/2014 7:04:04 PM - ***:Error in X10Event: Conversion from string "" to type 'Integer' is not valid. -- Details System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format.
    at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDoub le(String Value, NumberFormatInfo NumberFormat)
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value)
    --- End of inner exception stack trace ---
    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger (String Value)
    at HSPI_Insteon.hspiAPI.HSCallback.X10Event(String Codes, String housecode, Int16 command, String extra, String data2)
    --------*End Pre-Error Log*--------------

    #2
    thanks for reporting this. I need to add a switch to allow you to turn off/on x10 processing in the insteon plugin since you are using a different x10 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


      #3
      I changed the plugin so x10 processing is disabled by default. You don't need to do anything other than upgrading

      please try 3.0.3.17 on the following thread and let me know

      http://board.homeseer.com/showthread.php?p=1097374
      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


        #4
        Thanks for the update!

        I've upgraded to 3.0.3.17, and left the option to use X10 off. So far, so good. No crashes or messages. I'll let it run for awhile and let you know how it goes.

        Comment


          #5
          Version 3.0.3.17 has been running about a day and a half with no crashes whatsoever. I'd say it is fixed.

          Thanks, Mark!

          Comment


            #6
            Originally posted by SpaceGhost View Post
            Version 3.0.3.17 has been running about a day and a half with no crashes whatsoever. I'd say it is fixed.

            Thanks, Mark!
            Great, and thanks for the feedback
            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