1
Enable Network Debugging on TV
On Android TV: Settings > Device Preferences > About > Tap "Build" 7 times. Go to Developer options > Enable "Network debugging". Note the TV IP address.
Lost your TV remote? Turn your computer or smartphone into a wireless Wi-Fi remote control with full D-Pad navigation, volume control, and fast text typing.
On Android TV: Settings > Device Preferences > About > Tap "Build" 7 times. Go to Developer options > Enable "Network debugging". Note the TV IP address.
In terminal or WebADB, connect to the TV IP address:
adb connect 192.168.1.150:5555
Open the "TV Remote" tab in WebADB Studio to use the visual remote control interface.
Or send direct keyevents from command line:
adb shell input keyevent 19 # UP
adb shell input keyevent 20 # DOWN
adb shell input keyevent 21 # LEFT
adb shell input keyevent 22 # RIGHT
adb shell input keyevent 23 # DPAD_CENTER / OK
adb shell input keyevent 24 # VOLUME_UP
adb shell input keyevent 25 # VOLUME_DOWN