I use chromecast to stream multiple media sources to my TVs. I have looked and can’t find a way to get chromecast to communicate with Home Assistant to know when I am casting content. What I ultimately want to do is set up something in node-red where certain lights turn on or off depending on which chromecast device is streaming and when it is.
I have plex integrated so I can turn lights on/off when plex is playing/paused but I actually use Disney+ and Discovery+ more then Plex now.
Possibly, I am not sure what regex is. I am still kind of new to home assistant. Only been using it for around 6 months. I am not even sure how to get chromecast in Home Assistant. I see lots of things about using node red to cast but I want node red to detect when I cast from my phone. I have 3 chromecast I mainly use. I want to know when I use my living room one at night and to turn my lights off when chromecast is playing and to turn them on when I pause or I stop casting
I use my phone for casting. I only have one Google hub but it is in my office. I just want Home Assistant and node red to know when I start playing something I am casting from my phone to one of my TVs