Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

Stuck on Pair step 2

Open rashn opened this issue 3 years ago • 1 comments

Dear sir, please help me. I try to flash example sketch into Sonoff and Wemos R1 mini, but log and trouble is same. What wrong?

WiFi connecting... .................................................................................. WiFi connected, IP: 192.168.1.170

[ 9121] HomeKit: Update the CPU to run at 160MHz [ 9128] HomeKit: Starting server [ 9132] HomeKit: Formatting HomeKit storage at 0x3fb000 [ 9171] HomeKit: Generated new accessory ID: 4D:C8:A0:F3:42:66 [ 9228] HomeKit: Generated new accessory key [ 9234] HomeKit: Preiniting pairing context [ 9239] HomeKit: Using user-specified password: 211-11-111 [ 9260] HomeKit: Call s_mp_exptmod in integer.c, original winsize 6 [ 15290] HomeKit: Call s_mp_exptmod in integer.c, original winsize 5 [ 18383] HomeKit: Preinit pairing context success [ 18388] HomeKit: Configuring MDNS [ 18392] HomeKit: Init server over Current temperature: 23.0 Free heap: 44384, HomeKit clients: 0 [ 21409] HomeKit: WiFi connected, ip: 192.168.1.170, mask: 255.255.255.0, gw: 192.168.1.1 [ 21418] HomeKit: Configuring MDNS [ 21424] HomeKit: MDNS begin: Temperature Sensor, IP: 192.168.1.170 Free heap: 42992, HomeKit clients: 0 [ 26080] HomeKit: Got new client: local 192.168.1.170:5556, remote 192.168.1.165:61487 [ 26090] HomeKit: [Client 1073680828] Pair Setup Step 1/3 Current temperature: 20.0 Free heap: 41368, HomeKit clients: 1 [ 29285] HomeKit: [Client 1073680828] Pair Setup Step 2/3 [ 29300] HomeKit: Call s_mp_exptmod in integer.c, original winsize 6 [ 47230] HomeKit: Call s_mp_exptmod in integer.c, original winsize 5 Current temperature: 15.0 Free heap: 40512, HomeKit clients: 1 [ 56120] HomeKit: [Client 1073680828] Disconnected! [ 56126] HomeKit: [Client 1073680828] Closing client connection [ 56132] HomeKit: Free saved_preinit_pairing_context [ 56137] HomeKit: [Client 0] Clear the pairing context [ 56152] HomeKit: Preiniting pairing context [ 56157] HomeKit: Using user-specified password: 211-11-111 [ 56192] HomeKit: Call s_mp_exptmod in integer.c, original winsize 6 [ 68279] HomeKit: Call s_mp_exptmod in integer.c, original winsize 5 [ 74466] HomeKit: Preinit pairing context success Current temperature: 23.0 Free heap: 43344, HomeKit clients: 0 [ 74571] HomeKit: WiFi connected, ip: 192.168.1.170, mask: 255.255.255.0, gw: 192.168.1.1 [ 74580] HomeKit: Configuring MDNS [ 74586] HomeKit: MDNS restart: Temperature Sensor, IP: 192.168.1.170 [ 76701] HomeKit: Got new client: local 192.168.1.170:5556, remote 192.168.1.165:61488 [ 76711] HomeKit: [Client 1073676908] Pair Setup Step 1/3 [ 76850] HomeKit: [Client 1073676908] Pair Setup Step 2/3 [ 76865] HomeKit: Call s_mp_exptmod in integer.c, original winsize 6 [ 94368] HomeKit: Call s_mp_exptmod in integer.c, original winsize 5 Current temperature: 12.0 Free heap: 40560, HomeKit clients: 1 [ 103054] HomeKit: [Client 1073676908] Disconnected! [ 103059] HomeKit: [Client 1073676908] Closing client connection [ 103065] HomeKit: Free saved_preinit_pairing_context [ 103070] HomeKit: [Client 0] Clear the pairing context [ 103086] HomeKit: Preiniting pairing context [ 103090] HomeKit: Using user-specified password: 211-11-111 [ 103125] HomeKit: Call s_mp_exptmod in integer.c, original winsize 6 [ 115181] HomeKit: Call s_mp_exptmod in integer.c, original winsize 5 [ 121181] HomeKit: Preinit pairing context success Current temperature: 24.0 Free heap: 43392, HomeKit clients: 0 [ 123203] HomeKit: WiFi connected, ip: 192.168.1.170, mask: 255.255.255.0, gw: 192.168.1.1 [ 123212] HomeKit: Configuring MDNS [ 123218] HomeKit: MDNS restart: Temperature Sensor, IP: 192.168.1.170

rashn avatar Oct 20 '20 14:10 rashn

Your WiFi connection is unstable and your WiFi is unconnected while pairing. Every line 'WiFi connected, ip: xxxxxx' shows that your WiFi reconnected. Note: Do NOT use WiFi HOSPOT.

Mixiaoxiao avatar Nov 03 '20 12:11 Mixiaoxiao