π¦ ClawHub
Apple TV
by @lucakaufmann
Control Apple TV via pyatv. Use for play/pause, navigation, volume, launching apps, power control, and checking what's playing. Triggers on "Apple TV", "TV", "what's playing", "pause TV", "play TV", "turn off TV".
βοΈ Configuration
Config file at ~/clawd/config/appletv.json:
{
"name": "Living Room",
"id": "DEVICE_ID",
"ip": "192.168.x.x",
"credentials": {
"companion": "...",
"airplay": "..."
}
}
First-Time Pairing
# Find your Apple TV
atvremote scanPair Companion protocol (required)
atvremote --id --protocol companion pairPair AirPlay protocol (for media)
atvremote --id --protocol airplay pair
Save the credentials to the config file.
TERMINAL
clawhub install appletv