Hello, Please be gentle, 1st time post I think, Ihave been studying the adb commands and am trying to create a picture in picture element for a doorbell camera using tinycam pro I have the initial tap action working but it pops up in full screen opposed to a picture in picture. My card is as below
So I have been using ABD fine since the new Chromecast came out without issue with the ABD Server it stop working yesterday. Hereās where things get weird. I did a fresh install and it shows certain apps like (Plex, Hulu and Netflix) but I havenāt added androidtv to my new config. Any other app it shows as off. It doesnāt show Google Launcher. If I stop playing one of the above mentioned apps it just says Hulu Idle no matter how many apps I open after Hulu. I changed the IP on the device as well. Any ideas where go to from here?
Sorry for reviving this issue, but I currently in the same situation, and would like to know if some work around was found, and thereās an actual way to make this work, since because of the lack of TTS from the Android tv component I actually need to used both entities to use different aspects of the same device, which kinda of sucks.
Any news?
If anyone wants a bit more instaneous control, below is an example of what I did. It uses a combination of this integration as well as a USB device called IRUSB from VideoStorm. Iām not using the IR functions on it, itās main purpose is acting as an IP controllable HID input (keyboard) to the Nvidia Shield. I use the androidtv adb integration for power, status, and some input (app) switching, and then I use the IRUSB for remote control commands.
I had tried the adb integration even with the /sendevent commands set up, and it was still not to my liking in terms of responsiveness. This method of integration with the IRUSB gives you the responsiveness you would expect from a remote control.
edit: This does work, although the first time you run this you might be asked which app you want to use to open the video. This only appears to work if the shield is already on.
Hi all,
Many releases ago, I (FireTV Stick) was able to use the UI to select a source from a list of several apps. At some point, this stopped working as there is only one and only source in the list, and this one item in the list corresponds to the app that is currently running.
I never pursued a fix for this until today, and still not having much luck. Any suggestions:
EDIT/UPDATE:
After digging around in the code I think I see what the problem is.
First some background on how I think the source list is built and used.
When it comes to building a list of sources, the HA AndroidTV Integration code will periodically ask what I will call the lower level device dependent driver code to get a list of running apps (which it will do if get_sources is true).
This device dependent driver code uses various adb shell commands to talk directly with the device to perform various things, including getting a list of running apps. It is basically getting a list of app_ids, i.e. com.xxx.yyy. When the HA AndroidTV Integration receives the running app list, it essentially will do a look up into the config parameter apps (as well as another list that resides embedded in the code) so that it can change the app id to a more user friendly string. For example: com.hulu.plus will be shown as āHuluā in the source list. If it can not find a matching appid in the look up, it will simply show the appid in the source list.
There may be cases, where there are lots of appids that are showing up and they are more or less internal apps, and if you donāt want these showing up in your sources list, you can set the config exclude_unnamed_apps to true to eliminate them. Finally, there appears to be a separate flow of code that is retrieving the current running app, and this is the one of course that shows as currently selected.
So I found that the problem is in the retrieving of the running apps. The adb shell command that is used for the Fire device is not retrieving any any running apps, and so the HA AndroidTV Integration gets an empty list of running apps so the source list is empty and all that is left to show is the current running app and no more. The solution I found is to use the same adb shell command that is used for Android devices. Iāve submitted an issue on this, so weāll see where it goes.
I`m having a similar issue as described above with my Shield TV, only I donāt see any sources (apps) at all. The rest of the media_player is working as expected (I can turn it on/off, change volume and see the album art).
@kirpat@Molodax hi guys, have you resole it? i have the same issue on my new smart tv philips android tv 65pus8556, appid dont show in the attributes, and the state doesnt change, thanks
I noticed today (since thereās now a proper integration page) that the attributes do show the apps installed on my shield however, this integration does (up till now) not support Android TV 11. See Alerts ā Home Assistant
I have a 2 server landscape (TST/PRD), in which I run the āADB - Android Debug Bridgeā add-on in PRD and connect the TST server to send the ADB commands through it.
As this add-on is now deprecated for a while, I am considering changing the setup to Python-adb instead.
Still then, considering that I can only have a single ADB connection at a time per device, is there a way to move it to Python-adb and still be able to send ADB commands from the 2 servers āat the same timeā?