Originally posted by Alconnell
View Post
Announcement
Collapse
No announcement yet.
AK Google Cast plugin - Google Chromecast and Google Home - introduction
Collapse
This is a sticky topic.
X
X
-
Originally posted by Alconnell View PostLooks like a great plug-in! Downloaded today and it seems to be working but I get these errors using TTS - any thoughts?
Unless it's just a question about usage/configuration - then this thread is fine. And for feature requests - there's separate thread too.
Comment
-
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
-
Originally posted by DBNet View PostSo 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
-
Originally posted by DBNet View PostHi...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.
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.
Comment
-
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 changed: Idle (Living Room Max)
Mar-19 1:02:18 PM Z-Wave Device: Node 2 Cargo Watts 2 Set to 1963.804 (1963.804 Watts)
Mar-19 1:02:16 PM AK GoogleCast [254]: * PlayerState changed: Playing (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]: SendMedia: http://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 changed: Idle (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 changed: Idle (Bathroom Home)
Mar-19 1:02:11 PM AK GoogleCast [278]: * PlayerState changed: Playing (Bathroom Home)
Mar-19 1:02:11 PM AK GoogleCast ERROR [266]: SendMedia: http://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 changed: Playing (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 media: http://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 from: https://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]: SpeakText: All Speakers: 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.
Mar-19 1:02:11 PM AK GoogleCast [254]: Send media: http://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 from: https://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]: SpeakText: Living Room Max: 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.
Mar-19 1:02:11 PM AK GoogleCast [278]: Send media: http://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 from: https://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]: SpeakText: Bathroom Home: 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.
Mar-19 1:02:11 PM AK GoogleCast [266]: Send media: http://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 from: https://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]: SpeakText: Living room Home: 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.
Mar-19 1:02:11 PM TTS Speak ():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.
Comment
-
Originally posted by DBNet View PostHi...
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)
-Alex
Comment
-
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] 1 Photo
Comment
-
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
-
Originally posted by DBNet View PostWell after making that setting change, it just throws an error...
[278]: MakeNewReceiver (IPEndPoint) ':': Value cannot be null. Parameter name: s[/TD]
For the rest the settings are applied immediately.
Comment
-
Originally posted by DBNet View PostYes, 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
Comment