short story long: I have a 5 years old kid and in his room, I have an Apple Tv and a Fire Tv. Both devices are registered in my HA instance and I have parental controls enabled on both but I must say is not as good as I would like. Bottom line: I would like to add some extra “security” layers by creating a Flow using NodeRed that will stop the FireTv/AppleTV from playing certain YoutubeKid channels or videos.
I use the built-in Media Player card to manage those and I know when they are on and barely it shows what is being played as shown in the below picture but I never get the real name or any other kind of information regarding of what is being watched.
Yea, that one shows up what is being watched however I need to have HA opened and in that view the idea is to capture that somehow and trhough NodeRED sent me a notification using Telegram, that way I will know what the kid is watching … without the need to have HA opened constantly
That’s it, but you’re missing the media sources. Go to Settings - Devices and Services - Integrations - select your Android TV device and click on “Configure”. Check the checkbox for “Retrieve the running apps as the list of sources” and then click on Submit. Then check again in Developers Tools and it should show all of the available sources (source_list) as well as the current source (source).
FWIW, you may not be able to get exactly what you want.
For example, I’m using the same integration and, when the TV is playing Netflix, its associated media_player displays a source attribute containing “Netflix”. It doesn’t display a title of the content playing on Netflix, just that the source of the content is Netflix.
EDIT
Regardless of what I select to play on YouTube, the source attribute simply displays “YouTube (FireTV)”.
Probably none given that the original request for “creating a Flow using NodeRed that will stop the FireTv/AppleTV from playing certain YoutubeKid channels or videos” remains unfulfilled because the integration doesn’t identify the content (i.e. “what is being watched”).