Announcement

Collapse
No announcement yet.

CRITICAL: Plugin has disconnected

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

  • CRITICAL: Plugin has disconnected

    Have been waiting for a homeseer plugin for chromecast and was hoping this would work out of the box. After installing this from the plugin page I get this in my logs:
    Code:
    Nov-25 20:22:02	 	Chromecast	INFO Connecting to Mathaug-Stue
    Nov-25 20:22:02	 	Chromecast	INFO Found Service: Chromecast-39c66c0bf2a8cad1f3f76df4234b364b
    Nov-25 20:22:01	 	Chromecast	INFO Chromecast version 3.0.0.8
    Nov-25 20:22:01	 	Info	Plugin Chromecast has connected. IP:127.0.0.1:41532
    Nov-25 20:22:01	 	Warning	I/O interface Chromecast is down, executable is not running, restarting ...
    Nov-25 20:21:33	 	Info	Plugin Chromecast with instance: has disconnected
    Nov-25 20:21:32	 	Chromecast	INFO Connecting to Mathaug-Stue
    Nov-25 20:21:31	 	Chromecast	INFO Found Service: Chromecast-39c66c0bf2a8cad1f3f76df4234b364b
    Nov-25 20:21:31	 	Chromecast	INFO Chromecast version 3.0.0.8
    Nov-25 20:21:31	 	Info	Plugin Chromecast has connected. IP:127.0.0.1:41314
    Nov-25 20:21:31	 	Warning	I/O interface Chromecast is down, executable is not running, restarting ...
    I am running HS3 Pro Edition 3.0.0.318 (Linux).

    Any help would be appreciated!

  • #2
    do you have a Newtonsoft.Json.dll in the root HS3 folder? If so you need to delete it.
    alternatively you can install version 3.0.0.10 of the plugin that you can download from the Beta Testing thread

    Comment


    • #3
      Thanks for the input! Checked and the file is not in the application folder.

      Removed the plugin, downloaded the beta and installed it using the guide. Still get the same error:

      Code:
      Nov-26 12:53:08	 	Info	Plugin Chromecast with instance: has disconnected
      Nov-26 12:53:06	 	Chromecast	INFO Connecting to Mathaug-Stue
      Nov-26 12:53:06	 	Chromecast	INFO Found Service: Chromecast-39c66c0bf2a8cad1f3f76df4234b364b
      Nov-26 12:53:05	 	Chromecast	INFO Chromecast version 3.0.0.10
      Nov-26 12:53:05	 	Info	Plugin Chromecast has connected. IP:127.0.0.1:44546
      Nov-26 12:53:05	 	Warning	I/O interface Chromecast is down, executable is not running, restarting ...
      Nov-26 12:53:05	 	Z-Wave	Device: 1. etasje Kjøkken Power Set to 0.9 (W)
      Nov-26 12:53:04	 	Z-Wave	Device: 1. etasje Kjøkken Power Set to 159.3 (W)
      Nov-26 12:52:46	 	Z-Wave	Device: 1. etasje Kjøkken Power Set to 912.9 (W)
      Nov-26 12:52:37	 	Info	Plugin Chromecast with instance: has disconnected
      Nov-26 12:52:36	 	Chromecast	INFO Connecting to Mathaug-Stue
      Nov-26 12:52:36	 	Chromecast	INFO Found Service: Chromecast-39c66c0bf2a8cad1f3f76df4234b364b
      Nov-26 12:52:35	 	Plug-In	Finished initializing plug-in Chromecast
      Nov-26 12:52:35	 	Chromecast	INFO Chromecast version 3.0.0.10
      Nov-26 12:52:35	 	Info	Plugin Chromecast has connected. IP:127.0.0.1:44328
      Nov-26 12:52:35	 	Plug-In	Interface Chromecast is running as a trial, 30 days remaining.
      Nov-26 12:52:28	 	Updater	Install/Update of package Chromecast was successful.
      Nov-26 12:52:28	 	Updater	Extraction Complete.
      Nov-26 12:52:28	 	Updater	Extracting files from zip file: images.zip
      Nov-26 12:52:28	 	Updater Warning	File exists, not overwriting: \home\christian\HomeSeer\Config\\Chromecast.ini
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\avahi-sharp.dll.config
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\avahi-sharp.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\Mono.Zeroconf.Providers.Avahi.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\Mono.Zeroconf.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\Sockets.Plugin.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\Sockets.Plugin.Abstractions.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\SharpCaster.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\Newtonsoft.Json.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\bin\Chromecast\Google.Protobuf.dll
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\HSPI_Chromecast.exe.config
      Nov-26 12:52:28	 	Updater	Copying file: \home\christian\HomeSeer\HSPI_Chromecast.exe
      Nov-26 12:52:28	 	Updater	Installing package Chromecast
      Nov-26 12:52:28	 	Updater	Using local file: Chromecast_Linux_3-0-0-10.zip
      Nov-26 12:52:28	 	Updater	Downloading update: Chromecast
      Nov-26 12:52:28	 	Updater	Starting download of updates

      Comment


      • #4
        Do you have Mono.CSharp.dll and CSScriptLibrary.dll in the root HomeSeer folder?

        Could you disable the plugin then edit Config/Chromecast.ini and add the following lines:

        Code:
        [GENERAL]
        log_level=Debug
        Then start the plugin from the command line using this command:
        Code:
        sudo mono HSPI_Chromecast.exe
        This should give more information about the problem.

        Also what's your mono version?

        Comment


        • #5
          Thanks!

          Both files are there. And my mono version is: Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)

          After doing what you asked the output is as follows:
          Code:
          christian@homeseer:~/HomeSeer$ sudo mono HSPI_Chromecast.exe
          Plugin: Chromecast Instance:  starting...
          Connecting to server at 127.0.0.1...
          Connection attempt #1
          Connected (HomeSeer API 3). Waiting to be initialized...
          Nov-26 19:26:28 INFO Chromecast version 3.0.0.10
          Nov-26 19:26:28 INFO Found Service: Chromecast-39c66c0bf2a8cad1f3f76df4234b364b
          Nov-26 19:26:28 DEBUG Resolved Service: Chromecast-39c66c0bf2a8cad1f3f76df4234b3                                     64b - _googlecast._tcp - 10.10.10.114 - 8009
          Nov-26 19:26:28 DEBUG TXT Records =
          Nov-26 19:26:28 DEBUG id = '39c66c0bf2a8cad1f3f76df4234b364b'
          Nov-26 19:26:28 DEBUG cd = '1B2950E2DB3EBF78AED1DC09FD848F01'
          Nov-26 19:26:28 DEBUG rm = ''
          Nov-26 19:26:28 DEBUG ve = '05'
          Nov-26 19:26:28 DEBUG md = 'Chromecast'
          Nov-26 19:26:28 DEBUG ic = '/setup/icon.png'
          Nov-26 19:26:28 DEBUG fn = 'Mathaug-Stue'
          Nov-26 19:26:28 DEBUG ca = '4101'
          Nov-26 19:26:28 DEBUG st = '0'
          Nov-26 19:26:28 DEBUG bs = 'FA8FCA926CD7'
          Nov-26 19:26:28 DEBUG nf = '1'
          Nov-26 19:26:28 DEBUG rs = ''
          Nov-26 19:26:29 INFO Connecting to Mathaug-Stue
          Nov-26 19:26:30 DEBUG TX: {"type":"CONNECT"}
          Nov-26 19:26:30 DEBUG TX: {"type":"PING"}
          Nov-26 19:26:30 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          Nov-26 19:26:30 DEBUG RX: {"type":"PONG"}
          
          Unhandled Exception:
          System.MissingFieldException: Field 'Mono.CSharp.CompilerSettings.WarningLevel'                                      not found.
            at Microsoft.CSharp.RuntimeBinder.CSharpGetMemberBinder.FallbackGetMember (Sys                                     tem.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject errorSugg                                     estion) [0x00000] in <7175e130f4634a60b0a49adbfc45babc>:0
            at Newtonsoft.Json.Utilities.DynamicProxyMetaObject`1+<>c__DisplayClass6_0[T].                                     <BindGetMember>b__0 (System.Dynamic.DynamicMetaObject e) [0x00000] in <2781d1b19                                     8634655944cdefb18b3309b>:0
            at Newtonsoft.Json.Utilities.DynamicProxyMetaObject`1[T].CallMethodWithResult                                      (System.String methodName, System.Dynamic.DynamicMetaObjectBinder binder, System                                     .Linq.Expressions.Expression[] args, Newtonsoft.Json.Utilities.DynamicProxyMetaO                                     bject`1+Fallback[T] fallback, Newtonsoft.Json.Utilities.DynamicProxyMetaObject`1                                     +Fallback[T] fallbackInvoke) [0x00000] in <2781d1b198634655944cdefb18b3309b>:0
            at Newtonsoft.Json.Utilities.DynamicProxyMetaObject`1[T].BindGetMember (System                                     .Dynamic.GetMemberBinder binder) [0x0004b] in <2781d1b198634655944cdefb18b3309b>                                     :0
            at System.Dynamic.GetMemberBinder.Bind (System.Dynamic.DynamicMetaObject targe                                     t, System.Dynamic.DynamicMetaObject[] args) [0x00024] in <63992662b765477a898ef4                                     9cdcc99ee2>:0
            at System.Dynamic.DynamicMetaObjectBinder.Bind (System.Object[] args, System.C                                     ollections.ObjectModel.ReadOnlyCollection`1[T] parameters, System.Linq.Expressio                                     ns.LabelTarget returnLabel) [0x000de] in <63992662b765477a898ef49cdcc99ee2>:0
            at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T] (System.Runtime.                                     CompilerServices.CallSite`1[T] site, System.Object[] args) [0x0001c] in <6399266                                     2b765477a898ef49cdcc99ee2>:0
            at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet] (System.Runtime.C                                     ompilerServices.CallSite site, T0 arg0) [0x00114] in <63992662b765477a898ef49cdc                                     c99ee2>:0
            at Extensions.Api.CastChannel.CastMessage.GetJsonType () [0x0008a] in <75574e5                                     9ae784771bd7d82cc1cd0b747>:0
            at SharpCaster.Channels.HeartbeatChannel+<HeartbeatChannel_MessageReceived>d__                                     2.MoveNext () [0x0002e] in <75574e59ae784771bd7d82cc1cd0b747>:0
          --- End of stack trace from previous location where exception was thrown ---
            at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] i                                     n <8f2c484307284b51944a1a13a14c0266>:0
            at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__1 (Sy                                     stem.Object state) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
            at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Obj                                     ect state) [0x0000e] in <8f2c484307284b51944a1a13a14c0266>:0
            at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionCo                                     ntext executionContext, System.Threading.ContextCallback callback, System.Object                                      state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a1                                     4c0266>:0
            at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext ex                                     ecutionContext, System.Threading.ContextCallback callback, System.Object state,                                      System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:                                     0
            at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWork                                     Item.ExecuteWorkItem () [0x0002a] in <8f2c484307284b51944a1a13a14c0266>:0
            at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <8f2c48430728                                     4b51944a1a13a14c0266>:0
            at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] i                                     n <8f2c484307284b51944a1a13a14c0266>:0

          Comment


          • #6
            Originally posted by christianhau View Post
            Thanks!

            Both files are there.
            They shouldn't be there, you need to move them as explained in the user guide

            Comment


            • #7
              Ahh, my bad.. must have misread that step. Thanks for the help!

              Comment

              Working...
              X