Amazon FireTV Plugin

Questions and comments specific to a particular plugin should go here.
Post Reply
Posts: 5
Joined: Thu Sep 06, 2012 8:17 pm

Amazon FireTV Plugin

Post by kingfetty » Mon Mar 02, 2015 9:26 pm

I'm working on building this Amazon FireTV plugin

Requires ADB to work. Load the plugin, put in the IP address of the FireTV and the path to the ADB executable.

Commands you can send:
Directional Buttons, Select, Power, Back, Home, Menu.

You can also issue a CheckStatus which will fire an event telling if the AFTV is asleep or not. You could then use that event to trigger a power command to wake it up.

This is my first plugin and first dive into python, so any feedback would be greatly appreciated.

I currently use it to take the input button from my remote and switch my AVR to the AFTV then enable the command Tree for AFTV control and disabling the command tree for Kodi control. This allows me to use 1 remote to control both devices via EG.

Oh, you also have to enable Debugging in the FireTV: ... -tv-stick/
Version 0.2
(1.56 KiB) Downloaded 220 times

Experienced User
Posts: 320
Joined: Wed May 04, 2011 9:32 pm

Re: Amazon FireTV Plugin

Post by kkl » Fri Apr 03, 2020 10:13 pm

It looked like this was going to work great until I noticed it was missing the Play/Pause button.

Fortunately, it's only two sections of code so even I could figure it out.

class AFTVPlugin(eg.PluginBase):
def __init__(self):
and in the appropriate section add
class PLAY(eg.ActionBase):
def __call__(self):
Unfortunately, the whole process ends up being fairly sluggish.

Post Reply