Driver Details

Community

Roku Universal

By: Joe Liggero
Updated: Oct. 12, 2026
Download Driver Purchase License
Rating: 0.0 (0 ratings)
Log in to rate this driver

Local LAN driver for every Roku in the house — streamers and Roku TVs. Polls the on-Roku ECP API on port 8060 for live state (current app + icon, playback position, current input, power) and adds the Roku-TV-specific keys the stock community drivers miss: discrete Power On / Off, Volume Up / Down / Mute, Channel Up / Down, and HDMI / Tuner / AV input switching. 32 app slots and 32 channel slots drive tile pages; a live boolean matrix for the top 19 streaming services lights up state-aware tiles with no macro work.

What's included:
• Discrete Power On/Off, Volume, Channel, and HDMI/Tuner/AV keys
• 19 top-streamer booleans + foreground app + playback state
• 32 app slots and 32 channel slots for tile pages
• Smart commands: Launch by Name / ID / Deep Link, Send Text, Sequence
• Auto-bind keyboard page with live KP_BUFFER text feedback
• Local LAN only — no cloud, no pairing, no Roku account

Licensing: 120-minute free trial built into the driver. Per-processor MAC-bound license for $49 USD one-time, available at https://customcontroldrivers.com/drivers/roku-universal

Roku Universal

v2.3 - Custom Control Drivers LLC

One driver for every Roku in the house. Works on streamers (Roku Ultra, Streaming Stick, Express) and Roku TVs (TCL, Insignia, Hisense, ONN). Includes the Roku TV keys: Power On / Power Off, Volume Up / Down / Mute, Channel Up / Down, and HDMI / Tuner / AV input switching. Live state feedback (current app, app icon, playing state, playback position) updates every 1-10 seconds via Roku's local ECP HTTP API on port 8060. No cloud account, no pairing - just the Roku's LAN IP.

What's New in v2.2

v2.2 is a reliability update. Every command, variable and event name is unchanged, so existing projects and license keys keep working. Update the driver in your project and send the project to the processor.

· Buttons recover on their own after the Roku reboots or drops off the network. Before v2.2, a command the Roku accepted but never answered could leave every later button stuck until the project was sent again. Now, if the Roku does not answer a command within 10 seconds, the driver closes that connection, discards any commands that were waiting behind it (so they never fire late), reports it in Last Error, and the next button press goes out on a fresh connection. A button pressed while the Roku is refusing connections is discarded, never sent late. Status polling recovers the same way.

One failing status request no longer drops the connection. If, once connected, the Roku keeps failing one kind of status request while answering the others, the driver skips that request, keeps the rest of the feedback updating, and names the problem in Last Error. Connection State goes false when the Roku stops answering, or when it has refused every status request for about two minutes, the same as when the driver starts against a Roku that refuses.

No false events from slow replies. Each status reply is matched to the question that asked for it, so a slow reply can no longer be read as the wrong thing (for example, a Roku TV in standby briefly reporting Power On).

Events fire on real changes only. Power, App and Playback events no longer fire just because the driver started or a project was sent. If you relied on OnPowerOn, OnAppChanged or OnPlay running at every project download, trigger that macro another way.

Refresh State, Refresh Apps and Refresh Icons work again, and state updates about half a second after each command instead of waiting for the next poll.

Typing keeps repeated letters. On a slow Roku, a word like "google" could arrive as "gogle". Fixed. Holding Volume Up / Down still stops promptly when released.

Power Toggle sends the right key when pressed twice in a row, even while the TV is still reporting its old power state.

App N Active stays true for the whole time that app is running (it used to blink off once a minute).

YouTube vs YouTube TV and Max vs Cinemax no longer light each other's On... variables.

Channel Launch now sends the channel number in all three forms Home Assistant's Roku integration uses (`ch`, `chan` and `lcn`).

Last Error clears itself once the problem is gone, and a refused command (HTTP 403) points you at the Roku setting that causes it.

Diagnostics: the driver writes a short status summary to the processor's System Log (see Diagnostics below). A problem that keeps repeating, such as the Roku being unplugged, is written to the error log once, not once a minute.

