home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.76k stars 28.91k forks source link

Android Debug Bridge makes Android TV image freeze #119416

Open mhoogenbosch opened 3 weeks ago

mhoogenbosch commented 3 weeks ago

The problem

I have been using two Fire TV's for some time now. I also have them connected through the Android Debug Bridge. This works flawless. The updates are swift and with the on/off state working you can actually make automations with it.

Recently I bought a Nokia 8010 device. Based on Android TV. This device is based on ATV12 (v12.8.5221). After installing all apps i connected it with Home Assistant.

I have been running into issues with the image of the screen freezing within the Android TV. So the sound runs, even when watching YouTube the subtitles continue, but the image freezes (this happens in Plex, YouTube, Tivimate and Netflix). Now I didn't suspect the HA connection as first option, but after lots of troubleshooting and ruling out other stuff I deleted the HA integration. No more image freezes.

When looking at the media player within HA I also come to the conclusion it doesn't work that well compared to the FireTV integration even though it is the same integration. As said the FireTV has immediate updates, and de Android TV lags very much behind.

I have been looking at the logcat of the ADB debugging, but cannot find anything 'weird' passing by. Unfortunately, I don't know how to investigate this further, and basically that's what I'm looking for; some guidance on how to troubleshoot and see if this is a common problem or has something to do with my environment.

What version of Home Assistant Core has the issue?

2024.6.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Android Debug Bridge

Link to integration documentation on our website

https://www.home-assistant.io/integrations/androidtv/

Diagnostics information

home-assistant_androidtv_2024-06-11T17-52-29.794Z.log

The IP address of the device acting up : 192.168.23.166

Example YAML snippet

No response

Anything in the logs that might be useful for us?

The only way I can get the movie / video going again is to pause, rewind for a couple of sec and hitting the play button. When the integration has been disabled for this particular device (192.168.23.166) the video's are not freezing.

Additional information

No response

home-assistant[bot] commented 3 weeks ago

Hey there @jefflirion, @ollo69, mind taking a look at this issue as it has been labeled with an integration (androidtv) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `androidtv` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign androidtv` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


androidtv documentation androidtv source (message by IssueLinks)