maxileith / homebridge-appletv-enhanced

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

Can’t re-add ATV’s after deleting from home app #383

Closed BrandonHacks closed 4 months ago

BrandonHacks commented 4 months ago

Preconditions

Current Situation

Had some issues with my setup so I deleted the Apple TVs from the home app, deleted my whole home from the app and reset my Apple TV and credentials in ./appletv-enhanced/

I am trying to re-add everything back in and can only add the Apple TV 4K second gen.. my other two that are 4k first gen do not show up in the home app.

Logs

[22/04/2024, 11:23:14] [HB Supervisor] Started Homebridge v1.8.0 with PID: 22192
[22/04/2024, 11:23:16] Loaded config.json with 1 accessories and 7 platforms.
[22/04/2024, 11:23:16] Loaded 8 cached accessories from cachedAccessories.
[22/04/2024, 11:23:16] ---
[22/04/2024, 11:23:17] Loaded plugin: homebridge-appletv-enhanced@1.3.1
[22/04/2024, 11:23:17] Registering platform 'homebridge-appletv-enhanced.AppleTVEnhanced'
[22/04/2024, 11:23:17] ---
[22/04/2024, 11:23:17] Loaded plugin: homebridge-bond@3.2.11-beta.2
[22/04/2024, 11:23:17] Registering platform 'homebridge-bond.Bond'
[22/04/2024, 11:23:17] ---
[22/04/2024, 11:23:17] Loaded plugin: homebridge-dummy@0.9.0
[22/04/2024, 11:23:17] Registering accessory 'homebridge-dummy.DummySwitch'
[22/04/2024, 11:23:17] ---
[22/04/2024, 11:23:22] Loaded plugin: homebridge-hue@0.13.70
[22/04/2024, 11:23:22] Registering platform 'homebridge-hue.Hue'
[22/04/2024, 11:23:22] ---
[22/04/2024, 11:23:22] Disabled plugin: homebridge-kia-connect@1.2.0
[22/04/2024, 11:23:22] ---
[22/04/2024, 11:23:23] Loaded plugin: homebridge-lg-thinq@1.8.4
[22/04/2024, 11:23:23] Registering platform 'homebridge-lg-thinq.LGThinQ'
[22/04/2024, 11:23:23] ---
[22/04/2024, 11:23:30] Loaded plugin: @switchbot/homebridge-switchbot@3.4.0
[22/04/2024, 11:23:30] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[22/04/2024, 11:23:30] ---
[22/04/2024, 11:23:30] Loading 7 platforms...
[22/04/2024, 11:23:30] [Hue] Initializing Hue platform...
[22/04/2024, 11:23:30] [Hue] Initializing child bridge 0E:AB:98:BA:7D:D9
[22/04/2024, 11:23:30] [SwitchBot] Initializing SwitchBot platform...
[22/04/2024, 11:23:30] Ignoring config for the platform "KiaConnect" in your config.json as the plugin "homebridge-kia-connect" has been disabled.
[22/04/2024, 11:23:30] [Bond] Initializing Bond platform...
[22/04/2024, 11:23:30] [LGThinQ] Initializing LGThinQ platform...
[22/04/2024, 11:23:30] [Apple TV Enhanced] Initializing AppleTVEnhanced platform...
[22/04/2024, 11:23:30] [Apple TV Enhanced] [I] Platform: Finished initializing platform: Apple TV Enhanced
[22/04/2024, 11:23:30] Loading 1 accessories...
[22/04/2024, 11:23:30] [Auto Switch] Initializing DummySwitch accessory...
[22/04/2024, 11:23:30] [LGThinQ] Loading accessory from Homebridge cache: Refrigerator
[22/04/2024, 11:23:30] [Apple TV Enhanced] [I] Update check: The update checker is configured to check for updates every 60 minutes, excluding betas. Auto updating is turned off.
Setup Payload:
X-HM://0024PKNHITGOC
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    │ 749-80-582 │     
    └────────────┘     

