maxileith / homebridge-appletv-enhanced

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

Home input sporadically disappears and reappears #75

Closed maxileith closed 8 months ago

maxileith commented 10 months ago

After more testing Home from the list of available inputs, it will randomly disappear and reappear in the list of selectable inputs for all Apple TV’s utilizing the plug in. I can’t find any discernible pattern as to what is causing this…

Originally posted by @ahwman in https://github.com/maxileith/homebridge-appletv-enhanced/issues/59#issuecomment-1817749819

@ahwman: I’ve definitely enabled the tick box for the Home input on all of my Apple TV’s. When it disappears, it does so from every Apple TV and when it returns it also returns on each Apple TV. What’s interesting is that I’m using it in my automations and even when it disappears, the automations still work correctly…

@maxileith: So when the automations still work, it is most likely a display issue of the Home App and not a bug of the plugin.

@ahwman: Interesting. I wonder why you’re not seeing it on your end?

@maxileith: Is the whole input disappearing or are the inputs just unticked when they disappear?

@ahwman: The whole input disappears and Home is the only input that disappears/reappears…

@maxileith: Can you send me the output of ./appletv-enhanced/AABBCCDDEEFF/apps.json?

@ahwman: I don’t see a folder with that name.

@maxileith: From your homebridge storage path, the relative path of the file is ./appletv-enhanced/AABBCCDDEEFF/apps.json where AABBCCDDEEFF is derivated from the MAC-Address of your Apple TV.

@ahwman:

{
    "com.redbox.m": {
        "configuredName": "Redbox",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 278030438
    },
    "com.vudu.VuduIosClient": {
        "configuredName": "Vudu",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 602170367
    },
    "com.apple.Arcade": {
        "configuredName": "Arcade",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2675918005
    },
    "com.wbd.stream": {
        "configuredName": "Max",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3182089187
    },
    "com.hallmarkchannel.everywhere": {
        "configuredName": "Hallmark TV",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 76729393
    },
    "com.apple.TVAppStore": {
        "configuredName": "App Store",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1938323747
    },
    "com.apple.TVShows": {
        "configuredName": "TV Shows",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 603468196
    },
    "com.hulu.plus": {
        "configuredName": "Hulu",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 943445252
    },
    "com.apple.TVSearch": {
        "configuredName": "Search",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1325395214
    },
    "com.cbsbrand.video": {
        "configuredName": "CBS",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3635644161
    },
    "com.apple.TVPhotos": {
        "configuredName": "Photos",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3347068108
    },
    "com.apple.TVHomeSharing": {
        "configuredName": "Computers",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1149221640
    },
    "com.apple.TVMusic": {
        "configuredName": "Music",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2318275026
    },
    "com.adrise.tubitv": {
        "configuredName": "Tubi",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2106225730
    },
    "com.apple.TVWatchList": {
        "configuredName": "Apple TV",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1165595439
    },
    "com.getchannels.dvr.beta": {
        "configuredName": "Channels",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 2484894922
    },
    "com.amazon.cosmiccrisp": {
        "configuredName": "Freevee",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2177104181
    },
    "com.google.ios.youtube": {
        "configuredName": "YouTube",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 3498025792
    },
    "com.rumble.battles": {
        "configuredName": "Rumble",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3210843095
    },
    "com.apple.TVMovies": {
        "configuredName": "Movies",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3171583122
    },
    "com.apple.facetime": {
        "configuredName": "FaceTime",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1999355136
    },
    "com.apple.Fitness": {
        "configuredName": "Fitness",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 165566846
    },
    "com.firecore.infuse": {
        "configuredName": "Infuse",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3928496554
    },
    "com.espn.ScoreCenter": {
        "configuredName": "ESPN",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1316978176
    },
    "tv.pluto.ios": {
        "configuredName": "Pluto TV",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 581251333
    },
    "com.abcdigital.abc.videoplayer": {
        "configuredName": "ABC",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 3944456009
    },
    "com.apple.TVSettings": {
        "configuredName": "Settings",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2130633348
    },
    "com.netflix.Netflix": {
        "configuredName": "Netflix",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2522907556
    },
    "com.nbcuni.nbc.portal": {
        "configuredName": "NBC",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2421828763
    },
    "com.americasvoicenews.americasvoice": {
        "configuredName": "Real America’s Voice",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 1683675306
    },
    "com.apple.TestFlight": {
        "configuredName": "TestFlight",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 360579882
    },
    "com.screenmedia.popcornflix": {
        "configuredName": "Popcornflix",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1936419535
    },
    "com.ookla.speedtest": {
        "configuredName": "Speedtest",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1224135278
    },
    "com.crackle.crackle-iphone": {
        "configuredName": "Crackle",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1175978640
    },
    "com.amazon.aiv.AIVApp": {
        "configuredName": "Prime Video",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1405852026
    },
    "com.plexapp.plex": {
        "configuredName": "Plex",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 2853713478
    },
    "com.apple.podcasts": {
        "configuredName": "Podcasts",
        "isConfigured": 1,
        "visibilityState": 1,
        "identifier": 1155383753
    },
    "nbctve://live/golf": {
        "configuredName": "nbctve://live/golf",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 2072840025
    },
    "http://nbctve://live/golf": {
        "configuredName": "http://nbctve://live/golf",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 312822246
    },
    "https://www.nbc.com/live?brand=nbc-news": {
        "configuredName": "https://www.nbc.com/live?brand=nbc-news",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 1316394462
    },
    "https://disneyplus.com": {
        "configuredName": "https://disneyplus.com",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 2939690788
    },
    "https://nocords.xyz/pluto/playlist.m3u": {
        "configuredName": "https://nocords.xyz/pluto/playlist.m3u",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 2721076665
    },
    "https://pubads.g.doubleclick.net/pcs/click?xai=AKAOjsu2S7kj5J0bxlnRVfKLsUK82LjayJ4ScgXnIs5wI1JWat3P4nZDOxMwISr5fX3k3qvy6N1fQxOk-7xwtoar1h_v4lSrETwHISJ3qXayB6MEYoRHM_uTM3JecElURiOykfup35Y7BWKKbSw2V2oVYVGLlRlgbmAIKBF_eYD2BObW9epikS6p4WIWoYi9ltIVU6YZAjtuA6DNrY-Kmu4yoDOo2g4H7_V4PV04HcM1m1nQj0u3ruUZsFhXnYyxT41iqiMbelX2sReSItrciBRPLLtX8913Yh188R5KV34VfwOTLjEM6fGs_mn5vFScoH0pMiJmZYHG-y9Yr3k6OKf6pXA1X_QOryqAMQ&sai=AMfl-YThw_NoW-EEkLlXtmpmzW-sFBFrnDxCRz2dwCW9boXQD-vsKxTxobyNgn06slPiCF36M4am9bM_0xYFn2eWijW8i2Rw4LBwEn8ND3UzdrJZFq5nGsJC6vfokycLyl_V3gg0u1mlAKc6mRb0YL8PT18V&sig=Cg0ArKJSzDLbhTw16TPd&fbs_aeid=[gw_fbsaeid]&adurl=https://www.cwtv.com": {
        "configuredName": "https://pubads.g.doubleclick.net/pcs/click?xai=AKAOjsu2S7kj5J0bx",
        "isConfigured": 1,
        "visibilityState": 0,
        "identifier": 1859684931
    }
}

@maxileith: Looks good to me. Currently I have no clue where this problem is coming from ...

@ahwman: I’ll keep an eye on it to see if I can find a pattern and report back. 😀

github-actions[bot] commented 9 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 8 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.