maxileith / homebridge-appletv-enhanced

Homebridge plugin that exposes Apple TVs with features that should be native to Apple HomeKit.
MIT License
194 stars 3 forks source link

Additional URI #120

Closed DSimeone1989 closed 11 months ago

DSimeone1989 commented 11 months ago

Current Situation

Dear Max, As you answered my question, the additional inputs showed up. I recreated venv and it worked. Unfortunately the AppleTV does not open those inputs. Therefore I enclosed the logs.

I am a noob if it comes to coding. What do I do wrong?

Thx.

Kind regards

Logs

[13/12/2023, 19:01:16] [Apple TV Enhanced] Python check: Pip is up-to-date
[13/12/2023, 19:01:17] [Apple TV Enhanced] Python check: Python requirements are not satisfied. Installing them now ...
[13/12/2023, 19:01:19] [Apple TV Enhanced] Python check: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Collecting aiohttp==3.9.1 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 1))
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Downloading aiohttp-3.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (7.4 kB)
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Requirement already satisfied: aiosignal==1.3.1 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 2)) (1.3.1)
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Requirement already satisfied: annotated-types==0.6.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 3)) (0.6.0)
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Requirement already satisfied: async-timeout==4.0.3 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 4)) (4.0.3)
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Requirement already satisfied: attrs==23.1.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 5)) (23.1.0)
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Requirement already satisfied: certifi==2023.11.17 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 6)) (2023.11.17)
[13/12/2023, 19:01:20] [Apple TV Enhanced] Python check: Requirement already satisfied: cffi==1.16.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 7)) (1.16.0)
[13/12/2023, 19:01:21] [Apple TV Enhanced] Python check: Collecting chacha20poly1305-reuseable==0.12.0 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 8))
[13/12/2023, 19:01:21] [Apple TV Enhanced] Python check: Downloading chacha20poly1305_reuseable-0.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (5.3 kB)
[13/12/2023, 19:01:21] [Apple TV Enhanced] Python check: Requirement already satisfied: charset-normalizer==3.3.2 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 9)) (3.3.2)
[13/12/2023, 19:01:21] [Apple TV Enhanced] Python check: Collecting cryptography==41.0.7 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 10))
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Downloading cryptography-41.0.7-cp37-abi3-manylinux_2_28_aarch64.whl.metadata (5.2 kB)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: frozenlist==1.4.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 11)) (1.4.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Collecting idna==3.6 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 12))
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Downloading https://www.piwheels.org/simple/idna/idna-3.6-py3-none-any.whl (61 kB)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 1.1 MB/s eta 0:00:00
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: ifaddr==0.2.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 13)) (0.2.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: mediafile==0.12.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 14)) (0.12.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: miniaudio==1.59 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 15)) (1.59)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: multidict==6.0.4 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 16)) (6.0.4)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: mutagen==1.47.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 17)) (1.47.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: protobuf==4.25.1 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 18)) (4.25.1)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: pyatv==0.14.4 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 19)) (0.14.4)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: pycparser==2.21 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 20)) (2.21)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: pydantic==2.5.2 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 21)) (2.5.2)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: pydantic_core==2.14.5 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 22)) (2.14.5)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: requests==2.31.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 23)) (2.31.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: six==1.16.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 24)) (1.16.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: srptools==1.0.1 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 25)) (1.0.1)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: tabulate==0.9.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 26)) (0.9.0)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Collecting typing_extensions==4.9.0 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 27))
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-4.9.0-py3-none-any.whl (32 kB)
[13/12/2023, 19:01:22] [Apple TV Enhanced] Python check: Requirement already satisfied: urllib3==2.1.0 in ./appletv-enhanced/.venv/lib/python3.11/site-packages (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 28)) (2.1.0)
[13/12/2023, 19:01:23] [Apple TV Enhanced] Python check: Collecting yarl==1.9.4 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 29))
[13/12/2023, 19:01:23] [Apple TV Enhanced] Python check: Downloading yarl-1.9.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (31 kB)
[13/12/2023, 19:01:24] [Apple TV Enhanced] Python check: Collecting zeroconf==0.128.4 (from -r /var/lib/homebridge/node_modules/homebridge-appletv-enhanced/requirements.txt (line 30))
[13/12/2023, 19:01:24] [Apple TV Enhanced] Python check: Downloading zeroconf-0.128.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (6.1 kB)
[13/12/2023, 19:01:25] [Apple TV Enhanced] Python check: Downloading aiohttp-3.9.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.3 MB)
[13/12/2023, 19:01:26] [Apple TV Enhanced] Python check: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 4.2 MB/s eta 0:00:00
[13/12/2023, 19:01:26] [Apple TV Enhanced] Python check: Downloading chacha20poly1305_reuseable-0.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (370 kB)
[13/12/2023, 19:01:26] [Apple TV Enhanced] Python check: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 370.1/370.1 kB 4.4 MB/s eta 0:00:00
[13/12/2023, 19:01:26] [Apple TV Enhanced] Python check: Downloading cryptography-41.0.7-cp37-abi3-manylinux_2_28_aarch64.whl (4.1 MB)
[13/12/2023, 19:01:27] [Apple TV Enhanced] Python check: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.1/4.1 MB 5.2 MB/s eta 0:00:00
[13/12/2023, 19:01:27] [Apple TV Enhanced] Python check: Downloading yarl-1.9.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (324 kB)
[13/12/2023, 19:01:27] [Apple TV Enhanced] Python check: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 324.2/324.2 kB 5.1 MB/s eta 0:00:00
[13/12/2023, 19:01:27] [Apple TV Enhanced] Python check: Downloading zeroconf-0.128.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (10.7 MB)
[13/12/2023, 19:01:29] [Apple TV Enhanced] Python check: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 4.1 MB/s eta 0:00:00
[13/12/2023, 19:01:30] [Apple TV Enhanced] Python check: Installing collected packages: zeroconf, typing_extensions, idna, yarl, cryptography, chacha20poly1305-reuseable, aiohttp
[13/12/2023, 19:01:30] [Apple TV Enhanced] Python check: Attempting uninstall: zeroconf
[13/12/2023, 19:01:30] [Apple TV Enhanced] Python check: Found existing installation: zeroconf 0.127.0
[13/12/2023, 19:01:30] [Apple TV Enhanced] Python check: Uninstalling zeroconf-0.127.0:
[13/12/2023, 19:01:30] [Apple TV Enhanced] Python check: Successfully uninstalled zeroconf-0.127.0
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Attempting uninstall: typing_extensions
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Found existing installation: typing_extensions 4.8.0
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Uninstalling typing_extensions-4.8.0:
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Successfully uninstalled typing_extensions-4.8.0
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Attempting uninstall: idna
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Found existing installation: idna 3.5
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Uninstalling idna-3.5:
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Successfully uninstalled idna-3.5
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Attempting uninstall: yarl
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Found existing installation: yarl 1.9.3
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Uninstalling yarl-1.9.3:
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Successfully uninstalled yarl-1.9.3
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Attempting uninstall: cryptography
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Found existing installation: cryptography 41.0.5
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Uninstalling cryptography-41.0.5:
[13/12/2023, 19:01:31] [Apple TV Enhanced] Python check: Successfully uninstalled cryptography-41.0.5
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Attempting uninstall: chacha20poly1305-reuseable
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Found existing installation: chacha20poly1305-reuseable 0.11.0
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Uninstalling chacha20poly1305-reuseable-0.11.0:
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Successfully uninstalled chacha20poly1305-reuseable-0.11.0
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Attempting uninstall: aiohttp
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Found existing installation: aiohttp 3.9.0
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Uninstalling aiohttp-3.9.0:
[13/12/2023, 19:01:32] [Apple TV Enhanced] Python check: Successfully uninstalled aiohttp-3.9.0
[13/12/2023, 19:01:33] [Apple TV Enhanced] Python check: Successfully installed aiohttp-3.9.1 chacha20poly1305-reuseable-0.12.0 cryptography-41.0.7 idna-3.6 typing_extensions-4.9.0 yarl-1.9.4 zeroconf-0.128.4
[13/12/2023, 19:01:34] [Apple TV Enhanced] Python check: Finished
[13/12/2023, 19:01:34] [Apple TV Enhanced] Platform: Starting device discovery ...
[13/12/2023, 19:01:40] [Apple TV Enhanced] Platform: Adding Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D)
[13/12/2023, 19:01:40] [Apple TV Enhanced] WohnzimmerTV (A8:51:AB:D5:75:7D): verifying credentials ...
[13/12/2023, 19:01:42] [Apple TV Enhanced] WohnzimmerTV (A8:51:AB:D5:75:7D): Credentials are still valid. Continuing ...
[13/12/2023, 19:01:44] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Finished initializing
[13/12/2023, 19:01:44] Apple TV WohnzimmerTV A430 is running on port 46141.
[13/12/2023, 19:01:44] Please add [Apple TV WohnzimmerTV A430] manually in Home app. Setup Code: 781-22-116
[13/12/2023, 19:01:46] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Active State: off

