FireTV Integration - Direct IP (Not ADB/Bluetooth)

Hey everyone, i am releasing my new integration for FireTV, this one is different. it is direct IP based, not bluetooth or ADB so connection and commands are super fast, however: Please read carefully:
I will start off by stating: this is another blind integration - i do not own a Fire TV and have no ability to test anything i did or do, therefore i rely on all of you to provide information and test …

**Any and all features/bugs or issues will be helpful to get explicit steps, logs and timestamps from the logs. **

This is something that is completely undocumented nor supported by Amazon and FireTV line, i stumbled upon this and started adding buttons to the best of my ability, some buttons are not supported such as power commands or a media player info.

This integration is best suited when combined with the ADB integration for Android where you can use that to power on and use this integration for super fast commands .

Also, as mentioned i do not own a FireTV device and the model line is broad, some users tested this integration and confirmed working against Cube Gen3, Fire Stick but i have no idea which models this might work against - when users will report we can build a supported devices list.

  1. Make sure the device is up and running
  2. Make sure you see the TV (a pin will be displayed on the screen)
  3. Make sure port 8080 is not blocked
  4. Make sure the remote and the device are on the same network
  5. If your device is using a different port, find that out

During setup flow you will be asked to enter the device IP and if port is not 8080, a field to provide the port will be displayed.
Once you click next after a few seconds you should see a PIN displayed on your TV, put that PIN back into the integration setup flow on the second page and proceed with the integration. You should be getting a remote entity.

If there are tech folks here who know “HTTP Toolkit” we potentially can find out other buttons

new version is up which solved connection refused for certain models.

1 Like

new version is up

Hi M.a.S.e. - I wanted to chime in and say thanks for the Fire TV integration. I have a Cube and that I’ve been controlling from the R3 via bluetooth and it’s worked mostly ok, but occasionally run into cycling remote disconnect/connect messages that are annoying to get rid of, so was very excited about the IP control integration. I installed it (your instructions are great!) and set up a separate activity on the R3 to try it out. All works well, but I seem to have an issue with the fast forward button mapping, as it doesn’t respond. All the other buttons work. I can use the Dpad right to fast forward as a workaround, but wondered if there was something to check into with the actual fast forward command mapping if you have some time please? Thx!

can you share logs? but also, if dpad right work, you can also map that temporarely as FF. non of these APIs are published, so it was a pain to discover them (especially when not having a device to test against). come to discord, much easier to talk there

I own a Fire TV Stick and if i remember right used those commands:

Fast Forward: FAST_FORWARD

Rewind: REWIND

I have your integration added without using it inside an activity yet since your last version is out and since then the problem with “loosing pairing” seems to be gone.

Actually there was an software-update to version 2.8.1.

After that the integration again has lost it’s pairing.

Here’s the log-file: