rokuControl Roku devices via CLI. Discovery, remote control, app launching, search, and HTTP bridge mode for real-time control.
Install via ClawdBot CLI:
clawdbot install gumadeiras/rokuInstall Roku CLI (npm):
Install Roku CLI (npm)Requires:
Fast TypeScript CLI for controlling Roku devices via the ECP API.
npm install -g roku-ts-cli@latest
# Discover devices and save an alias
roku discover --save livingroom --index 1
# Use the alias
roku --host livingroom device-info
roku --host livingroom apps
| Command | Description |
|---------|-------------|
| roku discover | Find Roku devices on network |
| roku --host | Get device info |
| roku --host | List installed apps |
| roku --host | Send remote key |
| roku --host | Type text |
| roku --host | Search content |
| roku --host | Launch app |
| roku --host | Interactive remote mode |
roku livingroom # interactive control
roku --host livingroom interactive # same thing
Use arrow keys, enter, escape for remote-like control.
Run a persistent HTTP bridge as a native OS service:
# Install and start the service
roku bridge install-service --port 19839 --token secret --host livingroom --user
roku bridge start --user
# Service management
roku bridge status --user
roku bridge stop --user
roku bridge uninstall --user
Send commands via HTTP:
# Send key
curl -X POST http://127.0.0.1:19839/key \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"key":"home"}'
# Type text
curl -X POST http://127.0.0.1:19839/text \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"text":"hello"}'
# Launch app
curl -X POST http://127.0.0.1:19839/launch \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"app":"plex"}'
# Health check
curl http://127.0.0.1:19839/health -H "Authorization: Bearer secret"
| Endpoint | Body |
|----------|------|
| POST /key | {"key": "home"} |
| POST /text | {"text": "hello"} |
| POST /search | {"title": "Stargate"} |
| POST /launch | {"app": "plex"} |
| GET /health | â |
| GET /health?deep=1 | Deep health check (probes Roku) |
# Save device alias
roku discover --save livingroom --index 1
roku alias set office 192.168.1.20
# Save app alias
roku alias set plex 13535
# List aliases
roku alias list
# Use aliases
roku --host livingroom launch plex
home, back, select, up, down, left, right, play, pause, rev, fwd, replay, info, power, volume_up, volume_down, mute
--user flag for user-space service (no sudo required)--token for authentication in bridge modehttps://github.com/gumadeiras/roku-cli
Generated Mar 1, 2026
Integrate Roku control into home automation systems for seamless media management. Users can schedule content playback, adjust volume, or launch apps via voice assistants or mobile apps, enhancing convenience in residential settings.
Deploy Roku devices in hotels or vacation rentals with centralized control for guests. Staff can remotely manage app access, troubleshoot issues, or provide personalized content recommendations, improving guest experience and operational efficiency.
Use Roku devices to power interactive kiosks or promotional screens in retail stores. Businesses can remotely update content, launch specific apps for demonstrations, and monitor device health, enabling dynamic advertising and customer engagement.
Incorporate Roku into classrooms or corporate training rooms for streamlined media presentations. Instructors can control playback, search educational content, and switch between apps without manual remote handling, supporting interactive learning sessions.
Offer a cloud-based platform that provides remote Roku management, analytics, and automation tools. Charge businesses a monthly fee for features like bulk device control, usage reports, and integration with existing IT systems, generating recurring revenue.
Partner with Roku or device manufacturers to bundle the CLI tool with smart TVs or streaming sticks. License the software for enterprise use, charging per device or through one-time fees for customized versions tailored to specific industries.
Provide professional services to businesses for integrating Roku control into their infrastructure. Offer setup, customization, and support packages, with revenue from hourly rates or project-based contracts for deployments in hospitality, retail, or home automation.
đŦ Integration Tip
Ensure Roku devices are on the same network as the CLI for discovery and control, and use the bridge service for persistent, scalable integrations in business environments.
Control Sonos speakers (discover/status/play/volume/group).
Control Philips Hue lights/scenes via the OpenHue CLI.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Control Home Assistant smart home devices, run automations, and receive webhook events. Use when controlling lights, switches, climate, scenes, scripts, or any HA entity. Supports bidirectional communication via REST API (outbound) and webhooks (inbound triggers from HA automations).
Use when integrating with Tesla's official Fleet API to read vehicle/energy device data or issue remote commands (e.g. start HVAC preconditioning, wake vehicle, charge controls). Covers onboarding (developer app registration, regions/base URLs), OAuth token flows (third-party + partner tokens, refresh rotation), required domain/public-key hosting, and using Tesla's official vehicle-command/tesla-http-proxy for signed vehicle commands.