grzegorz914 / homebridge-melcloud-control

Homebridge plugin for Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation, publish as dynamic external platform accessory.
MIT License
49 stars 2 forks source link

Plugin not compatible with bridge mode in homekit #20

Closed CyberMrProper closed 1 year ago

CyberMrProper commented 1 year ago

When I switch the child bridge mode ON in my homebridge instance, the accessory is not being registered as part of the bridge. I think it remains as an external accessory instead of contained within the process. It would be great to make it compatible with this feature as I have several accessories and this improves performance.

grzegorz914 commented 1 year ago

Will newer be a part of bridge, child bridge is always registered as independent accessory, this mode prevent crash whole Homebridge if something happens with the plug-in itself. This mode also get possibility to restart plugi without restart whole Homebridge. So all is working ok with my plugin.

P.S. - after enable child bridge need to restart homebridge to apply the changes.

CyberMrProper commented 1 year ago

Maybe I got confused since for other bridges the accessory appears as part of the bridge details. See screenshots: 835E2A2C-B72D-478E-AA66-C11D83792562_1_101_o

07D77C48-962A-4C00-B320-9B15FE4251DF_1_101_o

grzegorz914 commented 1 year ago

The plug-in is registered as an external dynamic accessory, every device need to be paired manually. https://developers.homebridge.io/#/api/platform-plugins#apipublishexternalaccessories

Your Roborock is just normal platform or accessory direct.

CyberMrProper commented 1 year ago

Got it, thanks! I will close the issue then.

CyberMrProper commented 1 year ago

Works as expected.