RokuRemote help

RokuRemote is a web and Android remote for Roku devices, with private listening. Back to the RokuRemote home page or Bluefin605 home.

Quick start

  1. Make sure your Roku allows network control (see What you need).
  2. Get a proxy running on your home network: the desktop build on a computer that stays on, or an ESP32.
  3. Open the web app, or install the Android app.
  4. Add your Roku in Setup, by discovery or by IP address.
  5. Use the remote, launch apps, or start private listening.

What you need

  • A Roku with network control enabled. On newer Roku software the control interface can be restricted. If RokuRemote says it is limited, go to Settings > System > Advanced System Settings > Control by Mobile Apps > Network Access and set it to Enabled.
  • A proxy on the same network as the Roku. The remote cannot talk to a Roku directly. See below.
  • A browser, or an Android phone for the app.

The proxy

What it is, and why you need it

A Roku does not send CORS headers, so a web page cannot talk to it directly. Every request therefore goes from the app to a small proxy on your own network, and from the proxy to the Roku. The same proxy also finds Rokus on your network (SSDP discovery) and carries the private listening audio.

Browser or Android app → proxy on your network → your Roku.

The proxy is needed in every case. The hosted web app and the Android app both need one. Without a proxy you can look around the app but not control a real Roku.

There are two builds of the same proxy:

SettingDesktop proxyESP32 proxy
Runs onA PC, Mac or Pi on your networkAn always-on ESP32 on your network
Port8080 (--port)80, with the audio stream on 81
Serves the web appNoYes, the app is built into the firmware
NameThe address of the computerroku-proxy.local, or roku-proxy on routers that register DHCP hostnames

Desktop proxy (C++)

It needs CMake 3.20 or later and a C++17 compiler. From the RokuRemote repository:

cd proxy
cmake -B build
cmake --build build
./build/roku-proxy --port 8080

Leave it running on a computer that stays on. The desktop proxy does not serve the app, so open the app separately and point it at the proxy (see Telling the app where the proxy is).

ESP32 proxy

The ESP32 firmware runs the same proxy on a microcontroller: plug it in, connect it to Wi-Fi, and it is always available. It also serves the web app over plain HTTP, so you can open it straight from your phone.

  1. Flash the firmware. Either download the roku-proxy-esp32 artifact from the latest build on GitHub and flash it with esptool, or build it yourself with ESP-IDF v5.x. Published firmware images are listed at roku.bluefin605.com/versions.
  2. Set up Wi-Fi. On first boot the ESP32 prompts for your Wi-Fi name and password over the USB serial connection (115200 baud). They are saved and survive reboots.
  3. Check it. The serial output shows its IP and a line such as Roku proxy ready on http://roku-proxy.local:80.

The step-by-step guides, with the exact commands for each operating system, are in the repository:

The ESP32 only supports 2.4 GHz Wi-Fi, not 5 GHz.

Telling the app where the proxy is

By default the app looks for http://roku-proxy. If your proxy has another address (for example a desktop proxy at http://192.168.1.20:8080), open Proxy Settings on the Setup screen, type it into Proxy URL and press Save. Reset to Default goes back to http://roku-proxy. When you open the app from the ESP32 itself (http://roku-proxy/), the page and the proxy share an address and nothing needs setting.

For the ESP32, try the proxy address in this order: http://roku-proxy/, then http://roku-proxy.local/, then http://<device-ip>/.

Why not just use the hosted site? The hosted web app is loaded over HTTPS, while the proxy is plain HTTP, so a browser may block the calls as mixed content. Opening the app from the ESP32, or using the Android app, avoids that.

Install the Android app

The Android app wraps the web app. It exists because Chrome on Android only installs web apps from HTTPS sites, and the proxy is plain HTTP. It still needs a proxy on your network. It also keeps private listening running in the background, with a notification that has a Stop button.

  1. On your Android phone, open the site (or the ESP32-served app) and tap Download for Android on the setup screen, or go straight to roku.bluefin605.com/android/latest/roku-remote.apk.
  2. Allow your browser to install apps from this source when prompted.
  3. Open the downloaded file and install it.

When a new APK is needed, install it over the old one. Every published build is signed with the same key, so it updates in place. See Updates.

Add your Roku

