Announcement

Collapse
No announcement yet.

Cannot replace device - System.ArgumentOutOfRangeException

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

    Cannot replace device - System.ArgumentOutOfRangeException

    I have an I/O Linc whose sense abilities died after a lightning storm. I've received a replacement but the Replace procedure will not run. I get the following error:

    Program And Replace Device: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length at System.String.Substring(Int32 startIndex, Int32 length) at Insteon.Support.Core.InsteonModule.ProgramAndReplaceDevice(S tring SrcID, String DestID)

    Before ordering a replacement I did a factory reset on the old device, and then a reprogram via the plugin. That seemed to work fine but the sense ability did not return. Now the Replace won't run.

    I just noticed the Firmware Version field for the old device is blank. Perhaps the Reprogram procedure didn't work 100% because the device is bad, and perhaps the Replace procedure needs that info?

    Please help.
    HomeSeer 3, Insteon, Z-wave, USB-UIRT, Google Hub/Chromecasts/Smart Speakers, Foscam cameras, Amcrest camera, RCA HSDB2a doorbell
    Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Insteon, Jon00 Homeseer/Echo Skill Helper, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

    #2
    I tried to edit my original post but it won't seem to let me. Here's what I wanted to add:

    I just noticed the Firmware Version field for the old device is blank. Perhaps the Reprogram procedure didn't work 100% because the device is bad, and perhaps the Replace procedure needs that info?
    HomeSeer 3, Insteon, Z-wave, USB-UIRT, Google Hub/Chromecasts/Smart Speakers, Foscam cameras, Amcrest camera, RCA HSDB2a doorbell
    Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Insteon, Jon00 Homeseer/Echo Skill Helper, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

    Comment


      #3
      Restarting the plugin brought the Version Number back. Then the subsequent Replace procedure completed. My Op flags and closure time did not get set correctly on the replacement device, but the links all seemed to have made it. I changed those settings to what they were and all seems OK now.
      HomeSeer 3, Insteon, Z-wave, USB-UIRT, Google Hub/Chromecasts/Smart Speakers, Foscam cameras, Amcrest camera, RCA HSDB2a doorbell
      Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Insteon, Jon00 Homeseer/Echo Skill Helper, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

      Comment


        #4
        are you still having any issues with the replacement iolinc?
        Mark

        HS3 Pro 3.0.0.534
        Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway
        Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 (by Kirby) | Ultra1Wire3 | RFXCOM | NetCAM | MyQ | BLRadar | BLDenon | Jon00 Charting
        Platform: HP h8-1360t, Windows Server 2012 R2, i7-3.4GHz, 16GB memory

        Comment


          #5
          Thanks for checking in, and sorry for my delay. No further issues, everything seems back to normal now. I'm not sure what caused that error or the Op Flags to not get set. If you're interested in seeing my Insteon Error Report log file, let me know. I took a look through there but nothing jumped out at me.
          HomeSeer 3, Insteon, Z-wave, USB-UIRT, Google Hub/Chromecasts/Smart Speakers, Foscam cameras, Amcrest camera, RCA HSDB2a doorbell
          Plugins: BLLAN, BLOccupied, BLUSBUIRT, Chromecast, Insteon, Jon00 Homeseer/Echo Skill Helper, Jon00 DB Charting, MediaController, NetCAM, PHLocation2, Pushover 3P, weatherXML, Z-wave

          Comment

          Working...
          X