[APP][Pro] Android TV - Take control of your TV experience

The Alexa app should be installed by default on your TV, it could as well be in the settings.

I read on Github that it should be possible to switch to different sources but it seems that this feature has been removed? I want to make the guide button on my xbox controller with a webhook start Steam in big mode on the computer and then switch my TV to HDMI 4. But I can’t find how to get the TV to switch sources with this app :-/

I don’t think that ever worked

Alright, I understand. Thanks for answering :slight_smile: What about adding new apps to the function ā€œOpen app App nameā€. I downloaded an app called Go to HDMI4 input on my TV. If I could just make Android TV open that app that would almost be the same. It’s just that the flow card for opening apps doesn’t let you run anything but the predefined list of apps.

Maybe adding new apps to that list is as simple as copy and pasting the code for the other apps and changing some stuff (eg. URL/links)? In that case maybe I can just add it myself and compile.

Sorry, but I have to disappoint you there as well. For example: I like to run a slide show using the ā€œTV Photoā€ app on my Xiaomi Mi Box S, but I cannot directly start that app. I have to use a flow to navigate to the app and start it.

Perhaps someone can look into the source switching, but this has been a pain for years now :frowning:

I’ve almost done it. I just didn’t have enough energy to play around with my PC yesterday so I got half way there.

I use advanced flow. When Homey recieve a webhook, Android TV open an app called ā€œGo to HDMI4 inputā€ and after 5 seconds a flow card presses the confirm button. You can find the android app on the playstore on your TV. Then you need to add it to Android TV which you can download from Github and install manually afterwards. There are guides for that.

So far I can manually activate the flow and my TV switches source just as I wanted it to. Now I just need to make an Autohotkey script to send that webhook. Then bind button 13 on my xbox gamepad to run that script :slight_smile: I got that figured out though by using Joy2Key.

My issue right now is the script. I’m not a programmer so my script doesn’t work, or maybe it does and I’m just using the wrong URL in the .ahk for the webhook… or everything about the webhook is configured wrong because I have no idea how you set it up correctly. All the guides I can find are for sending messages on Discord.

[Edit]

Solved :slight_smile:

To change source on the tv just download ā€œGo to HDMI4 inputā€ on your tv via the android store (playstore). That one costs, but there’s a free version called ā€œGo to HDMI1 inputā€ :slight_smile: Then download this homey app (Android TV) from GitHub on your PC.

Extract the file you downloaded and go to ā€œhomey-android-tv-1.3.4\androidtv-remote\remoteā€. Open the file apps.ts and add the package name of the app you want to add to the droplist on the flow card on your Homey. You can find the package name by going to the app on the playstore via a web browser and looking at the URL. In my case it is ā€œcom.mpiero.android.tvhdmi4ā€. Add that to the apps.ts file. Then follow the guide to install apps to homey through PowerShell :slight_smile:

When you open an app through Homey with Android TV, just let the flow wait a few seconds just so the app on the TV has time to open correctly. Then send a confirm command with Android TV so the app on your tv opens.

This is what it looks like for me :slight_smile:

2 Likes

Great work! Seems to me that just adding it to the Android TV app should still be possible

the Android tv app works great with my TCL tv, except when my tv turns off. I think its because my tv doesn’t have a standby mode it completely powers off, so the turn on controls don’t work, also if I make a flow that uses the android cards in homey I have to have the tv turned on to select the cards.
is there any workaround for this situation

Anyone else having a problem getting Power On to work with Nvidia Shield Pro? Everything else works perfectly :blush:

I have that issue you mentioned early that my TCL TV loose the connection to the app after a day, so I have to repair the connection. Anybody have found a smart fix for this issue?

I just never switch off my Xiaomi Mi Box S