Debug console: now read-only diagnostics, off by default for new installs. It can no longer send commands to the Roku.

Clear Cache clears only the learned input labels.

Trial: a new driver version gives an evaluator a fresh 120-minute trial. When a trial ends, the driver stops talking to the Roku until a license key is entered.

Requirements

· Roku OS 7.5 or later (released 2017). All currently sold Rokus are well past this.

Control by mobile apps turned on at the Roku: Settings > System > Advanced system settings > Control by mobile apps. Roku's developer documentation states that on Roku OS 14.1 and later this must be enabled for the Roku to accept keypresses and to serve app icons. If the Roku refuses a command, the driver's Last Error names this setting.

RTI processor and the Roku on the same LAN subnet.

Static IP recommended for each Roku - set a DHCP reservation in your router so the IP doesn't change.

One driver instance per Roku device. Drag the driver in for each Roku you want to control.

Driver Configuration

Connection

· Roku IP Address - IPv4 address of the Roku, e.g. `192.168.1.50`. On the Roku, navigate to Settings > Network > About to find it.

Poll Interval - how often to refresh live state. 3 seconds is the recommended default. Choose 1 or 2 seconds on Roku Ultra for snappy app-switch feedback. Choose 5 or 10 seconds on slower first-generation Roku TVs that take longer to respond.

Auto-Populate Apps - when True (default), blank App slots fill in from the apps installed on this Roku, in the order the Roku reports them. Set to False if you want the slot list to be exclusively what you typed.

App Names (slots 1 to 32)

For each slot, type either:

· The app name (e.g. `Netflix`, `Disney Plus`, `YouTube`) - case-insensitive, exact match first, then "contains" match.

The numeric Roku app ID (e.g. `12` for Netflix).

To see every app installed on a Roku, with its exact name and ID: on a computer on the same network, open a web browser and go to `http://<Roku IP address>:8060/query/apps` (for example `http://192.168.1.50:8060/query/apps`). The page lists one line per app, such as `<app id="12" ...>Netflix</app>`: the number in `id="..."` is the app ID and the text is the app name. Names vary between Rokus and app versions (for example `HBO Max`, `Disney Plus`, `Paramount Plus`), so copy them from this page rather than guessing.

Leave a slot blank to auto-fill from the Roku's installed app list (when Auto-Populate Apps is on). Slot 2 only appears once slot 1 is filled, slot 3 appears once slot 2 is filled, and so on - the configuration page reveals slots progressively to avoid clutter.

Each configured slot exposes the following variables (one set per slot, N = 1..32):

· `app_N_name` (string) - the human-readable app name as the Roku reports it

`app_N_icon` (image) - the live app icon URL fetched from the Roku

`app_N_id` (string) - the resolved numeric Roku app ID

`app_N_installed` (boolean) - true when the resolved app exists on this specific Roku

`app_N_active` (boolean) - true while this slot is the foreground app

Bind tile buttons on your Apps page:

· Button graphic = `App N Icon`

Button text = `App N Name`