Open the app and go to the Setup screen. The footer shows the version, and, in the Android app, the APK version as well.

The setup screen with a Discover Roku Devices button and cards for two saved Rokus, Living Room (active) and Bedroom, each with Use, Edit and Delete buttons, plus an Add Roku button.
  1. Press Discover Roku Devices to find Rokus on your network. This button only appears when the app can reach a proxy. Otherwise press Add Roku and type the Roku's IP address.
  2. Give it a name. You can also set an optional TV (type and IP address).
  3. Press Save. The app connects to the Roku first, then the TV, and shows any error on the card.

Each saved Roku appears as a card with its name, IP address and TV, and buttons to Use, Edit or Delete it. You can save several Rokus and switch between them from the dropdown in the header. The app opens straight to the apps screen.

Using the remote and apps launcher

The Apps screen searches your Roku's channels, and you launch one with a tap.

The Apps screen with a search box and a grid of channel tiles including Netflix, YouTube, Disney+, Spotify and Plex.

The remote has navigation buttons (Back, Home, Apps, Power), a directional pad with an OK button, playback, volume and mute, and a text box for typing into search fields. There is also a button to reboot the Roku. On a desktop browser the remote is a single centred column.

The RokuRemote phone screen for a Roku named Living Room: Back, Home, Apps and Power buttons, a directional pad with an OK button, playback, volume and mute controls, a text box, and a Private Listening button.

To change Roku, open the dropdown in the header and pick another saved Roku, or Manage Rokus to go to Setup.

Private listening

Private listening sends the Roku's audio to your phone, so you can listen on headphones while the TV stays quiet. The proxy receives the audio from the Roku and the app plays it, so a proxy must be running.

The Private Listening screen in its idle state, with a Start Listening button and an Audio Latency slider set to 150 ms.
  1. Press Private Listening on the remote.
  2. Press Start Listening. The status moves through connecting to streaming.
  3. Adjust Audio Latency (50 to 500 ms) if the sound is out of step with the picture.
  4. Press stop when you are done.

In the Android app it keeps running with the screen off, and its notification has a Stop button. In a browser, playback is held in a hidden audio element so it can survive the screen locking.

Updates

  • The web app is served from the hosted site, so it changes when the site does.
  • The Android app shows an Update button on the setup or remote screen when a new version of the app itself is available. Tapping it downloads and applies the update without a new APK.
  • If a change needs a newer APK, the button reads Download new APK instead. Install it over the old one.
  • The footer reads v<version> (app <APK version>), so you can see what you are running.
  • An APK from before updates were added cannot update itself. Install one fresh APK once, and later changes arrive in the app.

Troubleshooting

The Discover button is missing.
It only shows when the app can reach a proxy. Check that the proxy is running and that the Proxy URL in Proxy Settings is right. See Telling the app where the proxy is.
Private listening says “Audio proxy not found.”
Check the proxy settings on the Setup page and make sure the proxy is running.
The Roku says it is limited, or commands are refused.
Enable external control on the Roku: Settings > System > Advanced System Settings > Control by Mobile Apps > Network Access > Enabled.
“Couldn't reach” the Roku.
If the active Roku cannot be reached, Setup opens with a banner showing its name and IP address. Check the IP address, that the Roku is on, and that the proxy is on the same network as the Roku.
The hosted web app cannot reach the proxy.
The site is HTTPS and the proxy is plain HTTP, which a browser may block as mixed content. Open the app from the ESP32 (http://roku-proxy/) or use the Android app.
The Android app will not install.
Allow your browser to install apps from this source when prompted, then open the downloaded file again.
The ESP32 shows no serial prompt after flashing.
Press the EN/Reset button on the board.
The ESP32 board is not detected.
Check the USB cable (some are charge-only) and install the serial driver. On Windows, check the COM port in Device Manager.
The ESP32 will not connect to Wi-Fi.
It only supports 2.4 GHz networks, not 5 GHz. To re-enter credentials, hold the BOOT button for about 2 seconds at startup to clear the saved ones, then reboot.
roku-proxy does not resolve.
Try http://roku-proxy.local/, then the IP address shown in the serial output.

Still stuck? Open an issue on GitHub, or go back to the RokuRemote home page.