Skip to content

8 accessories initialized force the 1st one to be considered as a Hub/HomeBridge #141

@simkard69

Description

@simkard69

Hello,

I had to do some tweaks to the library in order to be able to initialize more than 7 accessories at the same time.
While initializing 8, HomeKit UI considers the 1st one (the main accessory) as a Hub/HomeBridge and avoids using its services.
Moreover, client gets disconnected and updating whatever value on whatever accessory fails the 1st time and needs to be updated again.
Here is an output of what is happening (notice the timestamps) :

19:19:14.750 -> >>> HomeKit: [Client 49] Closing client connection          // This is not happening when using 7 accessories
19:19:18.257 -> >>> HomeKit: Got new client connection: 49
19:19:18.257 -> >>> HomeKit: [Client 49] Pair Verify Step 1/2
19:19:18.289 -> >>> HomeKit: [Client 49] Pair Verify Step 2/2
19:19:18.332 -> >>> HomeKit: [Client 49] Found pairing with 808FF924-3E08-4301-9626-58130226B6E1
19:19:18.332 -> >>> HomeKit: [Client 49] Verification successful, secure session established
19:19:18.379 -> >>> HomeKit: [Client 49] Get Accessories
19:19:18.443 -> >>> HomeKit: [Client 49] Get Characteristics
19:19:18.443 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:18.443 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:18.443 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:18.475 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:18.475 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:18.475 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:18.475 -> >>> HomeKit: [Client 49] Update Characteristics
19:19:23.539 -> >>> HomeKit: [Client 49] Closing client connection          // This is not happening when using 7 accessories

Can anyone please help me out on that one ? @Yurik72 ? Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions