Android TV control (Remote Protocol / Pairing Code)

MyURemote can control certain Android TV devices using a network-based remote protocol with secure pairing and remote key presses. This is not IR — commands are sent over the local network.


Overview

Android TV control in MyURemote works by establishing a secure connection to the Android TV device and sending key press commands (D-pad, back, home, play/pause, etc.).

On first use, the device typically requires a pairing step using a 6-character pairing code shown on the TV. After successful pairing, MyURemote can reconnect and send commands directly.

Important: not all “Android TVs” use the same control protocol

“Android TV” describes the operating system — not necessarily the remote control protocol. Some TVs run Android TV but still require a manufacturer-specific protocol.

  • Some Android TV boxes work with the Android TV remote protocol described on this page
  • Some branded TVs (example: certain Sony models) must be controlled via their own vendor protocol

Connection type (important)

  • Protocol: Android TV Remote (pairing code)
  • Transport: TLS / secure connection
  • Technology in MyURemote: IP

The first connection may fail until the device is paired. After pairing, MyURemote reconnects and becomes ready to send remote keys.

First-time use (read this carefully)

Make sure the Android TV device is powered on

For the first pairing, the Android TV device must be on and visible on the network. MyURemote will attempt to connect, then start the pairing procedure if needed.

If pairing is already in progress, MyURemote temporarily blocks new commands to keep the pairing flow stable.

Pairing code (what you will see)

When MyURemote connects to a compatible Android TV device for the first time, the TV will show a pairing code (typically 6 characters, often letters + digits).

What to do in MyURemote

  1. Start the connection to the Android TV device
  2. When the TV shows the code, enter it in MyURemote when prompted
  3. Confirm to complete pairing

After a successful pairing, MyURemote will reconnect automatically and you can start sending commands.

If you cancel the pairing prompt or enter a wrong code, just retry the connection and enter the new code shown on the TV.

Supported features and limitations

The Android TV remote protocol is focused on remote key presses. On the low-cost Android TV device used during development/testing, MyURemote could not reliably capture volume feedback (e.g., current volume level).

  • Works well: navigation (up/down/left/right), OK/enter, back, home, media keys (device dependent)
  • Power status: a limited “reachable / not reachable” type of power state is possible on some devices
  • Volume feedback: not available (device limitation; commands may still work)

Note: Android TV devices vary a lot. Some models expose extra feedback, others expose almost none. MyURemote will always prioritize reliable control over unreliable state reporting.

Power behavior

Power handling depends heavily on the device model and how it behaves on the network while in standby. Some devices stay partially reachable for a short time after power off, which can delay the visual “off” indication.

  • Power Off: usually works as a remote key (if supported by the device)
  • Power On: depends on device support and standby networking behavior
  • Status: often based on reachability rather than true internal power telemetry

Troubleshooting

Pairing code prompt never appears

  • Verify the configured IP address of the Android TV device
  • Make sure the Android TV and MyURemote are on the same network (same Wi-Fi / VLAN)
  • Some routers block device-to-device traffic (client isolation). Disable that if needed
  • Not all Android TV devices support this protocol — your TV may require a vendor-specific protocol

Pairing succeeds, but control still fails

  • Try disconnecting and reconnecting once after pairing
  • Reboot the Android TV device (cheap devices sometimes need a full restart)
  • If available, remove/forget previously paired remotes in the TV settings and pair again

Commands feel delayed or sometimes ignored

  • Check Wi-Fi signal quality (2.4 GHz congestion can cause latency)
  • Prefer Ethernet on the Android TV box if possible
  • Close heavy apps on the Android TV device (low-cost devices can lag under load)

No volume feedback

  • This is expected on some devices (especially low-cost Android TV boxes)
  • You can still use volume commands, but the current level may not be readable

Supported devices

  • Android TV devices that support the pairing code remote protocol
  • Many low-cost Android TV boxes (varies by firmware)
  • Some Android TV televisions, but many branded TVs require vendor-specific control

If your Android TV device does not respond using this method, try a manufacturer-specific integration (e.g., Sony, LG, Samsung, etc.) if available in your setup.