/python-androidtv

Communicate with an Android TV or Fire TV device via ADB over a network.

Primary LanguagePythonMIT LicenseMIT

python-androidtv

Build Status Coverage Status Downloads

Contributions Only

I no longer have the time to actively work on this project, and so all future development will be from pull requests submitted by the community. What I will do is:

  • review pull requests that pass all of the CI checks
  • publish new releases upon request

About

Documentation for this package can be found at https://androidtv.readthedocs.io.

androidtv is a Python package that provides state information and control of Android TV and Fire TV devices via ADB. This package is used by the Android TV integration in Home Assistant.

Installation

pip install androidtv

To utilize the async version of this code, you must install into a Python 3.7+ environment via:

pip install androidtv[async]

ADB Intents and Commands

A collection of useful intents and commands can be found here (credit: mcfrojd).

Acknowledgments

This is based on python-firetv by happyleavesaoc and the androidtv component for Home Assistant by a1ex4, and it depends on the Python packages adb-shell (which is based on python-adb) and pure-python-adb.