My HTPC bit the dust so we picked up a fire TV as all we really used it for was Youtube and netflix.
I am running Hassio on top of Ubuntu. Currently running 83.3.
In my main configuration file I have:
media_player:
- platform: firetv
name: Fire TV
host: 192.168.1.21
abdkey: config/android/adbkey
In android/adbkey are:
adkey
adbkey.pub
I created the two adbkey files on another linux machine and it stated that everything connected correctly and I allowed the “always allow connections from this device.”
when it popped up.
I am currently getting the following error.
018-12-20 12:00:00 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform firetv
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/media_player/firetv.py", line 71, in setup_platform
ftv = FireTV(host)
File "/usr/local/lib/python3.6/site-packages/firetv/__init__.py", line 106, in __init__
self.connect()
File "/usr/local/lib/python3.6/site-packages/firetv/__init__.py", line 119, in connect
self._adb = adb_commands.AdbCommands().ConnectDevice(**kwargs)
File "/usr/local/lib/python3.6/site-packages/adb/adb_commands.py", line 142, in ConnectDevice
self._Connect(**kwargs)
File "/usr/local/lib/python3.6/site-packages/adb/adb_commands.py", line 173, in _Connect
conn_str = self.protocol_handler.Connect(self._handle, banner=banner, **kwargs)
File "/usr/local/lib/python3.6/site-packages/adb/adb_protocol.py", line 318, in Connect
'Device authentication required, no keys available.')
adb.usb_exceptions.DeviceAuthError: Device authentication required, no keys available.
I tried the troubleshooting setps, adb is enabled, key should be pre-authenticated, permissions for the key files are read/write for anyone, I disconnected from the adb server and have also restarted the other linux box, the fire TV and homeassistant.