Announcement

Collapse
No announcement yet.

Chromecast Plug-in - Beta Testing

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    It seems I have a double nat network.
    HS PC is connected to my first router, 192.168.1.xxx
    Chromecast is connected to my second router, 192.168.86.xxx
    So I can only see devices on my second router by setting up port forwarding in my second router.
    I did that for the Chromecast with port 8008.
    I can see the Chromecast by going to that url, but the webrowser chromecast extension does not see my chromecast.
    Do I need to port forward more ports?
    (I did the same for my Squeezebox and it is working ok.)
    Peter

    http://ohh.pcgsm.nl

    Comment


      #32
      Originally posted by peterpc View Post
      It seems I have a double nat network.
      HS PC is connected to my first router, 192.168.1.xxx
      Chromecast is connected to my second router, 192.168.86.xxx
      So I can only see devices on my second router by setting up port forwarding in my second router.
      I did that for the Chromecast with port 8008.
      I can see the Chromecast by going to that url, but the webrowser chromecast extension does not see my chromecast.
      Do I need to port forward more ports?
      (I did the same for my Squeezebox and it is working ok.)
      Well, first the plugin use port 8009 to connect to the chromecast not 8008.

      But it doesn't use this port for discovery, to discover the chromecasts it uses multicast DNS (aka mDNS / Bonjour/ Zeroconf). I quickly looked how to make this work across multiple subnetwork but it doesn't seem to be trivial, and it's a bit above my networking knowledge.

      If any network guru can help with this, that would be appreciated....

      Comment


        #33
        Originally posted by peterpc View Post
        It seems I have a double nat network.
        HS PC is connected to my first router, 192.168.1.xxx
        Chromecast is connected to my second router, 192.168.86.xxx
        So I can only see devices on my second router by setting up port forwarding in my second router.
        I did that for the Chromecast with port 8008.
        I can see the Chromecast by going to that url, but the webrowser chromecast extension does not see my chromecast.
        Do I need to port forward more ports?
        (I did the same for my Squeezebox and it is working ok.)

        Set your subnet mask for everything to 255.255.0.0

        When I first set up Google Wifi (I am assuming that's what you've done because of the IP range) that's what I did.

        I finally broke down and made Google Wifi my main router and turned my old router into a switch. Everything running beautifully now and I can manage everything from my phone remotely as well.

        Comment


          #34
          Originally posted by spud View Post
          Please retry with version 3.0.0.2, I believe I have fixed this crash. Thanks
          Awesome, no crash now! Getting further.

          Seems to detect everything ok now, but won't connect to any of them

          The interface "Test" button results in:
          mono[5302]: 10:38:06:0345:[Chromecast]->ERROR Not connected to chromecast Kitchen Home

          And if I try clicking the Connect button in the device list, nothing really happens...

          Connect log:
          mono[5302]: 10:51:26:6823:[Device Control]->Device: Chromecast Kitchen Home to Connect (1) by/from: CAPI Control Handler
          mono[5302]: Oct-06 22:51:26 DEBUG TX: {"type":"PING"}
          mono[5302]: 10:51:26:7060:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:51:26 DEBUG TX: {"type":"CONNECT"}
          mono[5302]: 10:51:26:7172:[Chromecast]->DEBUG TX: {"type":"CONNECT"}
          mono[5302]: Oct-06 22:51:26 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:51:26:7220:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:51:26 DEBUG RX: {"type":"PONG"}
          mono[5302]: 10:51:26:7264:[Chromecast]->DEBUG RX: {"type":"PONG"}
          mono[5302]: Oct-06 22:51:26 DEBUG TX: {"type":"PING"}
          mono[5302]: 10:51:26:7314:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:51:26 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:51:26:7591:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:51:26 DEBUG RX: {"type":"PONG"}


          TTS Log:
          mono[5302]: 10:38:04:4439:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:05 DEBUG TX: {"type":"PING"}
          mono[5302]: 10:38:05:5770:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:05 DEBUG TX: {"type":"PING"}
          mono[5302]: 10:38:05:7618:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:05 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:05:7733:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:38:05 DEBUG RX: {"type":"PONG"}
          mono[5302]: 10:38:05:7774:[Chromecast]->DEBUG RX: {"type":"PONG"}
          mono[5302]: Oct-06 22:38:05 DEBUG calling SpeakToFile text=Hello, this is a test for chromecast plug-in file=/opt/HomeSeer/html/Wave/chromecast20171006223805826.wav
          mono[5302]: 10:38:05:8315:[Chromecast]->DEBUG calling SpeakToFile text=Hello, this is a test for chromecast plug-in file=/opt/HomeSeer/html/Wave/chromecast20171006223805826.wav
          mono[5302]: Oct-06 22:38:05 DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:05 INFO (Kitchen Home): Hello, this is a test for chromecast plug-in
          mono[5302]: 10:38:06:0126:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: 10:38:06:0145:[Chromecast]->INFO (Kitchen Home): Hello, this is a test for chromecast plug-in
          mono[5302]: Oct-06 22:38:06 DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:06 DEBUG Playing http://192.168.3.14:8011/Wave/chrome...6223805826.wav on Kitchen Home
          mono[5302]: 10:38:06:0192:[Chromecast]->DEBUG TX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:06:0229:[Chromecast]->DEBUG Playing http://192.168.3.14:8011/Wave/chrome...6223805826.wav on Kitchen Home
          mono[5302]: Oct-06 22:38:06 ERROR Not connected to chromecast Kitchen Home
          mono[5302]: 10:38:06:0318:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:06:0345:[Chromecast]->ERROR Not connected to chromecast Kitchen Home
          mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PONG"}
          mono[5302]: 10:38:06:0592:[Chromecast]->DEBUG RX: {"type":"PONG"}
          mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:06:0679:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PONG"}
          mono[5302]: 10:38:06:0724:[Chromecast]->DEBUG RX: {"type":"PONG"}
          mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:06:0762:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PONG"}
          mono[5302]: 10:38:06:0798:[Chromecast]->DEBUG RX: {"type":"PONG"}
          mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:06:8245:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PING"}
          mono[5302]: 10:38:06:8283:[Chromecast]->DEBUG RX: {"type":"PING"}
          mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: 10:38:06:8336:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
          mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PING"}
          mono[5302]: 10:38:06:8380:[Chromecast]->DEBUG RX: {"type":"PING"}


          Any ideas?

          Comment


            #35
            Originally posted by SkipperNick View Post
            Awesome, no crash now! Getting further.

            Seems to detect everything ok now, but won't connect to any of them

            The interface "Test" button results in:
            mono[5302]: 10:38:06:0345:[Chromecast]->ERROR Not connected to chromecast Kitchen Home

            And if I try clicking the Connect button in the device list, nothing really happens...

            Connect log:
            mono[5302]: 10:51:26:6823:[Device Control]->Device: Chromecast Kitchen Home to Connect (1) by/from: CAPI Control Handler
            mono[5302]: Oct-06 22:51:26 DEBUG TX: {"type":"PING"}
            mono[5302]: 10:51:26:7060:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:51:26 DEBUG TX: {"type":"CONNECT"}
            mono[5302]: 10:51:26:7172:[Chromecast]->DEBUG TX: {"type":"CONNECT"}
            mono[5302]: Oct-06 22:51:26 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:51:26:7220:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:51:26 DEBUG RX: {"type":"PONG"}
            mono[5302]: 10:51:26:7264:[Chromecast]->DEBUG RX: {"type":"PONG"}
            mono[5302]: Oct-06 22:51:26 DEBUG TX: {"type":"PING"}
            mono[5302]: 10:51:26:7314:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:51:26 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:51:26:7591:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:51:26 DEBUG RX: {"type":"PONG"}


            TTS Log:
            mono[5302]: 10:38:04:4439:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:05 DEBUG TX: {"type":"PING"}
            mono[5302]: 10:38:05:5770:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:05 DEBUG TX: {"type":"PING"}
            mono[5302]: 10:38:05:7618:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:05 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:05:7733:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:38:05 DEBUG RX: {"type":"PONG"}
            mono[5302]: 10:38:05:7774:[Chromecast]->DEBUG RX: {"type":"PONG"}
            mono[5302]: Oct-06 22:38:05 DEBUG calling SpeakToFile text=Hello, this is a test for chromecast plug-in file=/opt/HomeSeer/html/Wave/chromecast20171006223805826.wav
            mono[5302]: 10:38:05:8315:[Chromecast]->DEBUG calling SpeakToFile text=Hello, this is a test for chromecast plug-in file=/opt/HomeSeer/html/Wave/chromecast20171006223805826.wav
            mono[5302]: Oct-06 22:38:05 DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:05 INFO (Kitchen Home): Hello, this is a test for chromecast plug-in
            mono[5302]: 10:38:06:0126:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: 10:38:06:0145:[Chromecast]->INFO (Kitchen Home): Hello, this is a test for chromecast plug-in
            mono[5302]: Oct-06 22:38:06 DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:06 DEBUG Playing http://192.168.3.14:8011/Wave/chrome...6223805826.wav on Kitchen Home
            mono[5302]: 10:38:06:0192:[Chromecast]->DEBUG TX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:06:0229:[Chromecast]->DEBUG Playing http://192.168.3.14:8011/Wave/chrome...6223805826.wav on Kitchen Home
            mono[5302]: Oct-06 22:38:06 ERROR Not connected to chromecast Kitchen Home
            mono[5302]: 10:38:06:0318:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:06:0345:[Chromecast]->ERROR Not connected to chromecast Kitchen Home
            mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PONG"}
            mono[5302]: 10:38:06:0592:[Chromecast]->DEBUG RX: {"type":"PONG"}
            mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:06:0679:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PONG"}
            mono[5302]: 10:38:06:0724:[Chromecast]->DEBUG RX: {"type":"PONG"}
            mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:06:0762:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PONG"}
            mono[5302]: 10:38:06:0798:[Chromecast]->DEBUG RX: {"type":"PONG"}
            mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:06:8245:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PING"}
            mono[5302]: 10:38:06:8283:[Chromecast]->DEBUG RX: {"type":"PING"}
            mono[5302]: Oct-06 22:38:06 DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: 10:38:06:8336:[Chromecast]->DEBUG RX: urn:x-cast:com.google.cast.tp.heartbeat
            mono[5302]: Oct-06 22:38:06 DEBUG RX: {"type":"PING"}
            mono[5302]: 10:38:06:8380:[Chromecast]->DEBUG RX: {"type":"PING"}


            Any ideas?
            Did you move Mono.CSharp.dll and CSScriptLibrary.dll from your HS3 root dir as explained in the user guide?

            To copy them is not enough, they must NOT be in the root dir.

            Comment


              #36
              Originally posted by spud View Post
              Did you move Mono.CSharp.dll and CSScriptLibrary.dll from your HS3 root dir as explained in the user guide?

              To copy them is not enough, they must NOT be in the root dir.
              Ah silly me. I read that but the note that it was fixed in newer versions made my brain ignore it and not even check. Bingo. Works now.

              Thanks!

              Comment


                #37
                Originally posted by rmiles7721 View Post
                Set your subnet mask for everything to 255.255.0.0

                When I first set up Google Wifi (I am assuming that's what you've done because of the IP range) that's what I did.

                I finally broke down and made Google Wifi my main router and turned my old router into a switch. Everything running beautifully now and I can manage everything from my phone remotely as well.
                Working on this all day and found that I can't change the subnet mask of Google WiFi....
                But I found a solution. I added a wifi dongle to my Homeseer PC and now Chromecast is working!
                Peter

                http://ohh.pcgsm.nl

                Comment


                  #38
                  In Homeseer Speaker I use ScanSoft EllenFull_22kHz Dutch voice.
                  But the voice used to the Chromecast is a different voice.
                  How can I change this to the ScanSoft voice?
                  Peter

                  http://ohh.pcgsm.nl

                  Comment


                    #39
                    Originally posted by peterpc View Post
                    In Homeseer Speaker I use ScanSoft EllenFull_22kHz Dutch voice.
                    But the voice used to the Chromecast is a different voice.
                    How can I change this to the ScanSoft voice?
                    Found the solution:
                    Executing Windows\sysWOW64\speech\SpeechUX\SAPI.cpl brings up a Window that displays all of the 32 bit Voices and the current single 64 bit Voice "Anna". Unlike the 64 bit speech window, you can make any of the Voices the system default Voice.
                    Peter

                    http://ohh.pcgsm.nl

                    Comment


                      #40
                      Well, this is strange. I had it all up and running fine, all my Chromecasts identified and tested (voice output OK), and events (say something) working fine.

                      Then suddenly it all went south, no output with the following error in the log relating to speak_to_file.sh

                      Any ideas?

                      ERROR HSCF.Communication.ScsServices.Communication.Messages.ScsRem oteException: ApplicationName='./speak_to_file.sh', CommandLine=''/usr/local/HomeSeer/html/Wave/chromecast20171008090944098.wav' 'Hello, this is a test for chromecast plug-in'', CurrentDirectory='', Native error= Cannot find the specified file Service Version: NO_VERSION Server stack trace: Exception rethrown at [0]: ---> System.ComponentModel.Win32Exception: ApplicationName='./speak_to_file.sh', CommandLine=''/usr/local/HomeSeer/html/Wave/chromecast20171008090944098.wav' 'Hello, this is a test for chromecast plug-in'', CurrentDirectory='', Native error= Cannot find the specified file at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in :0 at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x00000] in :0 at Scheduler.Global_Utils.SpeakToFilelocal (System.String txt1, System.String vname, System.String FileName) [0x00000] in :0 at Scheduler.hsapplication.SpeakToFile (System.String Text, System.String Voice, System.String FileName) [0x00000] in :0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 --- End of inner exception stack trace --- at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in :0
                      Current Date/Time: 10/8/2017 9:17:44 AM
                      HomeSeer Version: HS3 Standard Edition 3.0.0.368
                      Linux version: Linux hometrollerSEL 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:56:17 UTC 2014 i686 i686 i686 GNU/Linux System Uptime: 0 Days 0 Hours 18 Minutes 56 Seconds
                      IP Address: 192.168.100.101
                      Number of Devices: 367
                      Number of Events: 208
                      Available Threads: 199

                      Enabled Plug-Ins
                      2.0.47.0: BLBackup
                      2.0.35.0: BLLAN
                      2.0.10.0: BLPlex
                      3.0.0.2: Chromecast
                      3.0.0.5: CM15A
                      1.0.0.0: drhsEventEnabler
                      3.0.0.37: EasyTrigger
                      3.0.1.90: PHLocation
                      3.0.4.8: SDJ-Health
                      3.0.5917.35093: UltraLog3
                      3.0.1.130: Z-Wave

                      Comment


                        #41
                        Ignore my report. Found 2 problems.
                        1) I was playing around with speak_to_file.sh (FLite to Voice RSS) and somehow the file permissions had gone astray. My bad! That restored the test functionality from the plugin config page.
                        2) After fixing the file permission, the event I was testing from continued to error out. So I made a new event, and now 'Say Something' works again! Go figure ..

                        Originally posted by abwyatt View Post
                        Well, this is strange. I had it all up and running fine, all my Chromecasts identified and tested (voice output OK), and events (say something) working fine.

                        Then suddenly it all went south, no output with the following error in the log relating to speak_to_file.sh

                        Any ideas?



                        Current Date/Time: 10/8/2017 9:17:44 AM
                        HomeSeer Version: HS3 Standard Edition 3.0.0.368
                        Linux version: Linux hometrollerSEL 3.16.0-031600-generic #201408031935 SMP Sun Aug 3 23:56:17 UTC 2014 i686 i686 i686 GNU/Linux System Uptime: 0 Days 0 Hours 18 Minutes 56 Seconds
                        IP Address: 192.168.100.101
                        Number of Devices: 367
                        Number of Events: 208
                        Available Threads: 199

                        Enabled Plug-Ins
                        2.0.47.0: BLBackup
                        2.0.35.0: BLLAN
                        2.0.10.0: BLPlex
                        3.0.0.2: Chromecast
                        3.0.0.5: CM15A
                        1.0.0.0: drhsEventEnabler
                        3.0.0.37: EasyTrigger
                        3.0.1.90: PHLocation
                        3.0.4.8: SDJ-Health
                        3.0.5917.35093: UltraLog3
                        3.0.1.130: Z-Wave

                        Comment


                          #42
                          I have my Cast on a different subnet than the HS-server. Is it possible to input IP-manually instead of auto discovery (Zeroconf)?

                          Comment


                            #43
                            Originally posted by ZoRaC View Post
                            I have my Cast on a different subnet than the HS-server. Is it possible to input IP-manually instead of auto discovery (Zeroconf)?
                            In version 3.0.0.3 I have added the possibility to manually add a device in Chromecast.ini

                            Edit Config/Chromecast.ini, and add something like the following lines in the [CHROMECASTS] section
                            Code:
                            [CHROMECASTS]
                            abcd1234###name=Google Home
                            abcd1234###ipaddress=192.168.1.150
                            abcd1234###online=True
                            abcd1234 is supposed to be the id of the chromecast, you can use any alphanumeric string as long as it is different for each chromecast.

                            then disbale/enable the plugin, you should now see the device is the config page, as in the screenshot below:

                            Click image for larger version