[13/12/2023, 19:15:46] [Apple TV Enhanced] Restarting Process...
[13/12/2023, 19:15:47] [Apple TV Enhanced] Launched child bridge with PID 21236
[13/12/2023, 19:15:47] Registering platform 'homebridge-appletv-enhanced.AppleTVEnhanced'
[13/12/2023, 19:15:47] [Apple TV Enhanced] Loaded homebridge-appletv-enhanced v0.7.0 child bridge successfully
[13/12/2023, 19:15:47] Loaded 0 cached accessories from cachedAccessories.0E0781895393.
[13/12/2023, 19:15:47] [Apple TV Enhanced] Platform: Finished initializing platform: Apple TV Enhanced
[13/12/2023, 19:15:47] [Apple TV Enhanced] Platform: Executed didFinishLaunching callback
[13/12/2023, 19:15:47] [Apple TV Enhanced] 'linux 6.1.0-rpi7-rpi-v8' is supported by the plugin Homebridge Apple TV Enhanced.
[13/12/2023, 19:15:47] [Apple TV Enhanced] Python check: Starting python check.
[13/12/2023, 19:15:47] [Apple TV Enhanced] Python check: plugin dir exists.
[13/12/2023, 19:15:47] Homebridge v1.7.0 (HAP v0.11.1) (Apple TV Enhanced) is running on port 53583.
[13/12/2023, 19:15:47] [Apple TV Enhanced] Python check: Python 3.11.2 is installed and supported by the plugin.
[13/12/2023, 19:15:47] [Apple TV Enhanced] Python check: Virtual environment already exists.
[13/12/2023, 19:15:47] [Apple TV Enhanced] Python check: Venv is using current system python version (3.11.2).
[13/12/2023, 19:15:47] [Apple TV Enhanced] Python check: Checking if pip is up-to-date ...
[13/12/2023, 19:16:03] [Apple TV Enhanced] Python check: Pip is up-to-date
[13/12/2023, 19:16:05] [Apple TV Enhanced] Python check: Python requirements are satisfied.
[13/12/2023, 19:16:05] [Apple TV Enhanced] Python check: Finished
[13/12/2023, 19:16:05] [Apple TV Enhanced] Platform: Setting the storage path of the PyATV instance to /var/lib/homebridge
[13/12/2023, 19:16:05] [Apple TV Enhanced] CustomPyATVInstance: Set atvscript path to "/var/lib/homebridge/appletv-enhanced/.venv/bin/atvscript".
[13/12/2023, 19:16:05] [Apple TV Enhanced] CustomPyATVInstance: Set atvremote path to "/var/lib/homebridge/appletv-enhanced/.venv/bin/atvremote".
[13/12/2023, 19:16:05] [Apple TV Enhanced] Platform: Starting device discovery ...
[13/12/2023, 19:16:05] [Apple TV Enhanced] Platform: Starting device discovery ...
[13/12/2023, 19:16:11] [Apple TV Enhanced] Platform: finished multicast device discovery
[13/12/2023, 19:16:11] [Apple TV Enhanced] Platform: Found Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D / 192.168.178.35).
[13/12/2023, 19:16:11] [Apple TV Enhanced] Platform: Adding Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D)
[13/12/2023, 19:16:11] [Apple TV Enhanced] Platform: Waiting for Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D) to boot ...
[13/12/2023, 19:16:11] [Apple TV Enhanced] WohnzimmerTV (A8:51:AB:D5:75:7D): verifying credentials ...
[13/12/2023, 19:16:11] [Apple TV Enhanced] Platform: Finished device discovery.
[13/12/2023, 19:16:13] [Apple TV Enhanced] WohnzimmerTV (A8:51:AB:D5:75:7D): Credentials are still valid. Continuing ...
[13/12/2023, 19:16:13] [Apple TV Enhanced] WohnzimmerTV (A8:51:AB:D5:75:7D): Total services 2 (98 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding television speaker.
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 3 (97 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding device state idle as a motion sensor. (named: Idle)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 4 (96 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding device state paused as a motion sensor. (named: Paused)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 5 (95 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding device state playing as a motion sensor. (named: Playing)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 6 (94 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding media type music as a motion sensor. (named: Music)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 7 (93 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding media type video as a motion sensor. (named: Video)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 8 (92 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding Avada Kedavra as an input. (named: Avada Kedavra)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 9 (91 remaining)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding Home as an input. (named: Home)
[13/12/2023, 19:16:13] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 10 (90 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding https://www.youtube.com/watch?v=SZ9TIw-gHso&si=pd1IpYx3hADns4tU as an input. (named: https://www.youtube.com/watch?v=SZ9TIw-gHso&si=pd1IpYx3hADns4tU)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 11 (89 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding https://www.youtu.be/SZ9TIw-gHso?si=v5zD5x_EJG3eREgy as an input. (named: https://www.youtu.be/SZ9TIw-gHso?si=v5zD5x_EJG3eREgy)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 12 (88 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding de.zdf.mediathek.universal as an input. (named: ZDFmediathek)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 13 (87 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.google.ios.youtube as an input. (named: YouTube)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 14 (86 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVShows as an input. (named: TV-Sendungen)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 15 (85 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVSearch as an input. (named: Suchen)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 16 (84 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.amazon.aiv.AIVApp as an input. (named: Prime Video)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 17 (83 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.podcasts as an input. (named: Podcasts)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 18 (82 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.netflix.Netflix as an input. (named: Netflix)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 19 (81 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding de.gymondo.Gymondo as an input. (named: Gymondo)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 20 (80 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVPhotos as an input. (named: Fotos)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 21 (79 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.Fitness as an input. (named: Fitness)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 22 (78 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVMovies as an input. (named: Filme)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 23 (77 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.facetime as an input. (named: FaceTime)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 24 (76 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVSettings as an input. (named: Einstellungen)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 25 (75 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.dazn.theApp as an input. (named: DAZN)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 26 (74 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVHomeSharing as an input. (named: Computer)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 27 (73 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.Arcade as an input. (named: Arcade)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 28 (72 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVAppStore as an input. (named: App Store)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 29 (71 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVWatchList as an input. (named: Apple TV)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 30 (70 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding com.apple.TVMusic as an input. (named: Apple Music)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 31 (69 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Adding de.swr.avp.ard.tablet as an input. (named: ARD Mediathek)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Total services 32 (68 remaining)
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Input display order: AQQqAAAAAAABBEUAAAAAAAEEFL9ntwAAAQTSES6KAAABBC+TeUUAAAEEI3mIcwAAAQS1RH+fAAABBAi7f0QAAAEENv2n7gAAAQSE4v5+AAABBAC9K3cAAAEEkoQKvQAAAQR+Wd4JAAABBMw0gMcAAAEEUYXo9AAAAQSkg2CWAAABBMnB3UQAAAEEepnLUwAAAQQO7f9OAAABBKQx+CMAAAEEQKN/0AAAAQScKvH2AAABBOxDMyMAAAEEfLtOvA==
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): recreating listeners
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): recreating rocket remote
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: creating
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Finished initializing
[13/12/2023, 19:16:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Reporting as booted.
[13/12/2023, 19:16:15] [Apple TV Enhanced] Platform: Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D) finished booting. Publishing the accessory now.
[13/12/2023, 19:16:15] Apple TV WohnzimmerTV A430 is running on port 46567.
[13/12/2023, 19:16:15] Please add [Apple TV WohnzimmerTV A430] manually in Home app. Setup Code: 781-22-116
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: off
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Active State: off
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: null
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event mediaType: unknown
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event deviceState: idle
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event mediaType: null
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event deviceState: null
[13/12/2023, 19:16:17] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Enter commands and press enter
Type help for help and exit to quit

[13/12/2023, 19:17:11] [Apple TV Enhanced] Platform: finished multicast device discovery
[13/12/2023, 19:17:11] [Apple TV Enhanced] Platform: Found Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D / 192.168.178.35).
[13/12/2023, 19:17:11] [Apple TV Enhanced] Platform: Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D) with UUID 7285ee57-3625-4ba9-a44a-ddb1544f042c already exists. Skipping.
[13/12/2023, 19:17:11] [Apple TV Enhanced] Platform: Finished device discovery.
[13/12/2023, 19:17:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: app_list
[13/12/2023, 19:17:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: App: Fitness (com.apple.Fitness), App: Podcasts (com.apple.podcasts), App: Filme (com.apple.TVMovies), App: Prime Video (com.amazon.aiv.AIVApp), App: TV (com.apple.TVWatchList), App: Fotos (com.apple.TVPhotos), App: App Store (com.apple.TVAppStore), App: Arcade (com.apple.Arcade), App: TV-Sendungen (com.apple.TVShows), App: Suchen (com.apple.TVSearch), App: Computer (com.apple.TVHomeSharing), App: FaceTime (com.apple.facetime), App: YouTube (com.google.ios.youtube), App: ARD Mediathek (de.swr.avp.ard.tablet), App: DAZN (com.dazn.theApp), App: Einstellungen (com.apple.TVSettings), App: ZDFmediathek (de.zdf.mediathek.universal), App: Netflix (com.netflix.Netflix), App: Gymondo (de.gymondo.Gymondo), App: Musik (com.apple.TVMusic)
[13/12/2023, 19:17:22] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: turn_on
[13/12/2023, 19:17:23] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: on
[13/12/2023, 19:17:23] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Active State: on
[13/12/2023, 19:17:23] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: off
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event mediaType: unknown
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Media Type State: unknown
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event deviceState: idle
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Device State: idle
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event appId: com.apple.TVMusic
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Current App: com.apple.TVMusic
[13/12/2023, 19:17:24] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event mediaType: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Media Type State: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event deviceState: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Device State: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event appId: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Current App: null
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Could not update the input to null since the app is unknown.
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: on
[13/12/2023, 19:17:26] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): New Active State: on

[13/12/2023, 19:18:05] [Apple TV Enhanced] Platform: Starting device discovery ...
[13/12/2023, 19:18:11] [Apple TV Enhanced] Platform: finished multicast device discovery
[13/12/2023, 19:18:11] [Apple TV Enhanced] Platform: Found Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D / 192.168.178.35).
[13/12/2023, 19:18:11] [Apple TV Enhanced] Platform: Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D) with UUID 7285ee57-3625-4ba9-a44a-ddb1544f042c already exists. Skipping.
[13/12/2023, 19:18:11] [Apple TV Enhanced] Platform: Finished device discovery.
[13/12/2023, 19:18:12] [deCONZ] BewegungsmelderFlur: Motion Detected: set to false (from true)
[13/12/2023, 19:18:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: app_list
[13/12/2023, 19:18:15] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: New power state: On
New power state: Off
New power state: On
App: Fitness (com.apple.Fitness), App: Podcasts (com.apple.podcasts), App: Filme (com.apple.TVMovies), App: Prime Video (com.amazon.aiv.AIVApp), App: TV (com.apple.TVWatchList), App: Fotos (com.apple.TVPhotos), App: App Store (com.apple.TVAppStore), App: Arcade (com.apple.Arcade), App: TV-Sendungen (com.apple.TVShows), App: Suchen (com.apple.TVSearch), App: Computer (com.apple.TVHomeSharing), App: FaceTime (com.apple.facetime), App: YouTube (com.google.ios.youtube), App: ARD Mediathek (de.swr.avp.ard.tablet), App: DAZN (com.dazn.theApp), App: Einstellungen (com.apple.TVSettings), App: ZDFmediathek (de.zdf.mediathek.universal), App: Netflix (com.netflix.Netflix), App: Gymondo (de.gymondo.Gymondo), App: Musik (com.apple.TVMusic)

[13/12/2023, 19:18:29] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: launch_app=https://www.youtube.com/watch?v=SZ9TIw-gHso&si=pd1IpYx3hADns4tU
[13/12/2023, 19:18:29] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Traceback (most recent call last):

[13/12/2023, 19:18:29] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote:   File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 978, in _run_application
    return await cli_handler(loop)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 723, in cli_handler
    return await _handle_commands(args, config, storage, loop)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 862, in _handle_commands
    ret = await _handle_device_command(args, cmd, atv, storage, loop)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 890, in _handle_device_command
    return await _exec_command(
           ^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
    value = await tmp(*args)
            ^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 402, in cli
    await _handle_device_command(
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 925, in _handle_device_command
    return await _exec_command(atv.apps, cmd, True, *cmd_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/scripts/atvremote.py", line 945, in _exec_command
    value = await tmp(*args)
            ^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/core/facade.py", line 394, in launch_app
    await self.relay("launch_app")(bundle_id_or_url)
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/protocols/companion/__init__.py", line 168, in launch_app
    await self.api.launch_app(bundle_id_or_url)
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/protocols/companion/api.py", line 258, in launch_app
    await self._send_command(
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/protocols/companion/api.py", line 163, in _send_command
    resp = await self._protocol.exchange_opack(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/protocols/companion/protocol.py", line 154, in exchange_opack
    return await self._exchange_generic_opack(frame_type, data, identifier, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/homebridge/appletv-enhanced/.venv/lib/python3.11/site-packages/pyatv/protocols/companion/protocol.py", line 175, in _exchange_generic_opack
    raise exceptions.ProtocolError(f"Command failed: {unpacked_object['_em']}")
pyatv.exceptions.ProtocolError: Command failed: Open URL failed

>>> An error occurred, full stack trace above

[13/12/2023, 19:18:29] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Lost connection. Trying to reconnect ...
[13/12/2023, 19:18:34] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): recreating rocket remote
[13/12/2023, 19:18:34] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: creating
[13/12/2023, 19:18:35] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Enter commands and press enter
Type help for help and exit to quit
[13/12/2023, 19:18:35] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): event powerState: null
[13/12/2023, 19:18:42] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: launch_app=https://www.youtu.be/SZ9TIw-gHso?si=v5zD5x_EJG3eREgy
[13/12/2023, 19:18:42] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Traceback (most recent call last):

[13/12/2023, 19:18:42] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Lost connection. Trying to reconnect ...
[13/12/2023, 19:18:47] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): recreating rocket remote
[13/12/2023, 19:18:47] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: creating
[13/12/2023, 19:18:49] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: Enter commands and press enter
Type help for help and exit to quit
[13/12/2023, 19:18:56] [deCONZ] Phoscon-GW: Programmable Switch Event: Single Press
[13/12/2023, 19:19:05] [Apple TV Enhanced] Platform: Starting device discovery ...
[13/12/2023, 19:19:11] [Apple TV Enhanced] Platform: finished multicast device discovery
[13/12/2023, 19:19:11] [Apple TV Enhanced] Platform: Found Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D / 192.168.178.35).
[13/12/2023, 19:19:11] [Apple TV Enhanced] Platform: Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D) with UUID 7285ee57-3625-4ba9-a44a-ddb1544f042c already exists. Skipping.
[13/12/2023, 19:19:11] [Apple TV Enhanced] Platform: Finished device discovery.
[13/12/2023, 19:19:47] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: app_list
[13/12/2023, 19:19:47] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: App: Fitness (com.apple.Fitness), App: Podcasts (com.apple.podcasts), App: Filme (com.apple.TVMovies), App: Prime Video (com.amazon.aiv.AIVApp), App: TV (com.apple.TVWatchList), App: Fotos (com.apple.TVPhotos), App: App Store (com.apple.TVAppStore), App: Arcade (com.apple.Arcade), App: TV-Sendungen (com.apple.TVShows), App: Suchen (com.apple.TVSearch), App: Computer (com.apple.TVHomeSharing), App: FaceTime (com.apple.facetime), App: YouTube (com.google.ios.youtube), App: ARD Mediathek (de.swr.avp.ard.tablet), App: DAZN (com.dazn.theApp), App: Einstellungen (com.apple.TVSettings), App: ZDFmediathek (de.zdf.mediathek.universal), App: Netflix (com.netflix.Netflix), App: Gymondo (de.gymondo.Gymondo), App: Musik (com.apple.TVMusic)
[13/12/2023, 19:20:11] [Apple TV Enhanced] Platform: finished multicast device discovery
[13/12/2023, 19:20:11] [Apple TV Enhanced] Platform: Found Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D / 192.168.178.35).
[13/12/2023, 19:20:11] [Apple TV Enhanced] Platform: Apple TV WohnzimmerTV (A8:51:AB:D5:75:7D) with UUID 7285ee57-3625-4ba9-a44a-ddb1544f042c already exists. Skipping.
[13/12/2023, 19:20:11] [Apple TV Enhanced] Platform: Finished device discovery.
[13/12/2023, 19:20:47] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: app_list
[13/12/2023, 19:20:47] [Apple TV Enhanced] AppleTVenhanced (A8:51:AB:D5:75:7D): Rocket Remote: App: Fitness (com.apple.Fitness), App: Podcasts (com.apple.podcasts), App: Filme (com.apple.TVMovies), App: Prime Video (com.amazon.aiv.AIVApp), App: TV (com.apple.TVWatchList), App: Fotos (com.apple.TVPhotos), App: App Store (com.apple.TVAppStore), App: Arcade (com.apple.Arcade), App: TV-Sendungen (com.apple.TVShows), App: Suchen (com.apple.TVSearch), App: Computer (com.apple.TVHomeSharing), App: FaceTime (com.apple.facetime), App: YouTube (com.google.ios.youtube), App: ARD Mediathek (de.swr.avp.ard.tablet), App: DAZN (com.dazn.theApp), App: Einstellungen (com.apple.TVSettings), App: ZDFmediathek (de.zdf.mediathek.universal), App: Netflix (com.netflix.Netflix), App: Gymondo (de.gymondo.Gymondo), App: Musik (com.apple.TVMusic)

Configuration

{
            "mediaTypes": [
                "music",
                "video"
            ],
            "deviceStates": [
                "idle",
                "paused",
                "playing"
            ],
            "remoteKeysAsSwitch": [],
            "customInputURIs": [
                "https://www.youtube.com/watch?v=SZ9TIw-gHso&si=pd1IpYx3hADns4tU",
                "https://www.youtu.be/SZ9TIw-gHso?si=v5zD5x_EJG3eREgy"
            ],
            "discover": {
                "unicast": [],
                "blacklist": [],
                "multicast": true
            },
            "name": "Apple TV Enhanced",
            "avadaKedavraAppAmount": 15,
            "disableVolumeControlRemote": false,
            "forceVenvRecreate": false,
            "logLevel": 2,
            "_bridge": {
                "username": "0E:07:81:89:53:93",
                "port": 53583
            },
            "platform": "AppleTVEnhanced"
        },

Environment

Additional Context

No response

maxileith commented 11 months ago

There is no handler defined for YouTube links on Apple TVs. So the Apple TV does not know what to do with the links. If you want to get this fixed, you could ask Google to handle YouTube links on Apple TV via the YouTube app.

The plugin itself works as expected, no bug.

Try a link that can be handled on Apple TVs. Take a look at the config.json in the README for examples.

maxileith commented 11 months ago

@DSimeone1989 Some feedback would be nice. Please close this issue if everything is clear now. Otherwise, I am here to help.

DSimeone1989 commented 11 months ago

Dear Max, First of all thx 4 your very quick reply. But tbh, I did not get it. I know what you mean, but I do not know what to do. I tried it with pyatv, vlc, googled, etc. but the solution escaped me.

Could you give me further hints? Thx

maxileith commented 11 months ago

@DSimeone1989 YouTube does not work. This is a limitation of Apple TV, not the plugin. Try a diffrent link, e.g. Disney or Netflix.