Open sdugoten opened 2 years ago
I got exactly same issue.
Homebridge version: 1.3.8 Homebridge Bravia Tvos version: 5.0.8
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.
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.
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. "?
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.
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.
Ok, there are more tricks needed in order to get it to work.
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.
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.
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.
After restarting the Homebridge the last time, it should show the channel, volume and on/off switch in one single page like below
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?