How the heck do I control this thing? ;-)

joeaug
Posts: 42
Joined: Sat Apr 13, 2019 6:54 am

How the heck do I control this thing? ;-)

Post by joeaug »

I am a newbie to Indigo, but not to home automation, Roku network control, or scripting, but I must be missing something here???

I got the latest version of the plug-in working, but how do I script for this plug-in? Where can I find a list of the objects and actions available to me when writing a script? For example, what is the rewind button officially named when writing a script?

Thanks in advance for your patience with my newness !
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: How the heck do I control this thing? ;-)

Post by RogueProeliator »

Although we could work out the scripting to call actions directly, you can normally accomplish what you want through Action Groups or, if creating a control page, actions on those.

I apologize if you already know this, but since you are new to Indigo, I'll walk you through creating a Roku action.
* Create a new Action Group
* Add an action Device -> Roku Network Remote Control -> Send button-pressed command to Roku.

This should pop up a dialog of action options and you can select which device and then edit the action settings to select which button. NOTE: you will need to make sure you defined the Roku as an Indigo device first. Of course, can string those together with several actions in a row if needed.

If you really need scripting, I would suggest starting with the Wiki, it has a section on scripting plugin actions. Once familiar with that we could get the values required for various Roku actions.
https://wiki.indigodomo.com/doku.php?id ... g_tutorial
joeaug
Posts: 42
Joined: Sat Apr 13, 2019 6:54 am

Re: How the heck do I control this thing? ;-)

Post by joeaug »

Thanks so much! This answers my question for this and several other plug-ins! I gathered from reading some the other posts that there must be some area of Indigo where there were pop-up lists when creating a "script", but now this makes perfect sense! Thanks again!
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: How the heck do I control this thing? ;-)

Post by jay (support) »

If you haven't already, you really should read through the first 3 docs on the Indigo docs page - they will ground you in the terminology and basics of Indigo. Many (many) users use Indigo in complex ways and never actually write a line of code - it's all done though the UI. New users coming from other (even more techie) products often want to jump right into writing scripts - and find a steep learning curve and more difficult to develop solutions when the UI can do the same thing much faster.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Post Reply

Return to “Roku Network Remote”