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

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?

Opened Android Debug Bridge (AndroidTV) app_id frequently shows "Failed to write while dumping service window: Broken pipe" · Issue #104652 · home-assistant/core · GitHub

Did you find a solution to this?

Is ADB now considered broken? Seems like nobody on github is following up on the issues.

2 Likes

It’s definitely broken now with 2024.5, lots of errors / warnings in the logs. It’s a shame, the python integration doesn’t keep the older Fire TVs connected as well

hi, i just created my own addon for this since the comunity one was deprecated,
it all seems to be working fine for me, your welcome to use it.

1 Like

Thanks for picking this up!

There is no AMD64 image?

Can't install docker.io/amateurgod/adb-server:dev: 404 Client Error for http+docker://localhost/v1.45/images/create?tag=dev&fromImage=docker.io%2Famateurgod%2Fadb-server&platform=linux%2Famd64: Not Found ("manifest for amateurgod/adb-server:dev not found: manifest unknown: manifest unknown")

I have 2 FireTV (2nd gen 4k) and they are running smoothly with the python integration, but my new Nokia 8010, which is on plain AndroidTV is terrible. It just locks up the videostream on the device. When the phyton integration is disabled, then everything runs fine. Weird stuff.