Button highlight = `App N Active` (lights up the tile of whatever's currently running)

Button macro = `Commands > App Launch > [N] - <app name>`

Tuner Channels (slots 1 to 32) - Roku TVs only

For each channel slot, type:

· Channel N Name - display label (e.g. `ABC`, `CBS`, `KSDK`).

Channel N Number - the over-the-air digital channel number from the Roku Live TV guide (e.g. `2.1`, `5.1`).

Per-slot variables:

· `chan_N_name` (string)

`chan_N_number` (string)

`chan_N_configured` (boolean) - true when both name and number are filled

`chan_N_active` (boolean) - meant to be true when this slot is the currently tuned channel (Roku TV antenna input only; not verified on hardware)

Bind the tile macro to `Commands > Channel Launch > [N] - <channel name>`. Roku streamers (Ultra, Stick, Express) ignore Channel Launch - they have no tuner.

Licensing

· Licence Key (the field is spelled this way in Integration Designer) - leave blank during the 120-minute trial. After purchase, paste the license key from your purchase email here and send the project to the processor. The key is bound to this processor's MAC address.

Debug (advanced)

· Debug Level - Off / Low / Medium / High. Defaults to Low. Low writes the 5-minute status summary and connection changes to the System Log; higher levels add detail.

Debug Console Enabled - opens a read-only telnet diagnostics console (see below). Defaults to False for new installs.

Debug Console Port - 12506-12510. Defaults to 12509. Pick a different port for each driver that enables a console.

Commands

The driver exposes the following commands through the macro editor under Commands.

Transport (picker)

A single dropdown covers every Roku ECP key the driver supports. Use this for one-off bindings on navigation, transport, volume, channel, keypad, and power keys.

Choices: Up, Down, Left, Right, Select, Home, Rev, Fwd, Back, Play, InstantReplay, Info (*), Volume Down, Volume Up, Mute Toggle, Power Off, Power On, Channel Up, Channel Down, Keypad 0 through Keypad 9.

Source (picker)

Switches the active input on a Roku TV. Choices: Tuner, HDMI 1, HDMI 2, HDMI 3, HDMI 4, AV 1. Streamers ignore.

App Launch

Picker (1 to 32). Launches the app pinned to that slot.

Channel Launch

Picker (1 to 32). Tunes the Roku TV to the OTA channel pinned to that slot.

Volume

Top-level Volume Up and Volume Down commands with a 150 ms repeat rate (so holding the button ramps volume smoothly). Roku TVs only.

Smart Commands

· Go Home - top-level shortcut equivalent to pressing the Home key. Discoverable as its own function rather than a Transport picker choice.

Power Toggle - sends Power Off if the Roku is on and Power On if it is off. For one minute after a power command it goes by the command it just sent, because a Roku TV takes a few seconds to report its new power state.

Launch App By Name (string parameter) - launches an app by its human name. Case-insensitive exact match preferred, then substring match. Use this when you want to launch an app that isn't pinned to a configured slot.

Launch App By ID (string parameter) - launches an app by its numeric Roku app ID, bypassing the slot/name resolution. Find the IDs at `http://<Roku IP address>:8060/query/apps` (see App Names above).

Launch App With Deep Link (slot integer + content ID string) - opens an app to a specific piece of content. Pass the slot of the app and the content ID (e.g. Netflix title ID). The driver sends `?contentId=<id>`; whether a given app honors it is up to that app.

Launch Input By Name (string parameter) - resolves a friendly input name to its HDMI / Tuner / AV port. Matches user-given labels first (learned over time as inputs are visited), falls back to slug match (`HDMI1`, `Tuner`, `AV1`). Lets your "Apple TV" button work regardless of which HDMI port the customer plugged the Apple TV into.

Send Text (string parameter) - splits the input into characters and sends each one as a `Lit_<char>` keypress with an 80 ms gap. Useful for search bars and password fields.

Send Command Sequence (comma-separated string) - chain ECP keys and inline millisecond delays. Numeric tokens are delays. Example: `Home,800,Up,Up,Select,1500,Lit_n,Lit_e,Lit_t,Lit_f,Lit_l,Lit_i,Lit_x` launches Home, waits, navigates up twice, selects, waits, then types "netflix" into the search box. The driver leaves 80 ms after every key; a numeric token adds that many milliseconds on top (10 ms minimum, 30 seconds maximum).

Keyboard

A dedicated picker (the Keyboard function) with 42 choices: A through Z; Space, Period, Comma, Slash, Backslash, At Sign, Underscore, Hyphen, Apostrophe, Colon, Semicolon, Question and Exclamation; and Backspace, Enter and Search. Each choice carries a `KP_<char>` button tag that matches the standard ID11 keyboard-page template convention.

Auto-bind workflow - drop a keyboard template page into a Roku Universal source, run ID11's Auto-Program wizard on it, and every `KP_A` / `KP_B` / `KP_,` / `KP_BACK` / `KP_SPACE` / `KP_Enter` / etc. button binds to the right keypress automatically. Zero per-button macro dragging.

Live text feedback - the driver maintains a `KeyboardBuffer` variable (carrying button tag `KP_BUFFER`) that updates in real time as the user types. Letters append, Backspace pops the last character, Enter and Search clear the buffer. Drop the standard `<KP_BUFFER>` text element on your keyboard page and it auto-binds via the same Auto-Program pass.

Shift / case mode - default sends UPPERCASE letters (matching the panel's button labels). The `Toggle Shift` command (auto-bound to any `KP_SHIFT`-tagged button) flips the case mode; letters typed afterward come out lowercase until toggled back. The `KeyboardShifted` boolean variable exposes the current state for binding to an optional shift-indicator graphic. Punctuation, digits, and special keys (Backspace / Enter / Space) pass through unchanged regardless of shift state.

Which apps accept typing - typed letters reach an app only when that app accepts text from Roku's remote-control interface. In our testing typing worked in Hulu, YouTube, Netflix, Apple TV and Paramount+. It did not work in the Prime Video search screen, and Roku's own phone app keyboard did not work there either.

Enter vs Search - use Enter to submit what you typed into a search box.

Clear Keyboard Buffer - explicit buffer-wipe command for "Cancel Search" or page-leave macros. The buffer also auto-clears on Enter and Search keypresses; this command is for the cases where neither has fired and you want a clean field anyway.

KP_CTRL - intentionally unbound. Roku ECP has no concept of control or alt modifiers; those buttons can stay decorative or be removed from your keyboard page.

Driver System Commands

· Force Reconnect - closes both connections to the Roku, discards any commands that were waiting, and starts polling again from the top.

Refresh State - re-reads the current app and playback state right away.

Refresh Apps - re-reads the installed-apps list (and with it the app slots and icons).

Refresh Icons - same as Refresh Apps; icon URLs come from the apps list.

Clear Cache - forgets the learned HDMI / input labels. It does not affect licensing.

Live State Feedback

The driver polls four Roku ECP endpoints in rotation:

| Endpoint | Refreshes |

|---|---|

| `/query/device-info` | Power state, model, serial, software version, WiFi signal |

| `/query/apps` | Installed apps list (drives slot resolution and icons) |

| `/query/active-app` | Current foreground app + TV input label |

| `/query/media-player` | Playback state + position / duration / progress |

The variables below populate at runtime and are ready for direct UI binding.

Driver Status

· `ConnectionState` (boolean) - true while the Roku is answering.

`LastError` (string) - the current problem, or empty when healthy. Connection and command errors clear themselves once the problem is gone.

`DriverVersion` (string) - driver version.

`LastPollText` (string) - clock time of the last successful poll, e.g. `9:42:17 AM`.

`IdleSeconds` (integer) - seconds since the last observed activity. Resets on any command send, power change, app change, or playback state change. Useful for screensaver / auto-off logic.

Licensing

· `LicenseValid` (boolean) - true when a valid license is loaded OR the trial timer hasn't expired.

`LicenseStatusText` (string) - human-readable status, e.g. `Trial: 87 min remaining` or `Licensed`.

`TrialMinutesRemaining` (integer) - minutes left in the trial period.

Roku Identity + Power

· `modelName` (string) - e.g. `Streaming Stick 4K`.

`ModelNumber` (string) - Roku internal model number.

`SerialNumber` (string) - hardware serial number.

`userGivenName` (string) - the name the customer gave the Roku in the Roku app.

`deviceLocation` (string) - the room/location the customer set.

`IsTV` (boolean) - true when this Roku is a Roku TV (vs a streamer).

`SoftwareVersion` (string) - e.g. `13.0.0 build 1234`.

`WiFiSignal` (string) - the signal category where the Roku reports one, otherwise the network type (for example `wifi` or `ethernet`).

`powerState` (boolean) - true when the Roku is on.

`PowerOn` (boolean) - paired with `powerState`. Bind directly to a "powered" indicator.

`PowerOff` (boolean) - inverse of `PowerOn`. Bind directly to a "standby" indicator.

Playback

· `playingState` (string) - `Playing`, `Paused`, `Buffering`, `Stopped`, or empty.

`IsPlaying` (boolean)

`IsPaused` (boolean)

`IsStopped` (boolean)

`IsBuffering` (boolean)

`MediaPositionSeconds` (integer) - current playback position. Many apps do not report it; it then reads 0.

`MediaDurationSeconds` (integer) - total duration of the current show.

`MediaProgressPercent` (integer 0-100) - derived. Bind to a progress bar slider.

Active App

· `currAppName` (string) - name of the current foreground app.

`currAppIcon` (image) - live URL for the current app's icon.

`CurrentAppSlot` (integer) - which configured app slot is active right now (0 if none).

`OnHomeScreen` (boolean) - true when the user is on the Roku home screen.

`OnTVInput` (boolean) - true when the foreground is a TV input (Tuner / HDMI / AV).

Top streamer booleans (set true when the foreground app's name matches, case-insensitive). At most one is true at a time: YouTube and YouTube TV are told apart, and Max matches only as a whole word (so Cinemax does not light it). None is true on the home screen, a TV input, or an app not on this list:

· `OnNetflix`, `OnYouTube`, `OnYouTubeTV`, `OnPrime`, `OnDisneyPlus`, `OnHulu`, `OnAppleTV`, `OnMax`, `OnPeacock`, `OnParamount`, `OnSpotify`, `OnPandora`, `OnPlex`, `OnESPN`, `OnPlutoTV`, `OnTubi`, `OnFubo`, `OnSling`, `OnTheRokuChannel`.

Inputs (Roku TV)

· `IsTuner`, `IsHDMI1`, `IsHDMI2`, `IsHDMI3`, `IsHDMI4`, `IsAV1` (boolean each) - true when that input is the foreground.

`Tuner_Label`, `HDMI1_Label`, `HDMI2_Label`, `HDMI3_Label`, `HDMI4_Label`, `AV1_Label` (string each) - user-friendly labels the customer set on the Roku TV ("Apple TV", "Game Console"). Populated as the integrator or customer visits each input - the driver learns the label and keeps it across restarts.

OTA Channel

These apply only to a Roku TV watching its antenna (tuner) input, and have not been verified on hardware.

· `currChanName` (string) - current OTA channel name when on the tuner input.

`currChanProgram` (string) - reserved. Currently blank.

`CurrentChannelSlot` (integer) - which configured channel slot is currently tuned (0 if none).

Last Command Observability

· `LastCommandSent` (string) - the most recent ECP command the driver dispatched (e.g. `keypress Home`, `launch 12?contentId=80049832`).

`LastCommandResult` (string) - the result of that command (e.g. `ok: HTTP/1.1 200 OK`, `error: HTTP/1.1 503 Service Unavailable`, `error: timeout`). Shows `pending` between dispatch and response.

`LastCommandTimestamp` (string) - clock time when the command was sent.

Keyboard

· `KeyboardBuffer` (string, button tag `KP_BUFFER`) - running text of what the user has typed via the on-panel keyboard. Letters append, Backspace pops, Enter / Search clear. Auto-binds to the standard `<KP_BUFFER>` text element on ID11 keyboard-page templates.

`KeyboardShifted` (boolean) - current case mode. False (default) = letters typed are UPPERCASE. True = lowercase. Toggle via the `Toggle Shift` command (auto-bound to `KP_SHIFT` buttons). Bind to an indicator graphic if you want a visual shift-state cue.

Events

The driver signals the following events. Hook macros to any of them under the System Events tab. Power, App and Playback events fire on real changes only, never just because the driver started or a project was sent.

Connection

· `OnConnected` - the Roku is answering again (or for the first time).

`OnDisconnected` - lost contact with the Roku.

`OnConnectFailed` - the Roku could not be reached. Fires once per outage.

`OnAPIError` - the Roku refused a command (non-2xx response).

Licensing

· `OnLicenseValid` - license verified successfully (or trial running).

`OnLicenseInvalid` - license missing, malformed, or expired.

`OnTrialExpiring` - trial has under 10 minutes remaining.

`OnTrialExpired` - trial counter hit zero. The driver refuses all commands and stops polling the Roku until a license is entered.

Power

· `OnPowerOn` - Roku changed from off to on.

`OnPowerOff` - Roku changed from on to off.

App

· `OnAppChanged` - foreground app changed.

`OnReturnedHome` - foreground returned to the Home screen.

`OnEnteredTVInput` - the foreground changed to a TV input (Tuner / HDMI / AV).

Playback

· `OnPlay` - media started playing.

`OnPause` - media paused.

`OnStop` - media stopped or nothing is loaded.

`OnBuffering` - media is buffering.

Auto-Reconnect

When the Roku stops answering (network outage, Roku reboot, router restart), the driver retries with a growing delay (3 s, 10 s, 30 s, then every 60 s) and reconnects as soon as the Roku answers again. OnDisconnected fires when contact is lost and OnConnected when it resumes.

A request the Roku accepts but never answers is given up after 5 seconds (status) or 10 seconds (commands). The driver then closes that connection and starts a fresh one, and commands that were waiting behind it are discarded rather than sent late. If commands keep timing out, the driver resets both connections by itself.

Diagnostics

With Debug Level set to Low or higher, the driver writes a short status summary to the processor's System Log (XP Diagnostics > System Log) every minute for the first five minutes after startup, then every 5 minutes, whether or not the Roku is connected. It shows the connection state, the Roku's IP and model, the current app, command results, the license state, and a build line such as `build: v2.2 iter=1 channel=storefront`. The build line is written at every Debug Level, including Off. When contacting support, save the System Log and include a few of these lines.

To see these lines: open XP Diagnostics (it takes about a minute to start after the processor boots), go to SYSTEM LOG, and in the Log Levels section below the log set this driver's dropdown to Messages (the default is None, which hides them). Then use Save as Text to send us the log.

Real faults (a refused command, the Roku not answering) are also written to the System Log's error channel regardless of Debug Level.

Debug Console

When Debug Console Enabled is True, the driver opens a read-only telnet diagnostics console on the configured port (default 12509). Connect from a terminal:

```

telnet <processor-ip> 12509

```

Available commands:

· `help` - list commands

`state` - driver state snapshot (IP, connected, power, app + slot, input, playing state, idle, last command + result)

`apps` - installed apps + their Roku IDs, then configured slot resolution

`poll` / `force-reconnect` - same as the Force Reconnect command (needs a valid license)

`refresh-apps` - same as the Refresh Apps command (needs a valid license)

`license` - license / trial state, build line and processor MAC

`config` - active configuration (the license key is masked)

`log <off|low|med|high>` - set the debug level until the next restart

`quit` / `exit` - close the session

The console cannot send commands to the Roku or change stored data.

Licensing

· Trial: every driver instance runs for 120 cumulative minutes of real runtime without a license key. The trial counter only advances while the driver is running on a processor. A new version of the driver gives a fresh 120-minute trial so it can be evaluated. When the trial ends, the driver refuses commands and stops polling the Roku until a license key is entered.

Per-Processor License: each license key is bound to one RTI XP processor's MAC address. One license per processor.

Purchase: buy a license at `https://customcontroldrivers.com/drivers/roku-universal/`. After payment, the license key is emailed to you; paste it into the Licence Key configuration field and send the project to the processor. The driver checks the key when it starts.

Migration: if you replace the processor, contact `support@customcontroldrivers.com` for a free license reset (up to two per year per customer).

Refund window: see the storefront EULA. Refund requests must be submitted within 14 days of purchase.

Support and Feature Requests

· Storefront and account: `https://customcontroldrivers.com/account`

Email: `support@customcontroldrivers.com`

Driver suggestions / new device requests: `https://customcontroldrivers.com/suggest`

Terms of Service

All drivers are provided as is without warranty of any kind. A 120-minute trial is included so you can verify compatibility with your hardware before purchasing. Do not purchase a license if you have not tested the driver on your hardware. Full End User License Agreement, including warranty disclaimer, limitation of liability, and refund policy:

`https://customcontroldrivers.com/terms`

Copyright 2026 Custom Control Drivers LLC. All rights reserved.

120-minute free trial is built into the driver — no signup required. The driver runs unlocked for 120 cumulative minutes of operation; after that, a valid licence key bound to your processor's MAC address is required to continue use.

Licences are $49 USD, one-time fee, per RTI XP processor. Purchase and instant licence-key delivery at https://customcontroldrivers.com/drivers/roku-universal

After purchase, paste the licence key into the driver's "Licence Key" configuration field. The driver verifies offline and unlocks immediately — no restart required.

Please log in to leave a comment.
Loading comments...