Forum Discussion

buaboo's avatar
buaboo
Visitor
16 years ago

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?

3 Replies

  • bcl's avatar
    bcl
    Channel Surfer
    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.