Using a serial I/O and a TCP/IP Client tied to the IP of the roku device.
For Keypresses:?
POST\x20/keypress/Home
The following are the key names that are recognized by ECP:
Home
Rev
Fwd
Play
Select
Left
Right
Down
Up
Back
InstantReplay
Info
Backspace
Search
Enter
Some Roku devices, such as Roku TVs, also support:
VolumeDown
VolumeMute
VolumeUp
PowerOff
Roku TV devices also support changing the channel when watching the TV tuner input:
? ChannelUp
? ChannelDown
Roku TV devices also support keys to set the current TV input UI:
InputTuner
InputHDMI1
InputHDMI2
InputHDMI3
InputHDMI4
InputAV1
For App Launching (Sunday Ticket used in this example):?
POST\x20/launch/63772?
?
Delimiter:?\x20HTTP/1.1\x0D\x0A\x0D\x0A
Most of this information is provided by Roku:?