Amazon Alexa control of chromecast

Hi all,
Very new to openhab so I’m not even sure if what I want to do is possible.
I want to be able to control my various chrome cast devices with my Amazon dot. For example, to be able to say “Alexa play xyz song on bedroom chromecast” and the chromecast will start playing it.
I’ve managed to connect the dot so it can see openhab devices via a hue emulation.
I’ve installed the chromecast plugin and it sees my devices fine and can alter the volume. I can’t for the life of me work out how I get openhab to tell chromecast to play something though.


Short answer: that level of control isn’t available out of the box yet.

Longer answer: you could probably use a custom OH Alexa skill. There are a couple of threads floating around that may help (if you don’t mind following the long-winded process to set up your own Alexa skill).

First job will be to get OH to control the chromecast and tell it which url to play from. Then I can look at the alexa skill.