Additionally, paste this code immediately after the opening tag:

Keyboard with REST API

This is a modified Android TV keyboard which also hosts a REST API listening for certain commands from network...

Free

Store review

This is a modified Android TV keyboard which also hosts a REST API listening for certain commands from network.

The main purpose of this application is to enable direct commands from smart home devices to your Android TV. Supported commands are listed below.

There is also a ready groovy device handler for easy integration with Samsung Smartthings platform at my github repository : "ilker-aktuna/androidTV_keyboard_withRestAPI"

Usage for Smartthings:
1. install this keyboard on your Android TV and select it as the active keyboard from settings. (input/keyboard)
2. create a device handler on your Smartthings platform with the groovy code from my github repository.
3. create a device with the new device type (created in step 2)
4. set "Device Network Id" in hex format (example "c0a8fe27:1388" for "192.168.254.39:5000")
5. set IP address of your new device (IP address of Android TV device)
6. set PORT of your new device as 5000
7. save your device and use through Smartthings

Usage for any other environment:
1. install this keyboard on your Android TV and select it as the active keyboard from settings. (input/keyboard)
2. you may call following commands using any HTTP client with this format:
http://IP_ADDRESS_OF_ANDROID_TV:5000/[command]

Supported Commands:
/sleep
/home
/back
/search
/up
/down
/left
/right
/center
/volumeup
/volumedown
/rewind
/ff
/playpause
/previous
/next

Last update

April 28, 2020

Read more