Announcement

Collapse
No announcement yet.

Failed getting InterfaceStatus from HSBuddy

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

    Failed getting InterfaceStatus from HSBuddy

    Hi.

    I needed to do a system restore to my windows 10 computer and now I get HSBuddy error WARNING: Failed getting InterfaceStatus from HSBuddy - the interface was not found in the list of active interfaces, the list may need to be refreshed." I tried to uninstall and install again and tried several system restarts but nothing helps what can be the problem and how to fix this anyone..?

    Thanks.

    #2
    What version of the plugin is installed? It may help installing the latest version (3.28) to get a better error in the logs.

    Comment


      #3
      I’m on the latest one.

      Comment


        #4
        02/01/2022 00:38:17 HomeSeer Error Initializing plug-in(1): HSBuddy Instance::Corrupt Time to load: 565 milliseconds 02/01/2022 00:38:17 Legacy-Plugin/Script HSBuddy Failed to initialize plugin with: SQLite.SQLiteException: Corrupt at SQLite.SQLiteCommand.ExecuteNonQuery() at SQLite.SQLiteConnection.Execute(String query, Object[] args) at SQLite.SQLiteConnection.CreateTable(Type ty, CreateFlags createFlags) at HSPI_HSBuddy.Data.Database.OpenDefault() at HSPI_HSBuddy.Data.Database.CreateOrOpenDatabase() at HSPI_HSBuddy.HSPI.InitIO(String port)

        This is from the log

        Comment


          #5
          Thanks. It looks like the main DB file is corrupt - I've never had this happen but I've seen reports of it happening in other systems. In this particular case, I'm not sure if the system restore could have triggered it.
          • Was the hard-drive where HS is installed included in the recovery? If so, it is possible the DB in the snapshot wasn't in a good state.
          • Are there any files in the Data/HSBuddy folder with a name starting with "corrupt_hsbuddy_*.db3"? That would indicate the plugin already attempted to recover from a DB self-backup and that unfortunately did not succeed.
          • Do you have any manual data backups created with HS? If so, you could copy over the file "Data/HSBuddy/backup_hsbuddy.db3" from the HS backup and restart the plugin.
          Otherwise, the last resort option is to delete the file "Data/HSBuddy/hsbuddy.db3" and restart the plugin. This will unfortunately delete the following:
          • Geofences - you will need to create new ones and fix any geolocation triggers that may be now invalid
          • Clients - this will get recreated by running the app in your phones, but you will need to fix any geolocation triggers and notification actions that may now be invalid
          • Dashboards - you will need to re-upload dashboards from the app, but any event actions should remain valid
          • Smart tags - you will need to re-scan the tags with the app, but any event triggers should remain valid

          Comment


            #6
            I just tried installing the HSBuddy Plug-in and received the same error. HS4 on Windows. I have tried deleting the plug-in and reinstalling, but same behavior. From the logs:

            2/16/2022 2:28:50 AM
            HomeSeer
            Error
            Initializing plug-in(1): HSBuddy Instance::Object reference not set to an instance of an object. Time to load: 552 milliseconds


            2/16/2022 2:28:50 AM
            Legacy-Plugin/Script
            HSBuddy
            Failed to initialize plugin with: HSCF.Communication.ScsServices.Communication.Messages.ScsRem oteException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Scheduler.hsapplication.RegisterPage(String pageName, String PluginName, String pluginInstance) --- End of inner exception stack trace --- 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.IHSApplication.RegisterPage(String pageName, String PluginName, String PluginInstance) at HSPI_HSBuddy.Native.HomeSeer.RegisterPage(String name, String plugin, String instance) at HSPI_HSBuddy.WebPages.ConfigurationPage.RegisterPage() at HSPI_HSBuddy.HSPI.<>c.b__81_1(IWebPage page) at System.Collections.Generic.List`1.ForEach(Action`1 action) at HSPI_HSBuddy.HSPI.InitIO(String port)

            Comment

            Working...
            X