Hi guys, wanted to hook up my android tv box (NVIDIA SHIELD TV) to home assistant and followed the instructions here:
but I think I’m missing some components. The box has developer mode enabled, same as the network debugging option (usb disabled). The box is hardwired, no wifi.
I just upgraded my docker container to the latest build 0.103. But its not yet working:
Platform androidtv not ready yet. Retrying in 180 seconds.
4:24 PM helpers/entity_platform.py (WARNING) - message first occurred at 3:49 PM and shows up 12 times
Could not connect to Shield TV at <Android_device_IP>:5555 using Python ADB implementation with adbkey='/config/.storage/androidtv_adbkey'
4:24 PM components/androidtv/media_player.py (WARNING) - message first occurred at 3:41 PM and shows up 17 times
Couldnt connect to host <Android_device_IP>:5555. TcpTimeoutException: Reading from <Android_device_IP>:5555 timed out (10.0 seconds)
4:24 PM components/androidtv/media_player.py (WARNING) - message first occurred at 3:41 PM and shows up 17 times
Opened up a shell inside the container and I can ping the box.
tried running adb connect <Android_device_IP>:5555
but get the error: bash: adb: command not found
But of course that is not working as HA doesn’t include the SDK for android. Any commands I can try from shell to use the adb-shell Python package that is included as of v0.101?
Or is there a docker adb server I could use?
revoke keys on the shield (developer settings -> revoke usb keys) and doublecheck if network mode is enabled. I have the same setup and it works fine (but I had to revoke the default keys first).
try to connect to your adb port from a different machine to (telnet shield_ip 5555) to verify adb is running