Cast Youtube link

Hi guys, I tried to cast Youtube like to my Google Chromecast.

Items:
String youtube_gc “Youtube links” {channel =“chromecast:chromecast:c528e43c0e4a488cda36b71f89233659:playuri”}

rules: (I’ve added to a exist rule, when the item state is changing to ON):

youtube_gc.sendCommand(“www.youtube.com/watch?v=YEWJ3E50pC4”)

And It’s not working, this is the follow errors I get when I trying to lunch this:

2020-03-06 16:20:28.647 [hingStatusInfoChangedEvent] - 'chromecast:chromecast:c528e43c0e4a488cda36b71f89233659' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Unable to load media

Google home - Hack to play live YouTube live streams with a routine

I think you didn’t understand what I try to do.

There is a Bind call “Chromecast Binding” by Kai Kreuzer.
In this binding there is a Channel called “Play URI” this should be able to Play a Youtube URL I want on my google chormecase thorw OpenHab system, but It’s not working … and as I show my erros above, I try to get help about it here.

I could not get youtube to play on my chromecast either

Are you expecting the ‘default media player’ within the ChromeCast to play a YouTube video, that would normally be played with the YouTube app within the ChromeCast?

I’m not aware of a way to select the player app in the ChromeCast devices.

If it were, we could call TuneIn stations

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.