Open pierreauclair opened 4 years ago
It is really strange. Full logs will help maybe (in a txt file, keeping DEBUG log disabled is enough).
Thanks fro your answer. Here are 3 consecutive tries.
Homekit_8266_verify_step_1_2.log : The process seems to be stopped after pairing in the middle of the verification.
Homekit_8266_pair_step_3_3.log : The process seems to be working as far as pairing is concerned but then the socket is disconnected.
Homekit_8266_lost_loop.log : It looks like everything is fine but the iOS device can't still register the accessory.
And sometimes, it works.
Thanks for your help.
Regards.
I can't make '...1_2.log' and '...3_3.log' happen on my devices. The '...loop.log' is caused by 'Setup Step 2/3' is too slow that iOS disconnects by timeout, but it happens rarely and you should reboot your ESP to retry.
I guess your problems are caused by your network environment. Maybe you can try
I'll try that. Thanks for your help. I'll keep you posted. BR
Did you compile with 160MHz CPU frequency?
I'll try that. Thanks for your help. I'll keep you posted. BR
Hie @pierreauclair,
could you solve your issue?
i faced this issue in case that esp was connected to laptop with port monitor. after connection to normal PSU all issues was resolved.
Dear Mixiaoxiao, dear all,
First of all, thanks Mixiaoxiao for your work porting Homekit to ESP8266. This is a fantastic help for DIY hobbyists.
I am using your library (HomeKit-ESP8266@1.2.0) with an ESP8266 on a NodeMCU V3 board and I ‘m having some problems.
Sorry to bother with what might be a trivial problem.
For the sake of understanding, I'm using the temperature_sensor example you have provided.
The process of pairing seems very unpredictable. I could pair the device only once in 20 or 30 attempts.
Most of the time, the process stops at Pair setup step 2 / 3 with a message `
`>>> [ 66273] HomeKit: [Client 1073678340] Pair Verify Step 2/2
But in reality, the HomeKit hub was not able to pair with the accessory. My iPhone (iOS 13.5.1) shows "unable to add ... Could not connect to the accessory" (translated from French).
It looks like the connection was somehow broken. Have you ever encountered something like this ? Am I the one one having this problem ?
Thanks in advance for sharing your experience. Regards