Originally posted by spud
View Post
Announcement
Collapse
No announcement yet.
Chromecast Plug-in - Beta Testing
Collapse
This is a sticky topic.
X
X
-
-
Guest
Love this plugin! Been testing it for a couple of days now and it looks very stable and handy. Been using mostly to output TTS on my Google Home speakers.
Spud. One thing I was wondering, will it ever be possible to develop actions to command Google Home or Chromecast? For example, I'd like to be able to have an event that triggers Google Home to play music when I come home, etc. Or to turn on the TV with a Chromecast backdrop slideshow.
Comment
-
Originally posted by stefxx View PostHi,
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!
Does the Test button from the config page works?
Does the volume device controls work?
Comment
-
Originally posted by peterpc View PostAdded 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?
Comment
-
Originally posted by teladog01 View PostThanks for adding this, Spud. It will be quite a lot of work for me to edit the path on all my speak events so I'm still pondering whether using the Chromecast for speak events will be worth the work. I'm curious why the html directory is a requirement, as speaker.exe and Sonos speak clients play mp3 files fine from the "<HS3 root>\Media" directory. And I believe your AirplaySpeak plugin also works without the html directory requirement. Just curious what's different?
I could make the plugin copy the file to the html folder, so that you can put the media file anywhere you want on the HS3 machine.
Comment
-
Originally posted by abwyatt View PostLove this plugin! Been testing it for a couple of days now and it looks very stable and handy. Been using mostly to output TTS on my Google Home speakers.
Spud. One thing I was wondering, will it ever be possible to develop actions to command Google Home or Chromecast? For example, I'd like to be able to have an event that triggers Google Home to play music when I come home, etc. Or to turn on the TV with a Chromecast backdrop slideshow.
However right now, I don't know to start a specific app on the chromecast.
BTW, the Chromecast plugin is now available in the store and the updater.
Comment
-
Originally posted by spud View PostAfter editing the ini file, you need to disable and re-enable the plugin. Then you should see the new chromecast in the config page with the "Online" field checked. Please post the content of your ini file if you don't see that.
Code:[SPEAK_PROXY] forward_to_hs=True [CHROMECASTS] c7eeecd03512f253029b022b468537aa###ipaddress=192.168.86.24 c7eeecd03512f253029b022b468537aa###name=HDMI Huiskamer c7eeecd03512f253029b022b468537aa###enabled=False 7babfb093f1655b04d33e9b47d21d071###ipaddress=192.168.86.112 7babfb093f1655b04d33e9b47d21d071###name=Audio Huiskamer 7babfb093f1655b04d33e9b47d21d072###enabled=True 7babfb093f1655b04d33e9b47d21d072###ipaddress=192.168.86.120 7babfb093f1655b04d33e9b47d21d072###name=Audio Boven 7babfb093f1655b04d33e9b47d21d073###ipaddress=192.168.86.121 7babfb093f1655b04d33e9b47d21d073###name=Audio Serre 7babfb093f1655b04d33e9b47d21d073###enabled=True 7babfb093f1655b04d33e9b47d21d071###enabled=True [GENERAL] log_level=Info
Stop, Play, Pause is working when I start the stream, but sometime later it is not working anymore.
When I start the stream again, Stop,Play,Pause is working again for a while.
Comment
-
Originally posted by peterpc View PostThis is my ini file:
Code:[SPEAK_PROXY] forward_to_hs=True [CHROMECASTS] c7eeecd03512f253029b022b468537aa###ipaddress=192.168.86.24 c7eeecd03512f253029b022b468537aa###name=HDMI Huiskamer c7eeecd03512f253029b022b468537aa###enabled=False 7babfb093f1655b04d33e9b47d21d071###ipaddress=192.168.86.112 7babfb093f1655b04d33e9b47d21d071###name=Audio Huiskamer 7babfb093f1655b04d33e9b47d21d072###enabled=True 7babfb093f1655b04d33e9b47d21d072###ipaddress=192.168.86.120 7babfb093f1655b04d33e9b47d21d072###name=Audio Boven 7babfb093f1655b04d33e9b47d21d073###ipaddress=192.168.86.121 7babfb093f1655b04d33e9b47d21d073###name=Audio Serre 7babfb093f1655b04d33e9b47d21d073###enabled=True 7babfb093f1655b04d33e9b47d21d071###enabled=True [GENERAL] log_level=Info
Stop, Play, Pause is working when I start the stream, but sometime later it is not working anymore.
When I start the stream again, Stop,Play,Pause is working again for a while.
Code:abcd1234###online=True
Comment
-
Originally posted by spud View PostFor the chromecasts you manually added (i.e the ones that are not discoverable) you need the "online=True" line, to force the plugin to see them as always online.
Code:abcd1234###online=True
And how can I add groups?
I have 3 groups made in Home, 1+2+3, 1+2 and 1+3
Comment
-
Originally posted by spud View PostFor now, pressing the Stop, Play or Pause buttons, is only supposed to work if you are already casting something from HomeSeer.
Does the Test button from the config page works?
Does the volume device controls work?stefxx
Comment
-
The plugin found the Chromecasts I had added by hand and created new devices.
I have attached screenshot of new devices and screenshot of my renamed devices.
You see that you get multiple devices without the link to the Chromecast they operate.
Can you change the names of status and volume so they include the name of the Chromecast?
Comment
-
Originally posted by peterpc View PostThe plugin found the Chromecasts I had added by hand and created new devices.
I have attached screenshot of new devices and screenshot of my renamed devices.
You see that you get multiple devices without the link to the Chromecast they operate.
Can you change the names of status and volume so they include the name of the Chromecast?
Comment
-
Originally posted by spud View PostI'm going to add the name of the Chromecast in the Room field, but note that if you click the pink button to display device in groups, all devices representing the same chromecast are in the same group.
I am also a little bit further.
After using a USB wifi dongle, I found that it is not always finding all Chromecasts.
I have installed now a second network card and I will see how that is going. It is looking promising, because the plugin is finding all chromecasts now.
Comment
-
This plugin is great. I'm building a new house and will be using a bunch of Chromecast Audios instead of my usual set of SONOS connects. I was thinking about routing everything through an XAP800 to be able to switch the HS Speak audio to the amps, but this makes that unnecessary!
Along with group functionality, it would be really cool if this could pause playing audio from Play Music or spotify, or a video that's already playing on a regular CC, play the HS speak message, and then go back to playing whatever was playing before. Do you have any sense of whether that will be possible or not?
thank you
mike
Comment
Comment