normen / homebridge-bravia

Homebridge plugin for Sony Bravia TVs (AndroidTV based ones and possibly others)
139 stars 26 forks source link

iOS 14 GM shows TVs with Home icon not as TV #124

Closed mickeyc515 closed 4 years ago

mickeyc515 commented 4 years ago

It’s my understanding that the TV needs to be identified as something different to display correctly as a TV in iOS 14 GM. If I come across the change needed, I’ll add details. 220900F6-E8FA-471C-960E-4732332F6920

dnwilliams78 commented 4 years ago

Same issue here.

lcshmn commented 4 years ago

see #114 - since iOS14 GM Apple reverted something so TVs need to be published as an external accessory again to display properly. Try setting "externalaccessory" to true in your configurations - that worked for me!

normen commented 4 years ago

Yeah, I also explicitly set the accessory category since v2.3.2 to avoid this but it seems that TVs now need to be external accessories to work properly - though except for the icon thing my TV seems to work fine like before.

mickeyc515 commented 4 years ago

Agree. It seems to work just fine. I did enable external accessory for both my bravias. They still show as a house and only one shows in the remote app.

Anything specific I need to do?

This is my config now: { "tvs": [ { "name": "Family Room TV", "ip": "192.168.1.73", "externalaccessory": true, "soundoutput": "speaker", "tvsource": "tv:dvbt" }, { "name": "Master Bedroom TV", "ip": "192.168.1.127", "externalaccessory": true, "soundoutput": "speaker", "tvsource": "tv:dvbt" } ], "platform": "BraviaPlatform" },

lcshmn commented 4 years ago

remove it from your cachedAccessories first e.g. by temporarly removing the entrys from your config (while keeping the plugin itself installed) and restarting homebridge once.

mickeyc515 commented 4 years ago

This did the trick. I ended up deleting the entries and setting them back up. Thank you.

normen commented 4 years ago

Cool. So it seems externalaccessory should be the default now.. I guess I'll have to push a 2.4 update at some point with externalaccessory as default and some updated docs on adding the TV via the code.

normen commented 4 years ago

So as external accessory mode is broken (homebridge doesn't store the TV in its cache) I had to disable it for now, reopening this so ppl find this issue. Any hints on how to make homebridge store external accessories in its cache are very welcome.

mickeyc515 commented 4 years ago

Yes I realized this issue late in the night. I also realized it as I kept trying to set up my second tv.

normen commented 4 years ago

Okay, the latest version has a working external accessory mode, you will have to re-create or rename your TV after enabling it though.

It comes with some caveats, the TV channels are not stored on homebridge reboots, I'd have to create the whole dynamic platform storage stuff myself... or homebridge adds accessory caching for external accessories.

Edit: And again, for me everything works just as before except for the icon.

benjaminbogdanovic commented 4 years ago

When you say everything works for you as before, apart from the icon, are you running in "normal" mode, or in external accessory mode?

I am in "normal" mode, and have the icon issue, but everything else is still working post the iOS 14 update. Is there any gain to swapping modes? Apart from the icon potentially? If it ain't broke, don't fix it? 😅

normen commented 4 years ago

Yeah, normal mode, thats why I say it. I don't see much of a reason to switch.

ryoma3111 commented 4 years ago

Same issue

Sh0n commented 3 years ago

For me, put externalaccessory to true make disappear my TV from Homekit...wired !

normen commented 3 years ago

For me, put externalaccessory to true make disappear my TV from Homekit...wired !

Well it's an external accessory then, you have to add it manually, as explained in the README

Sh0n commented 3 years ago

For me, put externalaccessory to true make disappear my TV from Homekit...wired !

Well it's an external accessory then, you have to add it manually, as explained in the README

Yes sure, but when i scan the code, only bridge is detected, but no TV :(