appleTV  

Developer: Karl's Plugins     Like this plugin? Show your appreciation!
Category: A/V and IR Equipment
Github: Github Repo
Assistance: Get help!   
Plugin ID: com.karlwachs.appleTV
Latest release: v1.1.14 released on June 12, 2021 (this release is only compatible with Indigo 2022.2 and earlier)
Release downloaded: 0 times
Requires: Indigo v7.0.2 thru v2022.2
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

connect to apple TVs and read info, status, dev type. create an indigo device

add states for playing xx title album etc

is build using https://github.com/postlund/pyatv to read the data from the apple devices

Release details
Released on: June 12, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

upgraded to the march 2021 version of pyatv install w: sudo pip3 install pyatv

or download the zipfile and

cd ~/Downloads/pyatv-master/setup.py sudo python3 setup.py install

if you get an error msg when you run the plugin: "ModuleNotFoundError: No module named 'pendulum'" you need to add in a terminal (or just install them anyway, should not harm) sudo pip3 install pendulum sudo pip3 install bidict
sudo pip3 install more_itertools
sudo pip3 install bitstruct

Release details
Released on: May 1, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. will now try to auto detect python3, will exit after 3 minutes if still not found / defined. during these 3 minutes you can setup python3 or set the path to python3 in config
  2. will show a detailed message in indigo log for each new apple device created
Release details
Released on: May 1, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

updated help texts to reflect: do not create apple tv devices manually, all done by the plugin automatically

Release details
Released on: May 1, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

fixed in Line 927 has error=

Release details
Released on: April 30, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

when python3 is not installed don't go to sleep in startup, but in concurrent loop that allows to set config

Release details
Released on: April 16, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. changed steup for default values in plugin.config
  2. added addition try except for new devices, in case of bad data return
  3. cosmetic changes in menus
  4. added print help to logfile in menu
  5. added check if python3 is properly installed
Release details
Released on: March 30, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. cosmetic changes in menus
  2. added print help to logfile in menu
  3. added check if python3 is properly installed
Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

1.added free text commands - you can send several commands in one eg 'turn_on delay=1000 play' 2.added print help menu command, gives a long list of how to install, how to use etc.

Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

internal changed atvscript to add mac, model, deep_sleep no need for atvremote to run (have dropped xxxCredentials)

Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

added print parameters and devices to logfile (un)ignore devices ie ignore certain ip numbers

Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

some cleanup of code

Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. fixed error=u'MRPCredentials' tuple index out of range
Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. added menu and actions (Send command to apple tv)
    down Press key down
    home Press key home
    home_hold Hold key home
    left Press key left
    menu Press key menu
    next Press key next
    pause Press key play
    play Press key play
    play_pause Toggle between play and pause
    previous Press key previous
    right Press key right
    select Press key select
    set_position Seek in the current playing media
    set_repeat Change repeat state
    set_shuffle Change shuffle mode to on or off
    skip_backward Skip backwards a time interval
    skip_forward Skip forward a time interval
    stop Press key stop
    suspend Suspend the device
    top_menu Go to main menu (long press menu)
    up Press key up
    volume_down Press key volume down
    volume_up Press key volume up
    wakeup Wake up the device
    power_state Return device power state
    turn_off Turn device off
    turn_on Turn device on
Release details
Released on: March 28, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. changed to continuous listening process for changes of playing xxx this is much more stable than the previous polling version
  2. added a lot of check in case something has an exception
    • delete a device, change the ip number
  3. added several menu explanations
Release details
Released on: March 27, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

fixed a config typos pathToPython3 instead of pythonPath

Release details
Released on: March 27, 2021
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release
  1. first version: will scan for apple tv devices every xx minutes will read play status of ided apple tv devices ever xx secs Configure in config:
    • path to python
    • time for scan and read sequences In device edit the IP number can be over written In menu a manual scan for new devices can be initated