nicoduj / homebridge-harmony

Harmony websocket plugin for homebridge
The Unlicense
215 stars 23 forks source link

iOS 14 TV Accessory #282

Closed pascal0906 closed 4 years ago

pascal0906 commented 4 years ago

is there any possibility to get my TV‘s get to work with newest iOS 14? at the moment they‘re just home Symbols and i cant trigger the with any shortcut.

DFAA2ED1-B4A1-460B-91BB-C3FC5B606AB2

A5CEAAA9-89E6-4A20-A242-AB0865C07409

dkrizic commented 4 years ago

I observed the same: image

But I would stay cool, this is the very first beta, many to come.

nicoduj commented 4 years ago

Hi , first beta was released yesterday evening , so I had no chance to check for the moment !. From my setup, the icon seems broken but the inputs are still listed and services reported. I will check ASAP, but can you confirm it does not work at all or only a display issue ?

pascal0906 commented 4 years ago

for me it workes when i push the button in home app, but when i put some devices in a shortcut, i choose the tv but, shortcuts does not recognize it as a tv accessory

nicoduj commented 4 years ago

I have checked, as far as I can tell commands including remote are working on IOS 14, only the icon is not good. When setup it sees it is a TV and asks to rename inputs. but like you said, they are not visible in shortcut app. I think the type is not ok, don't know if it is homebridge / hap related or IOS 14 (probably IOS14 !)

nicoduj commented 4 years ago

Ok, it seems IOS 14 does not like anymore Tv that are bridged. you have to publish them as externalAccessories with this option : publishAllTVAsExternalAccessory

pascal0906 commented 4 years ago

i try this but for me it looks like that in homekit:

image

image

any ideas?

nicoduj commented 4 years ago

You have to remove the old cached accessory (through config UI), and then publish the nnew one as external, and add it manually (not added with the bridge) - same code.

pascal0906 commented 4 years ago

got the right icons back, bit in iOS 14 beta 1 still not possible to integrate these TV accessories in shortcuts! thanks for your help :)

AdlerCentauri commented 4 years ago

@horst69 was ist das für eine App? Wo Du da alles einstellst.

pascal0906 commented 4 years ago

das is die App hier:

https://apps.apple.com/de/app/homemanager-f%C3%BCr-homebridge/id1440396849

kostet zwar, aber ist auf jedenfall hilfreich

AdlerCentauri commented 4 years ago

Dankeschön @horst69

nicoduj commented 4 years ago

Seems ok in beta 2 of iOS 14, and integration in shortcut seems possible again

nicoduj commented 4 years ago

Seems ok for me in beta4

genfersee commented 4 years ago

Hello, just updated from iOS13.7 to iOS14 this morning and I have the issue. Small house icon is displayed for my main Harmony Hub.

nicoduj commented 4 years ago

You have to publish as external accessory, they reverted the changes in final version, nothing I can do about

genfersee commented 4 years ago

Hi Nico, do you mean as "otherPlatforms"?

"platforms": [ { "platform": "HarmonyHubWebSocket", "name": "Harmony", "hubIP": "XXX", "TVPlatformMode": true, "mainActivity": "Apple TV Salon", "switchAccessories": false, "devicesToPublishAsAccessoriesSwitch": [ "Apple TV|PlayPause;Play" ], "publishGeneralMuteSwitch": true, "activitiesToPublishAsInputForTVMode": [ "Cable Salon", "Apple TV Salon", "PS3 Salon", "Airplay Salon" ], "otherPlatforms": [ { "name": "Harmony_Chambre", "hubIP": XXX, "TVPlatformMode": true, "mainActivity": "Apple TV Chambre", "switchAccessories": false, "activitiesToPublishAsInputForTVMode": [ "Cable Chambre", "Apple TV Chambre", "PS3 Chambre" ] } ]

nicoduj commented 4 years ago

Every tv published through a bridge won’t have the correct icon. You must use publishaszxternalacczssories option

genfersee commented 4 years ago

Now working, many thanks Nico!