home-assistant.github.io/source/_components/media_player.firetv.markdown
2016-04-30 22:47:36 +02:00

1.9 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release
page FireTV Instructions how to integrate Music Player Daemon into Home Assistant. 2015-10-23 18:00 true false true true firetv.png Media Player 0.7.6

The firetv platform allows you to control a Amazon Fire TV/stick.

The python-firetv Python 2.x module with its helper script that exposes a HTTP server to fetch state and perform actions is used.

Steps to configure your Amazon Fire TV stick with Home Assistant:

  • Turn on ADB Debugging on your Amazon Fire TV:
    • From the main (Launcher) screen, select Settings.
    • Select System > Developer Options.
    • Select ADB Debugging.
  • Find Amazon Fire TV device IP:
    • From the main (Launcher) screen, select Settings.
    • Select System > About > Network.
  • pip install firetv[firetv-server] into a Python 2.x environment
    • If installed on Debian Jessie then the libssl-dev package is needed. Install it with apt-get install libssl-dev
  • firetv-server -d <fire tv device IP>:5555, background the process
  • Configure Home Assistant as follows:

To add FireTV to your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
media_player:
  platform: firetv
  host: localhost:5556
  device: livingroom-firetv
  name: My Amazon Fire TV

Configuration variables:

  • host Optional: Where firetv-server is running. Default is localhost:5556.
  • device Optional: The device ID, default is default.
  • name Optional: The friendly name of the device, default is 'Amazon Fire TV'.

Note that python-firetv has support for multiple Amazon Fire TV devices. If you have more than one configured, be sure to specify the device id used. Run `firetv-server -h` and/or view the source for complete capabilities.