[22/04/2024, 11:23:31] Homebridge v1.8.0 (HAP v0.12.0) (Homebridge 945C) is running on port 51243.
[22/04/2024, 11:23:31] [SwitchBot] Total SwitchBot Devices Found: 6
[22/04/2024, 11:23:31] [SwitchBot] Total IR Devices Found: 1
[22/04/2024, 11:23:31] [SwitchBot] Restoring existing accessory from cache: Fan DeviceID: D1E7473B0EA6
[22/04/2024, 11:23:31] [SwitchBot] Restoring existing accessory from cache: Living Right DeviceID: C0B74BFF9117
[22/04/2024, 11:23:31] [SwitchBot] Bot: Fan does not have bot mode set in the Plugin's SwitchBot Device Settings,
[22/04/2024, 11:23:31] [SwitchBot] Bot: Fan is defaulting to "switch" mode, you may experience issues.
[22/04/2024, 11:23:31] [SwitchBot] Restoring existing accessory from cache: Living Left DeviceID: D3101D92F60A
[22/04/2024, 11:23:31] [SwitchBot] Restoring existing accessory from cache: Left Curtains DeviceID: DF88E861A5EE
[22/04/2024, 11:23:32] TV B37E is running on port 46821.
[22/04/2024, 11:23:32] Please add [TV B37E] manually in Home app. Setup Code: 749-80-582
[22/04/2024, 11:23:32] [Bond] 3 cached accessories were loaded
[22/04/2024, 11:23:32] [Bond] Getting devices for this Bond (ZZGG66053)...
[22/04/2024, 11:23:32] [Bond] 3 devices were found on this Bond (ZZGG66053).
[22/04/2024, 11:23:32] [Bond] No new devices to add for this Bond (ZZGG66053).
[22/04/2024, 11:23:32] [Bond] Configuring Accessory: Living Room Ceiling Fan 52
[22/04/2024, 11:23:32] [Bond] [Ceiling Fan 52] actions: DecreaseSpeed,IncreaseSpeed,SetSpeed,StartDimmer,Stop,ToggleLight,TogglePower,TurnLightOff,TurnLightOn,TurnOff,TurnOn
[22/04/2024, 11:23:32] [Bond] Configuring Accessory: Guest Bedroom Guest Ceiling fan
[22/04/2024, 11:23:32] [Bond] [Guest Ceiling fan] actions: DecreaseSpeed,IncreaseSpeed,SetSpeed,Stop,ToggleLight,TogglePower,TurnLightOff,TurnLightOn,TurnOff,TurnOn
[22/04/2024, 11:23:32] [Bond] Configuring Accessory: Kids Room Ceiling fan
[22/04/2024, 11:23:32] [Bond] [Ceiling fan] actions: DecreaseSpeed,IncreaseSpeed,SetSpeed,StartDimmer,Stop,ToggleLight,TogglePower,TurnLightOff,TurnLightOn,TurnOff,TurnOn
[22/04/2024, 11:23:33] [Hue] Launched child bridge with PID 22217
[22/04/2024, 11:23:33] [Apple TV Enhanced] [I] Update check: You are using the latest version of AppleTV Enhanced (excluding betas): 1.3.1
[22/04/2024, 11:23:33] [Apple TV Enhanced] [I] Python check: Starting python check.
[22/04/2024, 11:23:33] [Apple TV Enhanced] [I] Python check: plugin dir exists.
[22/04/2024, 11:23:33] [Apple TV Enhanced] [I] Python check: Python 3.9.2 is installed and supported by the plugin.
[22/04/2024, 11:23:33] [Apple TV Enhanced] [I] Python check: Virtual environment already exists.
[22/04/2024, 11:23:33] [Apple TV Enhanced] [I] Python check: Venv is using current system python version (3.9.2).
[22/04/2024, 11:23:36] [Apple TV Enhanced] [I] Python check: Venv pip version: 24.0
[22/04/2024, 11:23:36] [Apple TV Enhanced] [I] Python check: Checking if there is an update for venv pip ...
[22/04/2024, 11:23:36] [Apple TV Enhanced] [I] Python check: Venv pip is up-to-date
[22/04/2024, 11:23:39] Registering platform 'homebridge-hue.Hue'
[22/04/2024, 11:23:39] [Hue] Loaded homebridge-hue v0.13.70 child bridge successfully
[22/04/2024, 11:23:39] Loaded 0 cached accessories from cachedAccessories.0EAB98BA7DD9.
[22/04/2024, 11:23:39] [Hue] homebridge-hue v0.13.70, node v20.12.2, homebridge v1.8.0
[22/04/2024, 11:23:39] [Hue] warning: recommended version: node v20.10.0 LTS
[22/04/2024, 11:23:39] [Hue] warning: recommended version: homebridge v1.7.0
[22/04/2024, 11:23:39] [Hue] searching bridges and gateways
[22/04/2024, 11:23:39] [Apple TV Enhanced] [I] Python check: Python requirements are satisfied.
[22/04/2024, 11:23:39] [Apple TV Enhanced] [I] Python check: Finished
[22/04/2024, 11:23:39] [Apple TV Enhanced] [I] Platform: Starting device discovery ...
[22/04/2024, 11:23:43] [LGThinQ] Successfully connected to the ThinQ API.
[22/04/2024, 11:23:43] [LGThinQ] [Refrigerator] Setting up device!
[22/04/2024, 11:23:43] [LGThinQ] Restoring existing accessory: 1bd1169c-0642-1217-97bf-d8e35e9cdada: Refrigerator (REFRIGERATOR 2REF11EBIW__4)
[22/04/2024, 11:23:43] [LGThinQ] Start MQTT listener for thinq2 device
[22/04/2024, 11:23:44] [Hue] Philips hue: Philips BSB001 bridge v01043155, api v1.16.0
[22/04/2024, 11:23:45] [LGThinQ] Successfully connected to the MQTT server.
[22/04/2024, 11:23:46] [Hue] Philips hue: 25 accessories
[22/04/2024, 11:23:46] [Hue] masked debug info dumped to /var/lib/homebridge/homebridge-hue.json.gz
[22/04/2024, 11:23:46] Initializing platform accessory 'Philips hue'...
[22/04/2024, 11:23:46] [Hue] Philips hue: 3 services
[22/04/2024, 11:23:46] Initializing platform accessory 'Light'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Hue white light 2'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Hue color light 1'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Hue color light 2'...
[22/04/2024, 11:23:46] Initializing platform accessory 'MiddlePorch'...
[22/04/2024, 11:23:46] Initializing platform accessory 'MiddlePorch2'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Nursery'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Living Room Lamp'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Movie Lamp'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Addi’s Room'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Daylight'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Brandon's iPhone'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Wake up 1'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Brandon’s iPhone'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Brandon’s iPhone'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Brandon’s iPhone'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Closet sensor'...
[22/04/2024, 11:23:46] Initializing platform accessory 'MotionSensor 11.Companion'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Hue motion sensor 1'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Start and stop'...
[22/04/2024, 11:23:46] Initializing platform accessory 'dimming'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Nursery'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Dimmer Switch 21 SceneCycle'...
[22/04/2024, 11:23:46] Initializing platform accessory 'Alarm'...
[22/04/2024, 11:23:46] Homebridge v1.8.0 (HAP v0.12.0) (Hue) is running on port 33915.
[22/04/2024, 11:23:47] [Hue] Hue color light 1: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[22/04/2024, 11:23:47] [Hue] Hue color light 2: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[22/04/2024, 11:23:47] [Hue] MiddlePorch: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[22/04/2024, 11:23:47] [Hue] MiddlePorch2: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[22/04/2024, 11:23:47] [Hue] Living Room Lamp: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[22/04/2024, 11:23:47] [Hue] Movie Lamp: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[22/04/2024, 11:23:48] [Apple TV Enhanced] [I] Platform: Adding Apple TV Living Room (C8:D0:83:B2:F1:EB)
[22/04/2024, 11:23:48] [Apple TV Enhanced] [I] Platform: Adding Apple TV Maddi's Room (A8:51:AB:04:31:2D)
[22/04/2024, 11:23:48] [Apple TV Enhanced] [I] Platform: Adding Apple TV Bedroom (DC:56:E7:3D:4E:41)
[22/04/2024, 11:23:48] [Apple TV Enhanced] [I] Bedroom (DC:56:E7:3D:4E:41): verifying credentials ...
[22/04/2024, 11:23:48] [Apple TV Enhanced] [W] Living Room (C8:D0:83:B2:F1:EB): Credentials are no longer valid. Need to repair ...
[22/04/2024, 11:23:48] [Apple TV Enhanced] [W] Maddi's Room (A8:51:AB:04:31:2D): Credentials are no longer valid. Need to repair ...
[22/04/2024, 11:23:48] [Apple TV Enhanced] [W] Living Room (C8:D0:83:B2:F1:EB): You need to pair your Apple TV before the plugin can connect to it. Enter the PIN that is currently displayed on the device here: http://192.168.4.37:42051/
[22/04/2024, 11:23:48] [Apple TV Enhanced] [W] Maddi's Room (A8:51:AB:04:31:2D): You need to pair your Apple TV before the plugin can connect to it. Enter the PIN that is currently displayed on the device here: http://192.168.4.37:42020/
[22/04/2024, 11:23:53] [Apple TV Enhanced] [I] Bedroom (DC:56:E7:3D:4E:41): Credentials are still valid. Continuing ...
[22/04/2024, 11:23:53] [Apple TV Enhanced] [I] Bedroom (DC:56:E7:3D:4E:41): Exposing Apple TV as accessory of type Apple TV.
[22/04/2024, 11:23:56] [Apple TV Enhanced] [I] Apple TV Bedroom (DC:56:E7:3D:4E:41): Finished initializing
[22/04/2024, 11:23:56] Apple TV Bedroom 5A2C is running on port 36301.
[22/04/2024, 11:23:56] Please add [Apple TV Bedroom 5A2C] manually in Home app. Setup Code: 749-80-582
[22/04/2024, 11:24:00] [Apple TV Enhanced] [I] Apple TV Bedroom (DC:56:E7:3D:4E:41): New Active State: on
[22/04/2024, 11:24:00] [Apple TV Enhanced] [I] Apple TV Bedroom (DC:56:E7:3D:4E:41): New Media Type State: unknown
[22/04/2024, 11:24:00] [Apple TV Enhanced] [I] Apple TV Bedroom (DC:56:E7:3D:4E:41): Current App: com.google.ios.youtube
[22/04/2024, 11:24:00] [Apple TV Enhanced] [I] Apple TV Bedroom (DC:56:E7:3D:4E:41): New Device State: idle
[22/04/2024, 11:24:07] [Apple TV Enhanced] [I] Living Room (C8:D0:83:B2:F1:EB): Got PIN 2775 for Apple TV Living Room.
[22/04/2024, 11:24:09] [Apple TV Enhanced] [W] Living Room (C8:D0:83:B2:F1:EB): Paring was successful. Add it to your home in the Home app: com.apple.home://launch
[22/04/2024, 11:24:09] [Apple TV Enhanced] [I] Living Room (C8:D0:83:B2:F1:EB): verifying credentials ...
[22/04/2024, 11:24:12] [Apple TV Enhanced] [I] Living Room (C8:D0:83:B2:F1:EB): Credentials are still valid. Continuing ...
[22/04/2024, 11:24:12] [Apple TV Enhanced] [I] Living Room (C8:D0:83:B2:F1:EB): Exposing Apple TV as accessory of type Apple TV.
[22/04/2024, 11:24:16] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): Finished initializing
[22/04/2024, 11:24:16] Apple TV Living Room 4896 is running on port 34349.
[22/04/2024, 11:24:16] Please add [Apple TV Living Room 4896] manually in Home app. Setup Code: 749-80-582
[22/04/2024, 11:24:19] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Active State: on
[22/04/2024, 11:24:19] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Media Type State: video
[22/04/2024, 11:24:19] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): Current App: com.disney.disneyplus
[22/04/2024, 11:24:19] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Device State: playing
[22/04/2024, 11:24:20] [Apple TV Enhanced] [W] Maddi's Room (A8:51:AB:04:31:2D): Pairing request timed out, retrying ...
[22/04/2024, 11:24:20] [Apple TV Enhanced] [W] Maddi's Room (A8:51:AB:04:31:2D): You need to pair your Apple TV before the plugin can connect to it. Enter the PIN that is currently displayed on the device here: http://192.168.4.37:42020/
[22/04/2024, 11:24:44] [Apple TV Enhanced] [I] Maddi's Room (A8:51:AB:04:31:2D): Got PIN 7930 for Apple TV Maddi's Room.
[22/04/2024, 11:24:45] [Apple TV Enhanced] [W] Maddi's Room (A8:51:AB:04:31:2D): Paring was successful. Add it to your home in the Home app: com.apple.home://launch
[22/04/2024, 11:24:45] [Apple TV Enhanced] [I] Maddi's Room (A8:51:AB:04:31:2D): verifying credentials ...
[22/04/2024, 11:24:49] [Apple TV Enhanced] [I] Maddi's Room (A8:51:AB:04:31:2D): Credentials are still valid. Continuing ...
[22/04/2024, 11:24:49] [Apple TV Enhanced] [I] Maddi's Room (A8:51:AB:04:31:2D): Exposing Apple TV as accessory of type Apple TV.
[22/04/2024, 11:24:52] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Finished initializing
[22/04/2024, 11:24:52] Apple TV Maddi's Room AA4D is running on port 38245.
[22/04/2024, 11:24:52] Please add [Apple TV Maddi's Room AA4D] manually in Home app. Setup Code: 749-80-582
[22/04/2024, 11:24:56] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): New Active State: on
[22/04/2024, 11:24:56] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): New Media Type State: unknown
[22/04/2024, 11:24:56] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Current App: com.google.ios.youtube
[22/04/2024, 11:24:56] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): New Device State: idle
[22/04/2024, 11:25:19] [Hue] Philips hue: request 90: GET /config
[22/04/2024, 11:25:19] [Hue] Philips hue: request 90: timeout after 5 seconds
[22/04/2024, 11:25:32] [Hue] Philips hue: request 107: GET /sensors
[22/04/2024, 11:25:32] [Hue] Philips hue: request 107: write ECONNRESET
[22/04/2024, 11:27:17] [Hue] Philips hue: request 212: GET /lights
[22/04/2024, 11:27:17] [Hue] Philips hue: request 212: write ECONNRESET
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of device state sensor playing from  to Playing.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of media type sensor tv from  to Tv.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of device state sensor idle from  to Idle.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of device state sensor paused from  to Paused.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch select from  to Select.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch down from  to Down.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch up from  to Up.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of com.apple.TVWatchList from Apple TV to TV.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch play_pause from  to Play_pause.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of Avada Kedavra from  to Avada Kedavra.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of media type sensor video from  to Video.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changed Configured Name from Apple TV Maddis Room to Default Room
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch channel_down from  to Channel_down.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of media type sensor music from  to Music.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of Home Input from  to Home.
[22/04/2024, 11:30:51] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of com.apple.TVMusic from Apple Music to Music.
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changed Configured Name from Default Room to Apple TV Maddis Room
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch channel_up from  to Channel_up.
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch menu from  to Menu.
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changed Configured Name from Apple TV Maddis Room to Default Room
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch left from  to Left.
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch right from  to Right.
[22/04/2024, 11:30:52] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changing configured name of remote key switch home from  to Home.
[22/04/2024, 11:30:54] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changed Configured Name from Default Room to Apple TV Maddis Room
[22/04/2024, 11:30:55] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changed Configured Name from Apple TV Maddis Room to Default Room
[22/04/2024, 11:31:04] [Apple TV Enhanced] [I] Default Room (A8:51:AB:04:31:2D): Changed Configured Name from Default Room to Guest
[22/04/2024, 11:31:09] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Changed Configured Name from Guest to Apple TV Maddis Room
[22/04/2024, 11:31:10] [Apple TV Enhanced] [I] Apple TV Maddis Room (A8:51:AB:04:31:2D): Changed Configured Name from Apple TV Maddis Room to Guest
[22/04/2024, 11:31:27] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Changing configured name of remote key switch play_pause from Play_pause to Play pause.
[22/04/2024, 11:31:27] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Changing configured name of remote key switch channel_down from Channel_down to Channel down.
[22/04/2024, 11:31:27] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Changing configured name of remote key switch channel_up from Channel_up to Channel up.
[22/04/2024, 11:31:56] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=com.disney.disneyplus
[22/04/2024, 11:32:05] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=com.netflix.Netflix
[22/04/2024, 11:32:12] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=com.peacocktv.peacock
[22/04/2024, 11:32:17] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: Avada Kedavra
[22/04/2024, 11:32:36] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=com.peacocktv.peacock
[22/04/2024, 11:32:39] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=com.apple.TVMusic
[22/04/2024, 11:32:40] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: Avada Kedavra
[22/04/2024, 11:32:55] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=com.apple.TVWatchList
[22/04/2024, 11:33:04] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: launch_app=tv.twitch
[22/04/2024, 11:33:15] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): Rocket Remote: turn_off
[22/04/2024, 11:33:16] [Apple TV Enhanced] [I] Guest (A8:51:AB:04:31:2D): New Active State: off
[22/04/2024, 11:35:08] [Hue] Philips hue: request 682: GET /sensors
[22/04/2024, 11:35:08] [Hue] Philips hue: request 682: write ECONNRESET
[22/04/2024, 11:36:53] [Hue] Philips hue: request 786: GET /sensors
[22/04/2024, 11:36:53] [Hue] Philips hue: request 786: write ECONNRESET
[22/04/2024, 11:38:38] [Hue] Philips hue: request 889: GET /config
[22/04/2024, 11:38:38] [Hue] Philips hue: request 889: read ECONNRESET
[22/04/2024, 11:41:14] [Hue] Philips hue: request 1044: GET /sensors
[22/04/2024, 11:41:14] [Hue] Philips hue: request 1044: connect ECONNRESET 192.168.4.36:80
[22/04/2024, 11:42:40] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Media Type State: unknown
[22/04/2024, 11:42:40] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Device State: idle
[22/04/2024, 11:42:41] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Media Type State: video
[22/04/2024, 11:42:41] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): Current App: com.disney.disneyplus
[22/04/2024, 11:42:41] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Device State: paused
[22/04/2024, 11:42:42] [Apple TV Enhanced] [I] Apple TV (C8:D0:83:B2:F1:EB): New Device State: playing

