搜索

PythonReactSEOPDF
GitHub Skill

roku

CLI interface to control Roku devices via python-roku.

clawdbot☆ 230 仓库 Stars71 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

roku CLI

Control your Roku from the command line using python-roku.

Setup

  • CLI available at: https://github.com/gumadeiras/roku-cli
  • Install: pip3 install roku
  • Find your Roku IP: roku discover or check Roku settings > Network
  • Use --ip 192.168.x.x or set default in commands

You may need to change the remote control setting on the Roku:

Settings → System → Advanced System Settings → Control by Mobile Apps → Enable

Common commands

  • Discover: roku discover
  • Navigation: roku press home|back|left|right|up|down|select
  • Text entry: roku text "search query"
  • Apps: roku apps (list), roku launch Netflix (launch by name or ID)
  • Status: roku active (current app), roku info (device info)

Key options

  • --ip 192.168.x.x - Specify Roku IP (auto-discovers if omitted)
  • roku press --event keydown|keyup - Key hold/release events

Examples

# Find your Roku
roku discover

# Control playback
roku press play
roku press pause
roku press forward
roku press reverse

# Navigate menus
roku press right
roku press select
roku press back
roku press home

# Enter text (e.g., in search)
roku text "netflix"

# List and launch apps
roku apps
roku launch Hulu
roku launch 12  # by app ID

# Check what's playing
roku active

Notes

  • Auto-discovery works on local network; may need --timeout 10 for slow networks
  • App names are case-insensitive
  • Use app ID (from roku apps) if name lookup fails

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-30
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!