konradknitter / homebridge-philips-android-tv

Homebridge module for the Philips Android TV
Apache License 2.0
48 stars 6 forks source link

no control centre remote widget since ios17/ipados17 #72

Closed crbyxwpzfl closed 5 months ago

crbyxwpzfl commented 6 months ago

Describe The Bug:

the ios remote widget in control centre does not list the philips tv

To Reproduce:

add tv to home app via the code in the logs, open control centre, tap remote widget, try to choose phillips tv

Expected behavior:

since you mentioned integration with ios remote widget i thought the tv would show up here like eg an apple tv

Logs:

click to show logs ```node [3/9/2024, 11:38:45 AM] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge DF9A) is running on port 51837. [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] [philipstv] TV state {"powerstate":"StandbyKeep"} [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] [philipstv] Applications: (lenght) 14 [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] [philipstv] Channels: (lenght) 0 [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] [philipstv] Applications setup finished [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] [philipstv] Channels setup finished [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] Configuration of dedicated Volume Lightbulb [3/9/2024, 11:38:45 AM] [PhilipsAndroidTV] Configuration of dedicated Mute Switch [3/9/2024, 11:38:45 AM] Publishing external accessory (name: philipstv, publishInfo: { username: '...', pincode: '***-**-***', category: 31, port: undefined, bind: undefined, mdns: undefined, addIdentifyingMaterial: true, advertiser: 'bonjour-hap' }). [3/9/2024, 11:38:45 AM] philipstv FD30 is running on port 52089. [3/9/2024, 11:38:45 AM] Please add [philipstv FD30] manually in Home app. Setup Code: 406-82-037 [3/9/2024, 11:38:50 AM] [PhilipsAndroidTV] [philipstv] Start responding again. [3/9/2024, 11:38:50 AM] [PhilipsAndroidTV] [philipstv] Current application has been changed to NA. [3/9/2024, 11:39:20 AM] [PhilipsAndroidTV] [philipstv] TV volume has been changed to 28%. [3/9/2024, 11:39:23 AM] [PhilipsAndroidTV] Turn on TV:1 [3/9/2024, 11:39:25 AM] [PhilipsAndroidTV] [philipstv] TV has been turn on. [3/9/2024, 11:39:35 AM] [PhilipsAndroidTV] [philipstv] TV volume has been changed to 21%. [3/9/2024, 11:39:40 AM] [PhilipsAndroidTV] [philipstv] TV volume has been changed to 35%. [3/9/2024, 11:40:05 AM] [PhilipsAndroidTV] [philipstv] TV volume has been changed to 40%. [3/9/2024, 11:40:10 AM] [PhilipsAndroidTV] [philipstv] TV volume has been changed to 36%. [3/9/2024, 11:40:15 AM] [PhilipsAndroidTV] [philipstv] TV volume has been changed to 6%. [3/9/2024, 11:40:24 AM] [PhilipsAndroidTV] Turn on TV:0 [3/9/2024, 11:40:25 AM] [PhilipsAndroidTV] [philipstv] TV has been turned off. ```

Plugin Config:

click to show config ```json { "debug": true, "configVersion": 1, "tvs": [ { "name": "philipstv", "ip": "192.168.178.102", "wakeOnLanRequests": 1, "wakeOnLanTimeout": 1000, "macAddress": "D8:13:99:6A:1A:06", "apiUser": "userkey", "apiPass": "passkey", "apiVersion": 6, "wakeUntilAPIReadyCounter": 100, "alternativePlayPause": true, "dedicatedMuteSwitch": true, "dedicatedVolumeLightbulb": true, "channels": { "useFavorites": false, "favoriteListId": "1", "includeAll": true } } ], "platform": "PhilipsAndroidTV" } ```

Screenshots:

click to show pictures

       

Environment:

Personal Comment hi thank you very much for this plugin. it is rally fast and very easy to pair the tv! your plugin works great overall all the other features work perfectly. perhaps not relevant but i am using the new home architecture and an apple tv as a hub. please feel free to close this issue at anytime. since nobody else seems to have the same issue this may be an issue on my end. anyhow i am very happy for any tips how to solve it.

crbyxwpzfl commented 6 months ago

ok some more testing and it turns out ios17/ipados17 brakes this functionality.

on ios16/ipados16 the remote shows up but on ios17/ipados17 it does not. Either this is a bug or intentionally by apple.

The remote of a real apple tv still shows up in ios17. Perhaps it is possible to expose the tv as an appletv via homebridge.

crbyxwpzfl commented 5 months ago

Ok even more testing and the remote works on other phones. So it seems to be an ios bug. I’ll close this since it seems to be just me having this issue. I will post it when I find a solution.