Configuration

{
    "bridge": {
        "name": "Homebridge 945C",
        "username": "0E:FE:DB:57:94:5C",
        "port": xxxxx,
        "pin": "xxx-xx-xxx",
        "advertiser": "avahi"
    },
    "accessories": [
        {
            "name": "Auto Switch",
            "stateful": false,
            "dimmer": false,
            "reverse": false,
            "time": 1000,
            "random": false,
            "resettable": false,
            "brightness": 0,
            "disableLogging": false,
            "accessory": "DummySwitch"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Hue",
            "anyOn": true,
            "effects": false,
            "heartrate": 3,
            "lights": true,
            "nativeHomeKitLights": true,
            "nativeHomeKitSensors": true,
            "resource": true,
            "rules": false,
            "sensors": true,
            "users": {
                "88FFFE": "hIh19QiXWg6qGFgMowMcQmj9tv3fMZl"
            },
            "_bridge": {
                "username": "0E:AB:98:BA:7D:D9",
                "port": 33915
            },
            "platform": "Hue"
        },
        {
            "cars": [
                {
                    "name": "Sportage",
                    "targetTemperature": "LOW",
                    "vin": "",
                    "refreshInterval": 1920000
                }
            ],
            "email": "",
            "password": "",
            "platform": "KiaConnect"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": ",
                "secret": "",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "FF7162FB5253",
                        "configDeviceName": "Curtain 53",
                        "configDeviceType": "Curtain",
                        "connectionType": "OpenAPI",
                        "curtain": {
                            "set_min": 5,
                            "set_max": 95,
                            "setOpenMode": "0",
                            "setCloseMode": "0"
                        }
                    }
                ]
            },
            "platform": "SwitchBot"
        },
        {
            "bonds": [
                {
                    "ip_address": "192.168.2.68",
                    "token": ""
                }
            ],
            "include_dimmer": false,
            "include_toggle_state": false,
            "fan_speed_values": true,
            "platform": "Bond"
        },
        {
            "country": "US",
            "language": "en-US",
            "auth_mode": "token",
            "platform": "LGThinQ",
            "refresh_token",
            "username": "",
            "password": ""
        },
        {
            "name": "Apple TV Enhanced",
            "mediaTypes": [
                "music",
                "tv",
                "video"
            ],
            "deviceStates": [
                "idle",
                "paused",
                "playing"
            ],
            "deviceStateDelay": 0,
            "remoteKeysAsSwitch": [
                "channel_down",
                "channel_up",
                "down",
                "home",
                "left",
                "menu",
                "play_pause",
                "right",
                "select",
                "stop",
                "up"
            ],
            "avadaKedavraAppAmount": 8,
            "disableVolumeControlRemote": false,
            "setTopBox": false,
            "discover": {
                "multicast": true
            },
            "forceVenvRecreate": false,
            "logLevel": 3,
            "updateCheckLevel": "stable",
            "deviceSpecificOverrides": [
                {
                    "overrideMediaTypes": false,
                    "overrideDeviceStates": false,
                    "overrideDeviceStateDelay": false,
                    "deviceStateDelay": 0,
                    "overrideRemoteKeysAsSwitch": false,
                    "overrideAvadaKedavraAppAmount": false,
                    "avadaKedavraAppAmount": 15,
                    "overrideCustomInputURIs": false,
                    "overrideDisableVolumeControlRemote": false,
                    "disableVolumeControlRemote": false,
                    "overrideSetTopBox": false,
                    "setTopBox": false
                }
            ],
            "platform": "AppleTVEnhanced"
        }
    ],
    "disabledPlugins": [
        "homebridge-camera-ui",
        "homebridge-kia-connect"
    ]
}

Operating System

Linux

Operating System: Bits

64-bit

Operating System: Distribution

Raspberry Pi OS

Operating System: Distribution Version

12 (bookworm)

Docker

no

Docker Image

None

Docker Image Tag

No response

Homebridge Version

1.8.0

Homebridge Config UI Version

v4.54.2

Homebridge Storage Path

/var/lib/homebridge

Homebridge Apple TV Enhanced Version

1.3.1

Node Version

v20.12.2

NPM Version

10.5.0

Python Version

3.9.2

PIP Version

20.3.4

HDMI Hops

None

Audio Output

no

Same Subnet

yes

Additional Context

No response

maxileith commented 4 months ago

Did you pair every Apple TV with your Apple home? Each Apple TV is exposed as an individual external accessory. So you have to pair every Apple TV separately.

BrandonHacks commented 4 months ago

Did you pair every Apple TV with your Apple home? Each Apple TV is exposed as an individual external accessory. So you have to pair every Apple TV separately.

I can’t get to that step, because it isn’t found in my home app. Pairing the Apple TVs with the PIN code was successful and they are present in Homebridge, but the home app can’t find them for me to add them back in.

maxileith commented 4 months ago

Did you reset the homebridge bridges of the devices? Settings>Reset>Unpair Bridges

BrandonHacks commented 4 months ago

Did you reset the homebridge bridges of the devices? Settings>Reset>Unpair Bridges

I guess I was over complicating it lol. That fixed it! Thanks!!