Announcement

Collapse
No announcement yet.

Plugin doesn't work after install

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

  • Plugin doesn't work after install

    Hi,

    I keep getting these errors frequently
    Oct-19 08:18:59 Starting Plug-In Initializing plugin AirplaySpeak ...
    Oct-19 08:18:29 Error Initializing plug-in(2): AirplaySpeak Instance::Object reference not set to an instance of an objectSTACK: at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,i ntptr) at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI.InitIO(string) at Scheduler.clsHSPI.CheckInterfaces () [0x000c4] in <03c63de3f1dc4fe5b4c97ebd223f29dc>:0
    Oct-19 08:18:29 Info Plugin AirplaySpeak with instance: has disconnected
    Oct-19 08:18:28 AirplaySpeak INFO AirplaySpeak version 3.0.0.13
    The interface status is INFO: Plugin start is pending

    Thanks for your help.
    Regards,

    Rien du Pre
    The Netherlands
    Using:
    Homeseer PRO 3.0.0.435 on MacOS - Running a Mac Mini
    Plugin's:
    RFXCOM, Caddx, BLShutdown, BLLogMonitor, BLRadar, BLBackup, Log2Text, BLLAN, Z-Wave

  • #2
    Do you mean that you always get this error when you start the plugin or sometime you don't get it and the plugin works as expected?

    Can you try to start the plugin from the command line: sudo mono HSPI_AirplaySpeak.exe to see if there is more error messages there?

    thanks

    Comment


    • #3

      macmini:homeseer riendupre$ sudo mono HSPI_Airplay_Speak.exe

      Plugin: AirplaySpeak Instance: starting...

      Connecting to server at 127.0.0.1...

      Connection attempt #1

      Connected (HomeSeer API 3). Waiting to be initialized...

      Oct-19 18:11:39 INFO AirplaySpeak version 3.0.0.13

      System.DllNotFoundException: libavahi-common.so.3

      at (wrapper managed-to-native) Avahi.Client.avahi_simple_poll_new()

      at Avahi.Client..ctor (Avahi.ClientFlags flags) [0x00006] in <fb88040940de4728bee4f76c4c09c2b5>:0

      at Avahi.Client..ctor () [0x00000] in <fb88040940de4728bee4f76c4c09c2b5>:0

      at Mono.Zeroconf.Providers.Avahi.ZeroconfProvider.Initialize () [0x00001] in <663a8b382afb43c3a47117d32de92186>:0

      at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x0020d] in <a98991fde173486da0eade957c88393c>:0




      Unhandled Exception:

      System.TypeLoadException: VTable setup of type Mono.Zeroconf.Providers.Bonjour.BrowseService failed

      at (wrapper managed-to-native) Mono.Zeroconf.Providers.Bonjour.Native.DNSServiceProcessResu lt(intptr)

      at Mono.Zeroconf.Providers.Bonjour.ServiceRef.ProcessSingle () [0x00006] in <7cbb047be6914f718620d620f50c5cb9>:0

      at Mono.Zeroconf.Providers.Bonjour.ServiceRef.Process () [0x00005] in <7cbb047be6914f718620d620f50c5cb9>:0

      at Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.ProcessStart () [0x00037] in <7cbb047be6914f718620d620f50c5cb9>:0

      at Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.ThreadedStart () [0x00000] in <7cbb047be6914f718620d620f50c5cb9>:0

      at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <bb7b695b8c6246b3ac1646577aea7650>:0

      [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: VTable setup of type Mono.Zeroconf.Providers.Bonjour.BrowseService failed

      at (wrapper managed-to-native) Mono.Zeroconf.Providers.Bonjour.Native.DNSServiceProcessResu lt(intptr)

      at Mono.Zeroconf.Providers.Bonjour.ServiceRef.ProcessSingle () [0x00006] in <7cbb047be6914f718620d620f50c5cb9>:0

      at Mono.Zeroconf.Providers.Bonjour.ServiceRef.Process () [0x00005] in <7cbb047be6914f718620d620f50c5cb9>:0

      at Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.ProcessStart () [0x00037] in <7cbb047be6914f718620d620f50c5cb9>:0

      at Mono.Zeroconf.Providers.Bonjour.ServiceBrowser.ThreadedStart () [0x00000] in <7cbb047be6914f718620d620f50c5cb9>:0

      at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <bb7b695b8c6246b3ac1646577aea7650>:0

      at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <bb7b695b8c6246b3ac1646577aea7650>:0

      macmini:homeseer riendupre$
      Regards,

      Rien du Pre
      The Netherlands
      Using:
      Homeseer PRO 3.0.0.435 on MacOS - Running a Mac Mini
      Plugin's:
      RFXCOM, Caddx, BLShutdown, BLLogMonitor, BLRadar, BLBackup, Log2Text, BLLAN, Z-Wave

      Comment


      • #4
        You are running HS3 on Mac OS X, right?
        The libraries I use for zeroconf (i.e Bonjour) do not work on Mac OS X.

        Are you running your whole HS3 installation on Mac? I'm curious how good does it work, because it seems very few people are doing so

        Comment


        • #5
          Originally posted by spud View Post
          You are running HS3 on Mac OS X, right?
          The libraries I use for zeroconf (i.e Bonjour) do not work on Mac OS X.

          Are you running your whole HS3 installation on Mac? I'm curious how good does it work, because it seems very few people are doing so
          Yes I do, it runs perfectly for over a year now.

          Too bad the plugin doesn't work :-(
          Regards,

          Rien du Pre
          The Netherlands
          Using:
          Homeseer PRO 3.0.0.435 on MacOS - Running a Mac Mini
          Plugin's:
          RFXCOM, Caddx, BLShutdown, BLLogMonitor, BLRadar, BLBackup, Log2Text, BLLAN, Z-Wave

          Comment


          • #6
            Folks this is what I'm getting from a Docker container running Linux:
            Oct-24 02:37:15 Info Plugin AirplaySpeak has connected. IP:127.0.0.1:52318
            Oct-24 02:37:48 Error Initializing plug-in(2): AirplaySpeak Instance::Object reference not set to an instance of an objectSTACK: at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,i ntptr) at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI.InitIO(string) at Scheduler.clsHSPI.CheckInterfaces () [0x000c4] in <03c63de3f1dc4fe5b4c97ebd223f29dc>:0
            Oct-24 02:37:49 Starting Plug-In Initializing plugin AirplaySpeak ...
            Oct-24 02:37:49 AirplaySpeak INFO AirplaySpeak version 3.0.0.13
            Oct-24 02:37:49 AirplaySpeak ERROR System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0
            Oct-24 02:37:49 Error Initializing plug-in(1): AirplaySpeak Instance::System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0 Time to load: 42 milliseconds
            Oct-24 02:37:49 Info Plugin AirplaySpeak with instance: has disconnected
            Oct-24 02:38:51 Plug-In Finished initializing plug-in Current Cost
            Oct-24 02:38:57 Plug-In Finished initializing plug-in Current Cost
            Oct-24 02:38:57 Plug-In Interface AirplaySpeak is running as a trial, 30 days remaining.
            Oct-24 02:38:57 Plug-In Finished initializing plug-in AirplaySpeak
            Oct-24 02:38:57 Info Plugin AirplaySpeak has connected. IP:127.0.0.1:52718
            Oct-24 02:38:57 Starting Plug-In Initializing plugin AirplaySpeak ...
            Oct-24 02:38:57 AirplaySpeak INFO AirplaySpeak version 3.0.0.13
            Oct-24 02:38:57 AirplaySpeak ERROR System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0
            Oct-24 02:38:57 Error Initializing plug-in(1): AirplaySpeak Instance::System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0 Time to load: 43 milliseconds
            Oct-24 02:38:57 Info Plugin AirplaySpeak with instance: has disconnected

            Comment


            • #7
              Originally posted by jasonhollis View Post
              Folks this is what I'm getting from a Docker container running Linux:
              Oct-24 02:37:15 Info Plugin AirplaySpeak has connected. IP:127.0.0.1:52318
              Oct-24 02:37:48 Error Initializing plug-in(2): AirplaySpeak Instance::Object reference not set to an instance of an objectSTACK: at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper(intptr,i ntptr) at (wrapper remoting-invoke) HomeSeerAPI.IPlugInAPI.InitIO(string) at Scheduler.clsHSPI.CheckInterfaces () [0x000c4] in <03c63de3f1dc4fe5b4c97ebd223f29dc>:0
              Oct-24 02:37:49 Starting Plug-In Initializing plugin AirplaySpeak ...
              Oct-24 02:37:49 AirplaySpeak INFO AirplaySpeak version 3.0.0.13
              Oct-24 02:37:49 AirplaySpeak ERROR System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0
              Oct-24 02:37:49 Error Initializing plug-in(1): AirplaySpeak Instance::System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0 Time to load: 42 milliseconds
              Oct-24 02:37:49 Info Plugin AirplaySpeak with instance: has disconnected
              Oct-24 02:38:51 Plug-In Finished initializing plug-in Current Cost
              Oct-24 02:38:57 Plug-In Finished initializing plug-in Current Cost
              Oct-24 02:38:57 Plug-In Interface AirplaySpeak is running as a trial, 30 days remaining.
              Oct-24 02:38:57 Plug-In Finished initializing plug-in AirplaySpeak
              Oct-24 02:38:57 Info Plugin AirplaySpeak has connected. IP:127.0.0.1:52718
              Oct-24 02:38:57 Starting Plug-In Initializing plugin AirplaySpeak ...
              Oct-24 02:38:57 AirplaySpeak INFO AirplaySpeak version 3.0.0.13
              Oct-24 02:38:57 AirplaySpeak ERROR System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0
              Oct-24 02:38:57 Error Initializing plug-in(1): AirplaySpeak Instance::System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0 Time to load: 43 milliseconds
              Oct-24 02:38:57 Info Plugin AirplaySpeak with instance: has disconnected
              Have you installed avahi-daemon, as explained in this thread: https://forums.homeseer.com/forum/au...allation-guide

              Comment


              • #8
                No I have not. I merely clicked on the plug-in and hit install but I will read the threads and try to debug it.

                Thank you,

                Jason

                Comment


                • #9
                  I'm running my server as a container. I think because the container is not really well thought out none of the suggestions from the URL above are actually sticking beyond a reboot. I think one or many of the updates/installations are not being retained.

                  Comment


                  • #10
                    K

                    I've installed avahi-daemon and the other items in the list on the link above. Even though I'm in docker all of the installs seem to be sticking. However I'm still getting the following error on the plug-in page:
                    WARNING: Failed getting InterfaceStatus from AirplaySpeak - the interface was not found in the list of active interfaces, the list may need to be refreshed.
                    And I'm getting this in the log:
                    Oct-27 16:54:22 AirplaySpeak INFO AirplaySpeak version 3.0.0.13
                    Oct-27 16:54:22 AirplaySpeak ERROR System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0
                    Oct-27 16:54:22 Error Initializing plug-in(1): AirplaySpeak Instance::System.Exception: No Zeroconf providers could be found or initialized. Necessary daemon may not be running. at Mono.Zeroconf.Providers.ProviderFactory.GetProviders () [0x00295] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_DefaultProvider () [0x00011] in :0 at Mono.Zeroconf.Providers.ProviderFactory.get_SelectedProvider () [0x0000f] in :0 at Mono.Zeroconf.ServiceBrowser..ctor () [0x00008] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerDiscoverer.Start () [0x00000] in :0 at HSPI_AIRPLAY_SPEAK.SpeakerManager..ctor () [0x0005b] in :0 at HSPI_AIRPLAY_SPEAK.AirplaySpeakApp.Init () [0x0012c] in :0 Time to load: 19 milliseconds
                    Oct-27 16:54:22 Info Plugin AirplaySpeak with instance: has disconnected
                    Does anyone have any other tips on how to get this resolved? I really do want to get the AppleTV going.

                    Comment

                    Working...
                    X