I added 2 Fire TV Sticks and 1 AndroidTV Box to my HA, but last week I got a new router and the IPs changed. After this, the log is filled with errors:
2022-01-04 16:27:35 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.48:5555. ConnectionRefusedError: Connect call failed ('192.168.4.48', 5555)
2022-01-04 16:27:35 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Fire TV Bedroom at 192.168.4.48:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
2022-01-04 16:27:41 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.65:5555. ConnectionRefusedError: Connect call failed ('192.168.4.65', 5555)
2022-01-04 16:27:41 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Cogeco at 192.168.4.65:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
I have already updated my configuration.yaml with the new IPs (the ones in the log are the correct IPs) so what am I missing?
I’m not too familiar with the AndroidTV integration, but try taking the code out of the config file/removing the integration, and readding it. There might be some leftovers from your previous network that HA hasn’t gotten rid of yet. This process should do that.
I even tried to manually delete /config/.storage/androidtv_adbkey then i restarted HA and it recreated the file. Same errors in the log
2022-01-04 22:39:20 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.65:5555. ConnectionRefusedError: Connect call failed ('192.168.4.65', 5555)
2022-01-04 22:39:20 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Cogeco at 192.168.4.65:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
2022-01-04 22:39:45 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform androidtv is taking over 10 seconds.
2022-01-04 22:39:45 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.11:5555. TcpTimeoutException: Reading from 192.168.4.11:5555 timed out (10.0 seconds)
2022-01-04 22:39:45 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Fire TV Living Room at 192.168.4.11:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
2022-01-04 22:40:50 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.48:5555. ConnectionRefusedError: Connect call failed ('192.168.4.48', 5555)
2022-01-04 22:40:50 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Fire TV Bedroom at 192.168.4.48:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
2022-01-04 22:40:50 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.65:5555. ConnectionRefusedError: Connect call failed ('192.168.4.65', 5555)
2022-01-04 22:40:50 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Cogeco at 192.168.4.65:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
2022-01-04 22:41:25 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform androidtv is taking over 10 seconds.
2022-01-04 22:41:25 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 192.168.4.11:5555. TcpTimeoutException: Reading from 192.168.4.11:5555 timed out (10.0 seconds)
2022-01-04 22:41:25 WARNING (MainThread) [homeassistant.components.androidtv.media_player] Could not connect to Fire TV Living Room at 192.168.4.11:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'