-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bridge is not pairing with multiple accessories #28
Comments
Thanks for sharing! This was most likely due to the When adding multiple accessories to a server, the first one is turned into the bridge accessory. So it makes sense to use the Let me know if this works for you and feel free to open more issues should you run into any other quirks! |
@ewilken Thanks for the support :)
It's seems like the accessories are not getting recognized correctly? Thanks, |
@ewilken Can you support here? I unfortunatelly don't have the specification, so I can't do it myself. |
Sorry for the unresponsiveness! The specification is available here. I can indeed reproduce your issue. An issue I still need to figure out that could be causing these kind of bugs and is blocking an actual release to me is how to persist the structure of accessories added to the server properly over restarts, so that hard-coded We also need to ensure that the I'm hoping to find the time to work on this soon. For the time being, ideas and contributions are of course always welcome! |
But I can't seem to reproduce it consistently. Sometimes it just works and the controller connects back after reopening the Home app or trying to write a characteristic, sometimes it doesn't. 🤔 Will try to investigate further. |
Hm, for me it´s happining right now all the time. the {
"socket_addr": "192.168.178.22:32000",
"pin": {
"pin": [1,1,1,2,2,3,3,3]
},
"name": "Digital Strom Bridge",
"device_id": "0a-14-1e-28-32-3c",
"device_ed25519_keypair":[ 245,155,183,130,6,161,232,131,182,182,176,240,165,118,60,214,232,214,65,38,206,104,10,212,53,157,70,196,99,10,45,144,199,230,251,17,220,235,185,219,241,189,243,146,238,179,27,69,167,15,180,214,236,243,47,104,201,176,186,61,5,238,228,12],
"configuration_number": 28,
"state_number": 1,
"category": "Bridge",
"protocol_version": "1.0",
"status_flag": "NotPaired",
"feature_flag": "Zero",
"max_peers": null
} Then there is a {"id":"a17c9219-47d1-40a6-a143-e771b54abcd0","permissions":"0x01","public_key":[68,248,84,15,172,220,170,219,155,195,158,97,88,17,100,88,86,115,239,44,245,56,114,165,219,251,132,156,164,187,109,59]} And a {"id":"a0dbf194-6eff-4264-a95c-5497660fedeb","permissions":"0x00","public_key":[51,126,45,93,0,206,82,247,130,184,59,70,86,60,65,237,210,149,109,93,36,95,135,70,117,132,194,90,38,221,157,31]} Which is a little bit confusing why there are two public keys created.... |
Would you mind trying if this issue still occurs with |
Closing. Feel free to reopen should you encounter this again! |
Hi,
the pairing is not working when in the config a bridge (or lightbulb) is defined and multiple accessories are added.
Do you have an idea where this needs to be addressed in the code?
Thanks,
Robert
The text was updated successfully, but these errors were encountered: