-
Notifications
You must be signed in to change notification settings - Fork 60
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
Not able to pair with Homekit under iOS 14.4. #37
Comments
Hello,
|
|
Evening,
|
I am seeing the same pairing issue with iOS 14.3 and ESP8266 (Wemos mini). Pairing does not complete on the phone, but appears to complete on the ESP8266. Using wolfSSL 3.13.0 and typing in the 111-11-111 code.
after deleting pair.dat 2 times it worked. Here's the serial output when it worked:
Please let me know if I can provide any more information. |
Hi eford321, I'm working on that, how to improve. but now on ESP8266 only a way to start pairing again |
This appears to be a connection timing problem with mDNS. The mDNS process is restarted and creates a race condition at the time apple is trying to connect to the paired device. The mDNS host is not resolvable until the race condition ends. Apple doesn't appear to try the connection again. See this log with MDNS debug turned on:
[MDNSResponder] _callProcess (109644, triggered by: 192.168.1.15) [MDNSResponder] _sendHostProbe (Blind, 109668) [MDNSResponder] _sendServiceProbe (Blind-2488.hap.tcp, 109692) [MDNSResponder] _sendHostProbe (Blind, 109943) [MDNSResponder] _sendServiceProbe (Blind-2488.hap.tcp, 109988) [MDNSResponder] _sendHostProbe (Blind, 110218) [MDNSResponder] _sendServiceProbe (Blind-2488.hap.tcp, 110283) [MDNSResponder] _updateProbeStatus: Done host probing. [MDNSResponder] _updateProbeStatus: Done service probing Blind-2488.hap.tcp [MDNSResponder] _updateProbeStatus: Prepared service announcing. [MDNSResponder] _callProcess (110672, triggered by: 192.168.1.168) [MDNSResponder] _callProcess (111394, triggered by: 192.168.1.15) [MDNSResponder] _announce: Announcing host Blind (content 0x3) [MDNSResponder] _announceService: Announcing service Blind-2488.hap.tcp (content 0xF0) [MDNSResponder] _announce: Announcing host Blind (content 0x3) [MDNSResponder] _announceService: Announcing service Blind-2488.hap.tcp (content 0xF0) [MDNSResponder] _announce: Announcing host Blind (content 0x3) [MDNSResponder] _announceService: Announcing service Blind-2488.hap.tcp (content 0xF0) [MDNSResponder] _callProcess (114566, triggered by: 192.168.1.213) [MDNSResponder] _announce: Announcing host Blind (content 0x3) [MDNSResponder] _announceService: Announcing service Blind-2488.hap.tcp (content 0xF0) [MDNSResponder] _announce: Announcing host Blind (content 0x3) [MDNSResponder] _announceService: Announcing service Blind-2488.hap.tcp (content 0xF0) |
Also, from repeated testing, success rate is about 25% instead of the 3rd attempt. If the race condition is resolved prior to the connection attempt the connection is successful. |
Thanks for the hints and attached logs ! Looks that problem is found , I will check it and think about the way of solving.
…Sent from my iPhone
On 29 Jan 2021, at 19:42, eford321 ***@***.***> wrote:
Also, from repeated testing, success rate is about 25% instead of the 3rd attempt. If the race condition is resolved prior to the connection attempt the connection is successful.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi eford321, you really show me a right way !!! |
I am happy I could help! |
Hi commit are in repo. As well tagged by v1.0.7 |
Got it! Thanks again. |
Keep me informed, you really give me a right root cause
…Sent from my iPhone
On 30 Jan 2021, at 16:31, eford321 ***@***.***> wrote:
Got it! Thanks again.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hello,
this library is exactly what I was looking for. Easily create some lights to integrate into homekit without an additional bridge etc. Thanks a lot for this!
I tried several of the example sketches but were never able to successfully pair with HomeKit. I used my iPhone 12 mini with the first public beta of iOS 14.4.
Just now I used an old iPad with 12.4. installed and pairing worked without problem. So maybe they changed something?
This is the Output on Serial:
On the iOS side: I enter the pasword (all 1s) then it starts to pair but never finishes. I waited quite a bit, but nothing.
I have deleted the pair.dat through the webserver and then tried again several times, but it never finishes.
The QR-Code is not generated properly. After uploading the sketch the setup.html is 0 KB. After the failed pairing the QR-code is generated, but when I use it, Homekit tells me I have to reset the device, because it is already paired. But it is not visible in Homekit.
Setup: LOLin v3 NodeMCU ESP8622
MacOS Catalina 10.14.6
The text was updated successfully, but these errors were encountered: