seydx / homebridge-bravia-tvos

Homebridge plugin for Sony Bravia Android TVs
MIT License
346 stars 32 forks source link

No Channel/app/input selection in Homekit nor Homebridge #177

Open sdugoten opened 2 years ago

sdugoten commented 2 years ago

After installing the plugin, I have the icon to turn on/off, changing volume, but channel selection is not available in both Homekit and Homebridge.

HomeKit show something like this https://i.imgur.com/UggoMrT.jpeg

Homebridge website show something like below https://i.imgur.com/axlWFNF.jpeg

The channel does show up in the configuration screen like below, it just not showing a tile that allow you to change channel/app/input in homebridge nor home kit.

https://i.imgur.com/oZWdlBh.jpeg

Am I missing something here?

alexqyle commented 2 years ago

I got exactly same issue.

Homebridge version: 1.3.8 Homebridge Bravia Tvos version: 5.0.8

valiquette commented 2 years ago

I had the same issue but resolved it. I am running the plugin as a child bridge and yet is seemed to be to the main bridge. I removed the accessory from homkit then removed the TV accessory from hombridge in hombridge settings and the plugin bridge which was added somewhere along the way.

alexqyle commented 2 years ago

Thanks @valiquette, child bridge is the trick here. I remove the TV accessory from both HomeKit and HomeBridge (delete it from the plug-in). Then I changed the plug-in to be child bridge mode. Restart HomeBridge. Pair child bridge with HomeKit. Then add my TV in the plug-in again along with all inputs and apps configured. Restart HomeBridge again. Pair the TV with HomeKit. It should tell you it finds all inputs and apps. If not, make sure those are shown as separated accessories inside TV accessory in HomeKit. Then force close HomeKit app and restart it. It should now work.

sdugoten commented 2 years ago

Thanks @valiquette, child bridge is the trick here. I remove the TV accessory from both HomeKit and HomeBridge (delete it from the plug-in). Then I changed the plug-in to be child bridge mode. Restart HomeBridge. Pair child bridge with HomeKit. Then add my TV in the plug-in again along with all inputs and apps configured. Restart HomeBridge again. Pair the TV with HomeKit. It should tell you it finds all inputs and apps. If not, make sure those are shown as separated accessories inside TV accessory in HomeKit. Then force close HomeKit app and restart it. It should now work.

I finish "Pair child bridge with HomeKit. "

Then, how to "add my TV in the plug-in again along with all inputs and apps configured. "?

alexqyle commented 2 years ago

I finish "Pair child bridge with HomeKit. "

Then, how to "add my TV in the plug-in again along with all inputs and apps configured. "?

Same way how you configured your TV with the plug-in initially. https://github.com/seydx/homebridge-bravia-tvos#configuration-config-ui-x. Note that you have to remove the TV from plug-in before switching to child bridge.

valiquette commented 2 years ago

You may not have to remove the TV from the plugin, just remove the accessory from the cached accessories from the homebridge settings, then you will not have to re-configure your TV. It is not required as far as I can tell to pair the child bridge, since there are no bridge accessories in the plugin. Force restarting HomeKit does seem to be a must.

sdugoten commented 2 years ago

Ok, there are more tricks needed in order to get it to work.

  1. When you add the TV in the plug-in once again after you change to child bridge mode , you HAVE to add the TV in a different name than what you were used on the child bridge. Just use some other name than the first time you used. Otherwise, it won't see the newly add TV.

  2. After you add the TV and able to choose from the drop down list and click on the edit button, you will have to manually add every single channel you want to see one by one there. And then add all the application one by one in there also.

  3. Then, you will need to click on the "Configs" link in the plugin, this is where you manually add the channel once again which you do that in step 2. Every single app and channel, need to add one by one manually. Yes, all that once again.

  4. After restarting the Homebridge the last time, it should show the channel, volume and on/off switch in one single page like below

image