No announcement yet.

Unable to start plugin on new Server

  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to start plugin on new Server

    I'm migrating to a new server for HS3, and I can't get this plugin to start up on the new machine. I moved over the config file and I see the COM port in Windows (set to 115200/8/N/1), but whenever I try to start the plugin, the interface status reports the generic:

    WARNING: Failed getting InterfaceStatus from Vista Alarm - the interface was not found in the list of active interfaces, the list may need to be refreshed.

    and the following error is in the HS log:

    Initializing plug-in(2): Vista Alarm Instance::Index was outside the bounds of the array.STACK: Server stack trace: Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessag e(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(Mess ageData& msgData, Int32 type) at HomeSeerAPI.IPlugInAPI.InitIO(String port) at Scheduler.clsHSPI.CheckInterfaces()

  • #2
    ... and just like that I figured it out 1 minute after posting!

    For future reference (or maybe some additional bulletproofing on your side?), the culprit was bad data in the config file. The "Version" setting under AD2USB had gibberish in it, either from a bad connection b/c of bad port settings - I didn't set to 115200 baud at first - or from not being sure which was the right COM port and getting junk from my insteon USB device instead. Since it looked weird (it was 2 lines long, for starters, with lots of non-printable stuff in it), I tried to cut it so I could test without that value and got a message in Textpad telling me I couldn't cut/copy text with null characters in it.

    Removing that setting entirely allowed it to start, at which point it repopulated that line.

    Not sure that's terribly likely to happen again, so maybe this thread and Google searches is all you'll need, but you might also want to validate the legitimacy of anything you're writing to the config file that comes straight off the serial port!


    • #3
      thanks for posting the problem and solution. i'll see what i can do to help prevent this in the future.

      for what its worth, you don't need to set the com port settings, the plugin does that when it opens the port.


      HS3 Pro
      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