Control lights if I play on Netflix/Amazon Prime a movie

Is there any way to get the state of the Android TV?
Or any way to get the running app?

I want to control the lights if I play in Netflix or Amazon Prime a movie.
With Kodi I have done this with the Kodi binding.

Hi Christian, I just came across your question, as I have solved exactly your question and described it in a tutorial Control lights when playing a movie on FireTV / AndroidTV

1 Like

Great, thank you very much for the info.
This seems awesome!! Will try it now.