Announcement

Collapse
No announcement yet.

AK Google Cast plugin - Google Chromecast and Google Home - introduction

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

  • #76
    Originally posted by Alconnell View Post
    Looks like a great plug-in! Downloaded today and it seems to be working but I get these errors using TTS - any thoughts?
    Somebody reported similar problem before - it was some Firewall issue. But you can try increasing "App Start Timeout" to 10 sec

    Click image for larger version

Name:	ConfigDevice3.jpg
Views:	130
Size:	100.7 KB
ID:	1352899

    Comment


    • #77
      Originally posted by Alconnell View Post
      Looks like a great plug-in! Downloaded today and it seems to be working but I get these errors using TTS - any thoughts?
      And please always create a separate thread for any issues - it's better for everybody - for you, for other users, for me.

      Unless it's just a question about usage/configuration - then this thread is fine. And for feature requests - there's separate thread too.

      Comment


      • #78
        So I have a weird one trying to get this PlugIn or work. My Google devices are found without issue and if I send something to be spoken on them, it will start it up but nothing is every said. Looking in the logs it seems that HS is trying to use my GATEWAY IP to talk and not my local network. The devices were found on the local network, but I have a VPN system also running on this windows 10 box and it is trying to use that!!!

        Jan-23 11:50:40 AM AK GoogleCast ERROR [266]: SendMedia: http://10.202.0.2:8080/Wave/Cast/Goo...7620877-en.mp3(audio/mpeg): Expected app: 'CC1AD845', but running: '' (Living Room Max): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
        Jan-23 11:50:39 AM AK GoogleCast ERROR [266]: Not started application CC1AD845 timeout 3000 (Living Room Max): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
        Jan-23 11:50:39 AM AK GoogleCast ERROR [266]: Waiting to launch application CC1AD845 timeout 3000 (Living Room Max): [HSPI_AKGoogleCast.SpeakerGoogleTransl]

        The IP of my Ling Room Max does show correctly as 192.168.1.75 in the plugin yet as you can see 10.202.0.2 is looking to be used as to what to play when it should be 192.168.1.3. I try the IP it is trying to use in my browser it's won't connect or do anything of course. If I change the IP to that of my local HS and try it in my browser, I does work... http://192.168.1.3:8080/Wave/Cast/GoogleTranslate-1907620877-en.mp3

        So the question is...How do I get HS to NOT be on the network of the VPN so it will look to use the ACTUAL local network of 192.168.1.X ???? I mean, it does REACH the Home Max unit, but the max can't seem to do anything after that as it is trying to get to HS. This is not working as it is looking to play something it surely should not even be looking at IP wise!

        Thanks

        Comment


        • #79
          Originally posted by DBNet View Post
          So I have a weird one trying to get this PlugIn or work. My Google devices are found without issue and if I send something to be spoken on them, it will start it up but nothing is every said. Looking in the logs it seems that HS is trying to use my GATEWAY IP to talk and not my local network. The devices were found on the local network, but I have a VPN system also running on this windows 10 box and it is trying to use that!!!

          Jan-23 11:50:40 AM AK GoogleCast ERROR [266]: SendMedia: http://10.202.0.2:8080/Wave/Cast/Goo...7620877-en.mp3(audio/mpeg): Expected app: 'CC1AD845', but running: '' (Living Room Max): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
          Jan-23 11:50:39 AM AK GoogleCast ERROR [266]: Not started application CC1AD845 timeout 3000 (Living Room Max): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
          Jan-23 11:50:39 AM AK GoogleCast ERROR [266]: Waiting to launch application CC1AD845 timeout 3000 (Living Room Max): [HSPI_AKGoogleCast.SpeakerGoogleTransl]

          The IP of my Ling Room Max does show correctly as 192.168.1.75 in the plugin yet as you can see 10.202.0.2 is looking to be used as to what to play when it should be 192.168.1.3. I try the IP it is trying to use in my browser it's won't connect or do anything of course. If I change the IP to that of my local HS and try it in my browser, I does work... http://192.168.1.3:8080/Wave/Cast/GoogleTranslate-1907620877-en.mp3

          So the question is...How do I get HS to NOT be on the network of the VPN so it will look to use the ACTUAL local network of 192.168.1.X ???? I mean, it does REACH the Home Max unit, but the max can't seem to do anything after that as it is trying to get to HS. This is not working as it is looking to play something it surely should not even be looking at IP wise!

          Thanks
          That should be easy, I'll have a look

          Comment


          • #80
            Hi...No worries, I finely found I can set the IP for HS to use in SETUP ---> LABS and set it to use 192.168.3 and all is well now. But unless you do that, HS can choose ANY network it sees to bind to. So just a headsup.

            Comment


            • #81
              Originally posted by DBNet View Post
              Hi...No worries, I finely found I can set the IP for HS to use in SETUP ---> LABS and set it to use 192.168.3 and all is well now. But unless you do that, HS can choose ANY network it sees to bind to. So just a headsup.
              HS SDK help says

              Returns the IP address of your computer as a string like 192.168.1.1. Note that if your computer has multiple network interfaces, this will return
              the IP address of each interface separated by a "space" character: 192.168.1.1 192.168.1.2.
              So if you want I can add more logging to test if it's the case. If you can't be bothered - it's fine too.

              Comment


              • #82
                I am set at this point. But thanks for asking. No need to do extra coding seeing there is a work around. I never knew to look under LABS to set an IP. You would think that would be a NETWORK option.

                Comment


                • #83
                  Better for me

                  Comment


                  • #84
                    Hi...

                    I am new to this plugin and really only paid for it to get things to alert me via voice...vs other things it can do like control media. But I seem to have an issue where it will start to talk and then stop. Some things works just fine, others will just crash out when it starts to talk via to two devices. Here is is an example from my log and the error. (read from the bottom up time wise.)

                    In this case, all I get is "You can now close the black..." and it stops. More or less this is triggered on a timer. When a flush water valve opens, it starts a 3 min timer. After 3 mins, it reminds me to close the tank so it can back fill for one more min before turning off the water. You can see the errors in the log.

                    Any thoughts would be great as this surely should not happens. It should just speak what I asked it to.

                    Thanks


                    PHP Code:
                    Mar-19 1:02:19 PM         AK GoogleCast    [254]: * PlayerState changedIdle (Living Room Max)
                    Mar-19 1:02:18 PM         Z-Wave    DeviceNode 2 Cargo Watts 2 Set to 1963.804 (1963.804 Watts)
                    Mar-19 1:02:16 PM         AK GoogleCast    [254]: * PlayerState changedPlaying (Living Room Max)
                    Mar-19 1:02:15 PM         AK GoogleCast    [302]: * Application started: Default Media Receiver (CC1AD845) (All Speakers)
                    Mar-19 1:02:15 PM         AK GoogleCast    [302]: * Application started: Default Media Receiver (CC1AD845) (All Speakers)
                    Mar-19 1:02:15 PM         AK GoogleCast    [266]: * Application started: Default Media Receiver (531A4F84) (Living room Home)
                    Mar-19 1:02:14 PM         AK GoogleCast ERROR    [302]: SendMediahttp://192.168.1.3:8080/Wave/Cast/GoogleTranslate1838794356-en.mp3 (audio/mpeg): Expected app: 'CC1AD845', but running: '' (All Speakers): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
                    Mar-19 1:02:14 PM         AK GoogleCast ERROR    [302]: Not started application CC1AD845 timeout 3000 (All Speakers): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
                    Mar-19 1:02:14 PM         AK GoogleCast ERROR    [302]: Waiting to launch application CC1AD845 timeout 3000 (All Speakers): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
                    Mar-19 1:02:13 PM         AK GoogleCast    [278]: * Application started: Default Media Receiver (705D30C6) (Bathroom Home)
                    Mar-19 1:02:13 PM         AK GoogleCast    [254]: * Application started: Default Media Receiver (705D30C6) (Living Room Max)

                    Mar-19 1:02:12 PM         AK GoogleCast    [254]: * Application started: Default Media Receiver (705D30C6) (Living Room Max)
                    Mar-19 1:02:12 PM         AK GoogleCast    [254]: * Application started: Default Media Receiver (705D30C6) (Living Room Max)
                    Mar-19 1:02:12 PM         AK GoogleCast    [254]: * Application ended (Living Room Max)
                    Mar-19 1:02:12 PM         AK GoogleCast    [254]: * PlayerState changedIdle (Living Room Max)
                    Mar-19 1:02:12 PM         AK GoogleCast    [278]: * Application started: Default Media Receiver (705D30C6) (Bathroom Home)
                    Mar-19 1:02:12 PM         AK GoogleCast    [278]: * Application started: Default Media Receiver (705D30C6) (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: * Application ended (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: * PlayerState changedIdle (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: * PlayerState changedPlaying (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast ERROR    [266]: SendMediahttp://192.168.1.3:8080/Wave/Cast/GoogleTranslate1838794356-en.mp3 (audio/mpeg): Expected app: 'CC1AD845', but running: '' (Living room Home): [HSPI_AKGoogleCast.SpeakerGoogleTransl]
                    Mar-19 1:02:11 PM         AK GoogleCast    [254]: * PlayerState changedPlaying (Living Room Max)
                    Mar-19 1:02:11 PM         AK GoogleCast    [266]: * Application ended (Living room Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [266]: * Application started: Default Media Receiver (CC1AD845) (Living room Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [302]: Send mediahttp://192.168.1.3:8080/Wave/Cast/GoogleTranslate1838794356-en.mp3 (All Speakers)
                    Mar-19 1:02:11 PM         AK GoogleCast    [302]: Media file name: /usr/local/HomeSeer/html/Wave/Cast/GoogleTranslate1838794356-en.mp3 (All Speakers)
                    Mar-19 1:02:11 PM         AK GoogleCast    [302]: Getting TTS fromhttps://translate.google.com/translate_tts?ie=UTF-8&tk=924676.558469&client=tw-ob&tl=en&ttsspeed=1&q=It+has+been+3+minutes.++You+can+now+close+the+black+tank+dump+for+some+backfilling+and+open+the+gary+tank+dump.+I+will+close+the+black+tank+flush+valve+in+one+minute. (All Speakers)
                    Mar-19 1:02:11 PM         AK GoogleCast    [302]: SpeakTextAll SpeakersIt has been 3 minutesYou can now close the black tank dump for some backfilling and open the gary tank dumpI will close the black tank flush valve in one minute.
                    Mar-19 1:02:11 PM         AK GoogleCast    [254]: Send mediahttp://192.168.1.3:8080/Wave/Cast/GoogleTranslate1838794356-en.mp3 (Living Room Max)
                    Mar-19 1:02:11 PM         AK GoogleCast    [254]: Media file name: /usr/local/HomeSeer/html/Wave/Cast/GoogleTranslate1838794356-en.mp3 (Living Room Max)
                    Mar-19 1:02:11 PM         AK GoogleCast    [254]: Getting TTS fromhttps://translate.google.com/translate_tts?ie=UTF-8&tk=924676.558469&client=tw-ob&tl=en&ttsspeed=1&q=It+has+been+3+minutes.++You+can+now+close+the+black+tank+dump+for+some+backfilling+and+open+the+gary+tank+dump.+I+will+close+the+black+tank+flush+valve+in+one+minute. (Living Room Max)
                    Mar-19 1:02:11 PM         AK GoogleCast    [254]: SpeakTextLiving Room MaxIt has been 3 minutesYou can now close the black tank dump for some backfilling and open the gary tank dumpI will close the black tank flush valve in one minute.
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: Send mediahttp://192.168.1.3:8080/Wave/Cast/GoogleTranslate1838794356-en.mp3 (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: Media file name: /usr/local/HomeSeer/html/Wave/Cast/GoogleTranslate1838794356-en.mp3 (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: Getting TTS fromhttps://translate.google.com/translate_tts?ie=UTF-8&tk=924676.558469&client=tw-ob&tl=en&ttsspeed=1&q=It+has+been+3+minutes.++You+can+now+close+the+black+tank+dump+for+some+backfilling+and+open+the+gary+tank+dump.+I+will+close+the+black+tank+flush+valve+in+one+minute. (Bathroom Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [278]: SpeakTextBathroom HomeIt has been 3 minutesYou can now close the black tank dump for some backfilling and open the gary tank dumpI will close the black tank flush valve in one minute.
                    Mar-19 1:02:11 PM         AK GoogleCast    [266]: Send mediahttp://192.168.1.3:8080/Wave/Cast/GoogleTranslate1838794356-en.mp3 (Living room Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [266]: Media file name: /usr/local/HomeSeer/html/Wave/Cast/GoogleTranslate1838794356-en.mp3 (Living room Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [266]: Getting TTS fromhttps://translate.google.com/translate_tts?ie=UTF-8&tk=924676.558469&client=tw-ob&tl=en&ttsspeed=1&q=It+has+been+3+minutes.++You+can+now+close+the+black+tank+dump+for+some+backfilling+and+open+the+gary+tank+dump.+I+will+close+the+black+tank+flush+valve+in+one+minute. (Living room Home)
                    Mar-19 1:02:11 PM         AK GoogleCast    [266]: SpeakTextLiving room HomeIt has been 3 minutesYou can now close the black tank dump for some backfilling and open the gary tank dumpI will close the black tank flush valve in one minute.
                    Mar-19 1:02:11 PM         TTS    Speak ():It has been 3 minutesYou can now close the black tank dump for some backfilling and open the gary tank dumpI will close the black tank flush valve in one minute

                    Comment


                    • #85
                      Originally posted by DBNet View Post
                      Hi...

                      I am new to this plugin and really only paid for it to get things to alert me via voice...vs other things it can do like control media. But I seem to have an issue where it will start to talk and then stop. Some things works just fine, others will just crash out when it starts to talk via to two devices. Here is is an example from my log and the error. (read from the bottom up time wise.)

                      In this case, all I get is "You can now close the black..." and it stops. More or less this is triggered on a timer. When a flush water valve opens, it starts a 3 min timer. After 3 mins, it reminds me to close the tank so it can back fill for one more min before turning off the water. You can see the errors in the log.

                      Any thoughts would be great as this surely should not happens. It should just speak what I asked it to.

                      Thanks

                      What's your device? Standard Google Home?


                      It looks like your Cast device doesn't start the media application,

                      A few things you can try:

                      1. I wait for 3 seconds by default, but you may try increasing the timeout to 10 sec (see screenshot)

                      2. The messages seem a bit long, Google Translate has some limitations, you might want to try splitting long messages in smaller chunks. It's actually better to have small first chunk, so if your Cast device takes time to switch/start the application and the first chunk is missing - you still get the rest.

                      3. Although HS does have "Wait for Speech to Finish" checkbox - it doesn't quite work, so you might add some delay after the speech (i.e. 1-3 sec)

                      Click image for larger version

Name:	gcast.jpg
Views:	77
Size:	64.4 KB
ID:	1371319
                      -Alex

                      Comment


                      • #86
                        Well after making that setting change, it just throws an error...
                        Mar-20 12:55:33 PM AK GoogleCast ERROR [278]: MakeNewReceiver (new Chromecast): Object reference not set to an instance of an object
                        Mar-20 12:55:33 PM AK GoogleCast ERROR [278]: MakeNewReceiver (IPEndPoint) ':': Value cannot be null. Parameter name: s
                        Mar-20 12:55:14 PM AK GoogleCast ERROR [256]: Error downloading image: https://lh3.googleusercontent.com/Wp...w-no-l75-nd-mv (412409c949c137c51255400ff0f2d570/image0.jpg): A null reference or invalid value was found [GDI+ status: InvalidParameter]
                        Mar-20 12:55:15 PM AK GoogleCast ERROR [256]: Error downloading image: https://lh3.googleusercontent.com/Wp...w-no-l75-nd-mv (412409c949c137c51255400ff0f2d570/image0.jpg): A null reference or invalid value was found [GDI+ status: InvalidParameter]

                        Comment


                        • #87
                          Yes, getting these over and over...

                          [256]: Error downloading image: https://lh3.googleusercontent.com/Tj...w-no-l75-nd-mv (412409c949c137c51255400ff0f2d570/image1.jpg): A null reference or invalid value was found [GDI+ status: InvalidParameter]

                          Comment


                          • #88
                            Originally posted by DBNet View Post
                            Well after making that setting change, it just throws an error...
                            [278]: MakeNewReceiver (IPEndPoint) ':': Value cannot be null. Parameter name: s[/TD]
                            This looks like you click "Apply Settings" button when IP address is empty? BTW - the "Apply Settings" button is only necessary when changing the IP address.

                            For the rest the settings are applied immediately.

                            Comment


                            • #89
                              Originally posted by DBNet View Post
                              Yes, getting these over and over...

                              [256]: Error downloading image: https://lh3.googleusercontent.com/Tj...w-no-l75-nd-mv (412409c949c137c51255400ff0f2d570/image1.jpg): A null reference or invalid value was found [GDI+ status: InvalidParameter]
                              I will investigate, but I always ask to make a new thread for issues. This thread is about plugin introduction and features.

                              Comment


                              • #90
                                MY BAD!!!! I found this thread in a search and thought it was a general support thread. I did not see the plugin had its own forum section for posts.

                                Comment

                                Working...
                                X