Home Assistant Community Add-on: ADB - Android Debug Bridge

Has anyone got this to work with Plex when there are multiple accounts setup? I run a command

am start -a android.intent.action.VIEW -d plex://255b0c7c0bb81c6a402791ea7a36bb3eab3570b0/movie/library/metadata/49606

But it just brings me to the plex screen where you choose the user.

Hello,

Ive got my Mibox3 connected with Home Assistant, and it doesnt show errors in the logs, but also no new entities, states etc.
The mibox prompts me for a new key when I reconnect it, and I see the newly created keys in .storage.

However, except for that prompt and the new key files, nothing happens.

Does anyone know what to do next?

/config/mediaplayers.yaml
- platform: androidtv
  host: 10.69.50.16
  name: MIBOX3

I have the Python ADB implementation running, but have some troubles launching a few apps on my shield.
What is the best/easiest way now to find the ADB commands without the ADB server container running?

Can you forward the code?

heyy all
I get a new xiaomi 55 SMART TV and I try to connect her to HA,
And unfortunately I do not succeed to control her, I try anything
HA run on debian dokcer on rpi4, PYADB and ADB server on docker
Neflix and plex work not perfect but work
but the remote, it is slow like 3-4 sec per click
when I try androidtv.learn_sendevent and send whit androidtv: ADB command
I got adb_response: sendevent: /dev/input/event3: Permission denied
PLZ help

Bumping, just in case someone knowledgeable enough here, can help with my question

Thanks in advance.

Is there a similar command to start a tv show? and how do I get the number at the end?

Dear all, I was wondering if someone knows the commands to get letters and numbers through the ADB ? We have an ADB setup box and I would like to change the channels ? Or within Kodi, write a title.

I have the same issue with my Toshiba FireTV…

I cannot see this add-on in the store…

image

But I found the problem…

Hi, do you have the “Stay awake” element in the developer options?
I had that problem too but resolved not letting the box to go sleeping.

No, it is A/C only (no battery) so there’s no “Stay awake (screen will never sleep while charging)”…

I’m pinging my tv from home assistant to prevent it from going into deep sleep.

Okay, pity, my Xiaomi TV box 4k is on AC power but has it, so probably it depends on the producer.

Mine is Toshiba_43LF621C19, Fire TV Home Version 64.10028.1, Fire OS 6.2.9.3.
It has been far more stable and reliable since removing these three options in the Android TV add-on:

Can you explain how to do that, please?
Thanks in advance,
Michele

I am trying to setup my firestick using the suggested python adb implementation. It finds my firestick and I can turn it on and off using the entity control in HA. When I try to use the “play media on fire TV” action in an automation I select the fire stick for the media player; I am then given the message that the media player does not support browsing media. What am I doing wrong please?

Hi,

Will it possible, one day, to control android phones from HA throught Android Debug Bridge integration ?

1 Like

I use the ADB addon with my Philips Android TV to read the app ID of the current app on the TV.
Unfortunately, this no longer works reliably since the update to 2023.10.5.
Here I receive the following feedback at irregular intervals, but very often:

app_id: Failed to write while dumping service window: Broken pipe
app_name: Failed to write while dumping service window: Broken pipe
source: Failed to write while dumping service window: Broken pipe
adb_response: null
1 Like

Same problem here on 2019 Shield TV Pro. Has anyone opened a big for this?