Can you control Android TV with http requests?

by strvd

I'd like to send simple commands like "play/pause" or "launch Netflix" to my Android TV from a computer. Is it possible with HTTP requests?

wieuwzak

Adb, tasker, join, or a combination of all. It's no quick fix so expect to tinker a lot.

Source: I use all of them

videostorm1

Some TVs have their own API (Sony in particular). Others do not....

There is also device (IRUSB) that can add this ability. Just the device will give you TCP command capability. If you add the SplashTiles app/account it extends it to HTTP cloud API. For menu nav and the like that you want to be very fast use the TCP commands.

triplebeamz

Google webadb

lpuglia

generally speaking, high-end android TVs have some API that you can access using any http client. The API are meant to be used by the "official remote app" that you install on your phone. The only problem is to reverse engineer the API calls, once you do that you can do whatever it is allowed by the API.

here is an example for philips android tv: https://github.com/eslavnov/pylips