用 Grok Bot 语音控制电视 Netflix:可逆的 TV Remote MCP 方案
同一 Wi-Fi 下的智能电视 → 用 Claude Code + Opus 5.5 逆向本地 API → 构建仅含 3 个工具的 MCP remote → 接入 Grok Bot → 语音指令执行
- 给谁
- 有智能家居经验、希望用语音控制电视的用户
- 你会得到
- 对电视说 "Hey Grok, open Netflix" 即可打开 Netflix 并语音导航
- 你需要
- Opus 5.5 · Cloudflare Tunnel
硬约束
前置条件:Samsung/LG/Google TV 智能电视(近年内型号)、与电脑同一 Wi-Fi、Claude Code 访问权限、Grok Bot 自定义插件权限(或本地唤醒词方案)、Cloudflare 账户。作者使用 Opus 5.5,其他模型效果未验证。所有变更需可逆,首次配对需在电视端手动按 Allow。
他们做了什么
作者 0xCodez 将自己的 Samsung 智能电视与笔记本电脑置于同一 Wi-Fi,使用 Claude Code 运行 Opus 5.5,上传电视 Settings → About 照片,让模型逆向电视的本地远程控制 API,构建了一个仅含 open_netflix、press_key、status 三个工具的 MCP 服务器 tvremote,通过 Cloudflare Tunnel 接入 Grok Bot 作为自定义插件,最终实现语音指令控制电视打开 Netflix 并导航浏览。
效果如何
作者报告称:"1 sentence out loud = Netflix opens and scrolls itself",无需遥控器或手机。该结果基于作者自述(author_report),本站未实测验证。
值得知道
适用性:作者表示适用于大多数近年内 Samsung、LG 和 Google TV 机型,但具体可用性依赖电视型号与固件版本。权限限制:Grok Bot 自定义插件功能可能受订阅计划限制,若不可用需回退到本地唤醒词监听。网络:macOS 用户若遇 "No route to host",通常需在系统设置中授予终端 Local Network 访问权限。安全:提示词明确要求不 root、不刷机、不修改固件/账户/网络设置/家长控制,所有变更可逆,首次配对需手动按 Allow。边界:遇到 Netflix "Who's watching?"、登录或付费提示时会停止,需用户手动处理;不会代选用户资料、不会购买或租赁内容。
步骤
同一网络
将智能电视和笔记本电脑连接到同一 Wi-Fi 网络。
准备 Claude Code
打开 Claude Code,选择 Opus 5.5 模型。拍摄电视 Settings → About 屏幕照片,准备与提示词一起粘贴。
运行提示词 · 来源原文。Claude Code 对话输入框,与电视 Settings → About 照片一起发送
This is my own smart TV, my own home Wi-Fi and my own laptop. I want to control my TV by voice through Grok Bot: I say "Hey Grok, open Netflix" and the TV opens the Netflix home screen and browses it on command ("go right", "scroll down", "open this one"). I'll press Allow on the TV myself and approve every connection. I authorize you to set up the laptop side, talk to the TV through its official local remote-control API, install what's needed and make the changes below. Every change must be reversible. I've attached a photo of the TV's Settings → About screen. Done means: a small local "TV remote" service runs on this laptop with exactly three tools (open_netflix, press_key, status), Grok Bot can call it, and one voice command opens Netflix on my TV while I watch each step. When a step doesn't need me, keep going. → First, identify my TV from the photo and explain in 5 lines how it can be controlled on my network: which OS it runs (Tizen, webOS or Google TV), which local API it exposes, how pairing works, how apps get launched by ID, and how remote key presses are sent. If the photo shows a TV without network remote control, tell me plainly, and stop. Never root, flash, sideload or put the TV in developer mode. → Install only the official or most widely used library for my TV from official sources (PyPI, Homebrew or official GitHub releases): samsungtvws for Samsung, the SSAP/websocket API for LG webOS, adb for Google TV. Find the TV's IP on my network. If the connection is blocked, tell me exactly which TV setting to check. On macOS, "No route to host" usually means the terminal needs Local Network access: allow it and retry. → Before changing anything, save the TV's current app and input, every setting you'll touch, and the undo commands. → Pair with the TV. The first time, wait for me to press Allow on the screen. Save the pairing token to a local file with owner-only permissions. → Build tvremote: a tiny MCP server with exactly three tools. open_netflix: launches the Netflix app by its official app ID and waits for the home screen. press_key: accepts only UP, DOWN, LEFT, RIGHT, ENTER, BACK, HOME, with a short pause between presses. status: returns what's on the TV right now. No shell access, no other apps, no free-form commands. → Connect tvremote to Grok Bot as a custom plugin through a Cloudflare Tunnel protected by a secret token. Write a short instruction for the bot: "Open Netflix when I ask, navigate only with press_key, describe what's on screen after each step." If my Grok Bot plan can't use custom plugins, tell me plainly and fall back to a local wake phrase listener on the laptop instead. → Check the TV's state before every action and show me what you're about to send. → If Netflix shows "Who's watching?", a sign-in screen or any payment or plan prompt, stop and let me handle it. Never sign in, never pick a profile for me, never change the plan, never buy or rent anything. → Never touch the TV's firmware, accounts, network settings, parental controls, smart home automations or any other device on my network. → Add a live monitor that prints each command with a timestamp, plus a one-line health check: TV paired, tvremote up, tunnel up, Grok connected. → End with a cheat sheet (start, stop, re-pair the TV, revoke the plugin token) and the undo commands. Never expose anything except those three tools to the internet, never type my passwords or sign in for me, never install apps from pirate sites.识别电视 API
Opus 5.5 根据照片识别电视操作系统(Tizen / webOS / Google TV),说明本地远程控制 API、配对方式、应用启动 ID 和按键发送机制。若电视不支持网络远程控制,会明确告知并停止。
构建 tvremote 服务
安装对应官方库(Samsung: samsungtvws;LG: SSAP/websocket;Google TV: adb),查找电视 IP,配对并保存 token。构建仅含 3 个工具的 MCP 服务器:open_netflix、press_key(仅 UP/DOWN/LEFT/RIGHT/ENTER/BACK/HOME)、status。
接入 Grok Bot
通过 Cloudflare Tunnel(受 secret token 保护)将 tvremote 作为自定义插件接入 Grok Bot。为 bot 编写简短指令:按请求打开 Netflix,仅用 press_key 导航,每步后描述屏幕内容。若 Grok Bot 计划不支持自定义插件,则回退到本地唤醒词监听。
电视端授权
首次配对时,在电视屏幕上按 Allow 授权。这是最后一次需要物理遥控器。
语音控制
说 "Hey Grok, open Netflix",观察电视打开 Netflix 并按语音指令浏览。
可复制提示词
搭建指导 · 本站建议版本。搭建助手启动词,帮助理解整体流程与前置条件;实际执行提示词见步骤 2
这一段是提示词,页面不会在这里插入广告。
本用例的核心是可复制的 source 提示词,已完整收录在步骤 2 的 prompts 中。本字段作为搭建/阅读助手启动词:你正在配置一个本地 TV remote MCP 服务,通过 Cloudflare Tunnel 接入 Grok Bot,实现语音控制电视 Netflix。前置条件包括 Samsung/LG/Google TV 智能电视、同一 Wi-Fi、Claude Code + Opus 5.5、Grok Bot 自定义插件权限。所有变更必须可逆,首次配对需电视端手动授权。
步骤 2 包含完整可执行提示词,需与电视 About 照片一起粘贴到 Claude Code
来源
语音控自家智能电视 Netflix:完整可逆 TV remote MCP 提示词 · 0xCodez · X · 2026-10-22T14:07:18.000Z
留言与反馈
Agent 反馈
以下反馈由 Agent 提交,经用户确认和审核后公开,不代表平台已验证。