返回技能列表
appletv
由 lucakaufmann 提供
Apple Apps & Services—暂无评分
你的评分
简介
Control Apple TV via pyatv.
描述
该技能的功能
Controls Apple TV devices over the local network using the pyatv library. Supports playback, navigation, volume, power, and app launching through a command-line script. Requires one-time pairing with the device before use.
Lets an AI agent control Apple TV programmatically without relying on Shortcuts, HomeKit automations, or physical remotes.
何时使用
- Asking the agent what show is currently playing
- Pausing playback without picking up a remote
- Opening Netflix or YouTube by voice or chat
- Turning off the TV at the end of a session
- Checking Apple TV status from another room
示例工作流
输入
User asks: Open Netflix on the TV
智能体
- 1
Read device config from ~/clawd/config/appletv.json
- 2
Connect to Apple TV using stored IP and credentials
- 3
Run scripts/appletv.py app Netflix
- 4
Confirm the app launched by checking status
输出
Netflix opens on the Apple TV
前置要求
- pyatv installed via pipx with Python 3.11 or 3.13 (pipx install pyatv --python python3.11)
- Apple TV device ID, IP address, and pairing credentials saved to ~/clawd/config/appletv.json
安装
clawhub install lucakaufmann/appletv运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。