Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
buaboo
Level 7

Execute Telnet Remote control commands in HTML or Python

For a particular caching reason, I find myself needing to execute a telnet command to Roku to have it pretend I just pressed left and right on my remote control. I know you can control the roku via telnet, but I am wondering what HTML or python code do I need to write in order for this telneting to occur when I press a button on a webpage?
0 Kudos
3 REPLIES 3\
bcl
Level 7

Re: Execute Telnet Remote control commands in HTML or Python

It doesn't actually need to be a telnet connection. A basic socket connection should work just fine. HTML cannot do it, but if you have PHP on your web server it can, as well as Python.
0 Kudos
ErlyD
Level 7

Re: Execute Telnet Remote control commands in HTML or Python

Can HTML 5 create a basic socket?

I have found this link: http://dev.w3.org/html5/websockets/

Has anyone tried this?
0 Kudos
buaboo
Level 7

Re: Execute Telnet Remote control commands in HTML or Python

Thank you for the response.. I was able to figure it our using Python. thank you

"ErlyD" wrote:
Can HTML 5 create a basic socket?

I have found this link: http://dev.w3.org/html5/websockets/

Has anyone tried this?
0 Kudos