FireTV Server Component ADB Error

So installed the firetv-server with out issue and it does work when I point it to my first gen Amazon FireTV. However when I point it at my new one I got for Christmas the console throws the following error:

Traceback (most recent call last):
File “/home/firetv/firetv/bin/firetv-server”, line 11, in
sys.exit(main())
File “/home/firetv/firetv/local/lib/python2.7/site-packages/firetv/main.py”, line 237, in main
if args.default and not add(‘default’, args.default):
File “/home/firetv/firetv/local/lib/python2.7/site-packages/firetv/main.py”, line 81, in add
devices[device_id] = FireTV(str(host))
File “/home/firetv/firetv/local/lib/python2.7/site-packages/firetv/init.py”, line 61, in init
self.connect()
File “/home/firetv/firetv/local/lib/python2.7/site-packages/firetv/init.py”, line 71, in connect
serial=self.host)
File “/home/firetv/firetv/local/lib/python2.7/site-packages/adb/adb_commands.py”, line 76, in ConnectDevice
return cls.Connect(handle, **kwargs)
File “/home/firetv/firetv/local/lib/python2.7/site-packages/adb/adb_commands.py”, line 99, in Connect
device_state = cls.protocol_handler.Connect(usb, banner=banner, **kwargs)
File “/home/firetv/firetv/local/lib/python2.7/site-packages/adb/adb_protocol.py”, line 288, in Connect
‘Device authentication required, no keys available.’)
adb.usb_exceptions.DeviceAuthError: Device authentication required, no keys available.

Has anyone else seen this? Not sure how to resolve.

2 Likes

I’m having the exact same issue. I have a V2 firetv stick and a firetv, both work fine but with my newer FireTV I am getting the same authentication error.

damn it - always something :frowning:

anyone got any idea if this is being addressed? or if a python 3.x version will be built?

[EDIT]: seems some extra work using this is needed https://github.com/google/python-adb#using-as-a-python-library
:frowning:

tried using this instead https://pypi.python.org/pypi/python-adb/1.1.1
but no luck - have zero dev skills (so cant go any further)

i noticed that the python-adb build here supports python 3.5
so going back to try and find a version that runs on 2.x

Anyone have any updates on this :frowning: i am getting the same issue

gave up as couldnt get anywhere - dont know enough about linux to figure it out either :frowning:

waiting for someone smarter than me to update the solution.

1 Like

Was having same issue and it’s not a Home Assistant unfortunately so gave up until I have some more time to look through the code myself.

The base software ‘python-firetv’ doesn’t support devices that require authentication keys, it’s raised as an issue on their github and no-one is looking into supporting it yet.
https://github.com/happyleavesaoc/python-firetv/issues/49

3 Likes

Any new movement/improvement on this?

@gollo I believe you made the Home Assistant addon for this. Someone posted a fix here:

Any chance that fix can be put into the addon? I’m not smart enough to figure out what needs to happen.

Sorry I pasted the wrong URL.

https://github.com/happyleavesaoc/python-firetv/issues/49