[RELEASE] FireTV Driver for Hubitat using ADB (without other hardware)

It is much more stable now, and not requesting ADB authentication anymore.

#5. They are all working on FireStick, probably the launch command on GoogleTV streamer are different, would need to debug with a google tv and find the correct commands for Prime Video and Youtube.

#1. Fixed

I can say that this driver is now very stable for FireTV.
Hope it helps.

Cheers.

1 Like

Hello, Thanks for you work on this! Unfortunately, I am unable to get it working. I've enabled adb debugging (and installing unknown apps). I've entered the correct IP for my Fire TV 4k (1st gen) into the device. However, I'm never asked to allow connections when I click on a command (and no commands work). I've tried clicking on Generate New Key, but still am not asked to allow. I'm running a C8Pro, latest firmware. I'm using v1.4 of your driver. Logs from my last attempt to generate a new key are:

Thanks!

1 Like

@hhorigian Is it possible to get a driver to recognize when FireTV is playing a video on any of the loaded apps? Netflix, YT, Prime, Disney, and the like. My use case is that when you start playing something, Hubitat can automatically close the blinds, switch on the mood lights, and switch off the other brighter lights.

Has there been any work on getting the ADB authentication to survive a reboot? This works great except when my Hubitat reboots I need to “disconnect” and reconnect, and then android tv asks to reconnect, even though I check off the box to trust the server…

If you add “capability "Initialize"“ to the driver code, this fixes the issue I was having and it survives a reboot.

1 Like

Does not work for me - can you share your code?

Update: adding the above to the code only fixes the issue of having to disconnect and reconnect the driver. Now it automatically reconnects, but the handshake is still broken in the driver, so the android box will ask you to trust the computer every time you reboot the hubitat or the android box. Really a shame.

I believe I fixed the handshake and survives a reboot now.

Updated code:

Let me know how it goes.

1 Like

I just published an updated version which fixes the ADB Handshake, and also shows the current app playing.

You can get it in the link from my github repo.

Huge thank you to hhorigian for this driver! I just tested the latest fix and it is working perfectly. :+1: