تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

appletv

بواسطة lucakaufmann

Apple Apps & Services
2.0kالتنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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. 1

    Read device config from ~/clawd/config/appletv.json

  2. 2

    Connect to Apple TV using stored IP and credentials

  3. 3

    Run scripts/appletv.py app Netflix

  4. 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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط