News:

There is now a ChangeLog page on the wiki
New developments are added at the bottom of the page.

Main Menu

Control Roku with http commands

Started by jmpal32, May 14, 2015, 09:50:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OklahomaGreyBeard

Sorry for the delay, long day... The changed channel xml worked perfectly. The scrolling works but the problem is the roku speeds up scrolling the longer you hold a button so after about 4-5 moves it's impossible to control where to stop scrolling at. It would need to scroll slower at a set pace to really be useful.

Myself it's probably something I'd never use, but I can see where for some others it would be useful as well as just having a complete set of controls for it.  My main purpose for the roku is really for Plex and the occasional Pandora. Although the new Youtube channel is also getting more use as of late.

PegLegTV

you can give this one a try, its using looping to scroll, it repeats the action every 500 milliseconds, if it works to fast or to slow just adjust the delay time

<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.1.4.5-->
<commandGroup open="True" name="Roku Scrolling " enabled="True" prefix="" priority="0" requiredProcess="" description="">
  <command id="808" name="Scroll direction (experimental) 2.0" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="True" loopDelay="500" loopMax="50" description="">
    <action>
      <cmdType>Scrape.Post</cmdType>
      <params>
        <param>http://YOUR_ROKU_IPADDRESS:8060/keypress/{1}</param>
        <param />
        <param />
        <param />
        <param>text/html</param>
      </params>
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Roku Scroll</phrase>
    <payloadList>Left, Right, Up, Down</payloadList>
  </command>
  <command id="890" name="Stop Scrolling (experimental) 2.0" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
    <action>
      <cmdType>VC.StopMacro</cmdType>
      <params />
      <cmdRepeat>1</cmdRepeat>
    </action>
    <phrase>Roku Stop Scrolling </phrase>
  </command>
</commandGroup>

JonPeyton

Feel free to produce more nifty codes for the ol Roku box buddies :)

jitterjames

IF you read the following guide you will be able to take what others have done and adapt and extend it yourself.  Otherwise you will probably be waiting for quite some time...

http://sdkdocs.roku.com/display/sdkdoc/External+Control+Guide

Haddood

could someone post (or attach) a full xml for all the Roku commands so I can added it to the gems :)
When Voice command gets tough, use hand gestures