Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
buaboo
Visitor

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
Channel Surfer

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
Visitor

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
Visitor

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