Name:	forceonline.png
Views:	1
Size:	45.6 KB
ID:	1192627
                            Last edited by spud; October 9, 2017, 05:12 PM.

                            Comment


                              #44
                              Hi,

                              I just installed 3.0.0.3 on Linux (Mono 5.2) and all my devices (4 physical and 1 group) are having an "unknown" status. Pressing Stop, Play or Pause gives the following error in the log:

                              ERROR System.ArgumentNullException: Value cannot be null. Parameter name: value at Extensions.Api.CastChannel.CastMessage..ctor (System.String destinationId, System.String sourceId) [0x00051] in <85f42a8536364aa891f6d7397530cc88>:0 at SharpCaster.Models.MessageFactory.Pause (System.String destinationId, System.Int64 mediaSessionId, System.Nullable`1[T] requestId) [0x00000] in <85f42a8536364aa891f6d7397530cc88>:0 at SharpCaster.Channels.MediaChannel+d__7.MoveNext () [0x0002b] in <85f42a8536364aa891f6d7397530cc88>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <77c9551943624fd18301ba6f78a841e5>:0 at SharpCaster.Controllers.BaseMediaController+d__2.MoveNext () [0x0006a] in <85f42a8536364aa891f6d7397530cc88>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSucce ss (System.Threading.Tasks.Task task) [0x0003e] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess AndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <77c9551943624fd18301ba6f78a841e5>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <77c9551943624fd18301ba6f78a841e5>:0 at HSPI_Chromecast.ChromecastTarget+d__54.MoveNext () [0x0042d] in <417f91711fef4179923e428650ffe102>:0

                              What could be wrong? It is the first version I try so I don't know if it is specific to version 3.0.0.3.

                              Thanks!
                              stefxx

                              Comment


                                #45
                                Originally posted by spud View Post
                                In version 3.0.0.3 I have added the possibility to manually add a device in Chromecast.ini

                                Edit Config/Chromecast.ini, and add something like the following lines in the [CHROMECASTS] section
                                Code:
                                [CHROMECASTS]
                                abcd1234###name=Google Home
                                abcd1234###ipaddress=192.168.1.150
                                abcd1234###online=True
                                abcd1234 is supposed to be the id of the chromecast, you can use any alphanumeric string as long as it is different for each chromecast.

                                you should now see the device is the config page, as in the screenshot below:

                                [ATTACH]63810[/ATTACH]
                                Added 2 new Chromecasts by hand in the ini file. (I have now 3 audio and 1 HDMI Chromecasts) They were showing in the browser, but not added by disabling/enabling the plugin.
                                They show now in the devices.
                                When creating new devices, can you add Chromecast to the Floor? It is empty now.
                                Also the device name, can you add the Chromecast name to status and volume? Then it is more easy to recognise the right device.

                                When I go to config, there is no tag at online. And I can't test the device with the test button.
                                When I start a stream with an event, the Chromecasts are working, but speak something is not working anymore.
                                Also the status is not showing when I started a stream with HS.
                                And I can't control the stream. (Stop,Play,Pause,Previous,Next)
                                But volume is working ok.

                                I also made 3 groups in the Home app, but how can I add groups to Homeseer?
                                Peter

                                http://ohh.pcgsm.nl

                                Comment

                                Working...
                                X