Keyboard Shortcuts
Likes
Search
Andriod TV control
¿ªÔÆÌåÓýGood point ¨C true. ? Cheers, Thorsten ? Von: [email protected] <[email protected]> Im Auftrag von richard.k.mullins@... ? IRUSB or the various others will work to control the TV, but you wont be able to control power or input shifts. Also, the IRUSB will often "wake" TV's up that have been powered off, so you are likely better off with the github repo suggested earlier. |
No not really, I tried the github various methods, didn't work out. |
I have some progress with ADB, I managed to connect to my Andriod TV via ADB (Andriod Debug Bridge), that's easy.
?
Once connected, I managed to send remote control keystroke commands to the TV too.
?
adb shell input keyevent 3 (home)
adb shell input keyevent 22 (right key)
adb shell input keyevent 21 (left key)
... etc
?
Now how do I turn this shell commands into Crestron code? Any help will be very much appreciated! |
Currently connected via TCP/IP through port 5555 (ADB port) adb connect 192.168.18.64:5555 If connection is established, the TV will show that "Allow USB debugging?" message, currently I'm not getting such message, thus my connection was probably a failure still. |
Here is an idea. Connect to TV from your PC by using a Crestron processor as a TCP/IP relay/traffic sniffer (hopefully data isn't encrypted): Add TCP Server at :5555 Add TCP client to actual TV. Cross connect the TX-RX; RX-TX of the 2 devices Add some logic to connect TCP client to Android TV when TCP server gets a client connected. Connect your PC adb shell to the Crestron's TCP server and observe traffic in debugger. Hopefully the handshake will be visible there and you can duplicate that in your actual program. ? If this helps/works, please share full details about this project once complete (may be even upload your module). Thanks. |