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: 
Highlighted
Level 7

Having issues with some ECP commands

Jump to solution

Hi guys,

I am looking to control my Roku 3 from a home automation system and started by testing ECP commands from a browser on the LAN but am having mixed results:

Queries seem to work fine, e.g. http://<Roku IP address>:8060/query/apps 

returns a list of applications.

However, a keypress command like http://<Roku IP address>:8060/keypress/home

returns an http 400 error.

Is there anything additional that needs to be enabled on the device for this to work? Any help would be appreciated.

Thanks

Dennis

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Level 18

Re: Having issues with some ECP commands

Jump to solution

I don't know if you can do it from a browser.  Try using curl.

curl -d "" http://rokuip:8060/keypress/Home

View solution in original post

0 Kudos
2 Replies
Highlighted
Level 18

Re: Having issues with some ECP commands

Jump to solution

I don't know if you can do it from a browser.  Try using curl.

curl -d "" http://rokuip:8060/keypress/Home

View solution in original post

0 Kudos
Highlighted
Level 7

Re: Having issues with some ECP commands

Jump to solution

Thanks - that did the trick!

0 Kudos