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
73.29k stars 30.61k forks source link

Fire TV on Wifi keeps disconnecting from HA #129644

Open templeowls21 opened 14 hours ago

templeowls21 commented 14 hours ago

The problem

I have a Fire TV on Wifi and its integrated into HA via ADB. When the TV is actually on, HA completely recognizes it. But after being off for a few hours, it disconnects with this error in HA:

`Logger: androidtv.adb_manager.adb_manager_async Source: components/androidtv/init.py:133 First occurred: 12:27:20 PM (59 occurrences) Last logged: 1:42:05 PM

Couldn't connect to 192.168.107.8:5555. TcpTimeoutException: Connecting to 192.168.107.8:5555 timed out (1.0 seconds)`

The error persists until the TV is turned back on.

It has a static IP via my Omada system if relevant. According to Omada, it's never dropping offline (there's an Ap about 3 ft from it).

Also, I have an identical Fire TV (same exact model; bought both at once) that I set up in the exact same way via ADB with the only difference being its connected via ethernet. I didn't change any power settings on either. The ethernet one has never once disconnected from HA/ADB.

Any suggestions? It seems to be an issue specifically with the device via ADB being on Wifi

What version of Home Assistant Core has the issue?

2024.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ADB

Link to integration documentation on our website

No response

Diagnostics information

n/a

Example YAML snippet

n/a

Anything in the logs that might be useful for us?

`Logger: androidtv.adb_manager.adb_manager_async
Source: components/androidtv/__init__.py:133
First occurred: 12:27:20 PM (59 occurrences)
Last logged: 1:42:05 PM

Couldn't connect to 192.168.107.8:5555. TcpTimeoutException: Connecting to 192.168.107.8:5555 timed out (1.0 seconds)`

Additional information

n/a