Forum Discussion

BradC's avatar
BradC
Binge Watcher
7 years ago

how to turn off roku TV through the web?

Can anyone tell me how to turn off a roku TV via HTTP?
 
I've found the external control guide:  https://sdkdocs.roku.com/display/sdkdoc/External+Control+API    which doesn't seem to be up to date,  or working?   Or I'm just doing it wrong.
 
Is there an updated guide or method to do this?   I just want to turn off a roku TV remotely.   (basically a scheduled task to turn off the TV at the same time every day)
 

thanks!
 
Brad
  • Good to see you! I'm not sure but I think I remember something about not being able to do that. :?

    Have you been successful doing other commands?
  • renojim's avatar
    renojim
    Community Streaming Expert
    I don't know about ECP, but this works (in Linux):
    echo press \# | telnet 192.168.0.121 8080

    Of course, replace 192.168.0.121 with your Roku's IP address.

    -JT
  • BradC's avatar
    BradC
    Binge Watcher
    HIya Komag!  I've only been able to do read type commands, like system info and such.  no control commands seem to work for me.
     
    Thanks renojim,   I'll give that a try tomorrow.
  • BradC's avatar
    BradC
    Binge Watcher
    turns out the ECP worked fine,  I wasn't formatting my request properly.  my fault.
     
    thanks for the assistance.
     
  • I'll have to remember that. What is the command?