Roku devices can be easily controlled via an HTTP API. It is accessed by issuing a POST request
to http://{device_ip}:8060/keypress/{command}
.
[NOTE: it must be accessed by IP address only and not hostname due to how Roku handled addressing a DNS Rebinding vulenerability.][1]
Request URL Examples:
- http://192.168.1.123:8060/keypress/Home // Go to Roku home
- http://192.168.1.123:8060/keypress/LIT_A // Send 'a' character/key
- http://192.168.1.123:8060/keypress/LIT_%40 // Send ' ' character/key using URL encoding
Available Commands: