Git Product home page Git Product logo

Comments (6)

lumenhu avatar lumenhu commented on June 4, 2024

me too, it worked very well two days ago, but I encounter this problem today.

from arduino-homekit-esp8266.

blazing1991 avatar blazing1991 commented on June 4, 2024

Exactly same here, I'm on latest iOS 17.1.1

from arduino-homekit-esp8266.

yvesgarnier avatar yvesgarnier commented on June 4, 2024

i have the same issue. have you already found the solution? could it be because it is not possible to enter the correct password format? 111-11-111 instead of 1111-1111?

from arduino-homekit-esp8266.

lumenhu avatar lumenhu commented on June 4, 2024

I resolved the issue by thoroughly erasing the flash, then reprogramming the firmware to the ESP chip and pairing up again. The root cause of this problem lies in the ESP chip, when it pairing up with an iOS device, the chip saves the device’s ID, referred to as 'Client ID'. If you have successfully paired once without a complete flash erase, the ESP chip will detect the same Client ID during the second pairing attempt, then trigger the issue. In short, the solution is to perform a complete flash erase every time before you reprogram the firmware. And it is advisable to delete the device in the Home App before pairing up with your iOS devices.

from arduino-homekit-esp8266.

blazing1991 avatar blazing1991 commented on June 4, 2024

Exactly same here, I'm on latest iOS 17.1.1

I also resolved the issue, in my case the problem was in a defective DHT11 sensor, for some reason it was blocking the ESP from finishing setup.
First I uploaded a clean example of a temperature sensor and it worked flawlessly. Then I replaced the DHT11 sensor and tested it with a simple sketch to make sure it was giving appropriate numbers. Then combined the code and successfully added esp8266 into the homekit.
BUT this piece of sh*t didn't want to work properly anyways, each 1-4h it just loses connection and I had to restart it, which is not what I expected.

After fighting with it for a week I just ended up switching to ESP32 and ESP32-HomeSpan library, which has been working without any problem for a week now.

from arduino-homekit-esp8266.

yvesgarnier avatar yvesgarnier commented on June 4, 2024

hey! thanks a lot for your support. i have disconnected all hardware from the pin and erased the flash using the terminal, but still have this issue. when i set following setting do i still need to erase the flash manually?

Bildschirmfoto 2023-12-07 um 20 26 46

i am able to see the device in the home app but when i try to connect it it shows following message, which translated means: the device is not compatible

IMG_7497

here the serial monitor:

[ 46228] HomeKit: [Client 1073682756] Pair Setup Step 1/3
Current temperature: -127.0
Free heap: 38984, HomeKit clients: 1
Free heap: 39344, HomeKit clients: 1
[ 56389] HomeKit: [Client 1073682756] Pair Setup Step 2/3
[ 56404] HomeKit: Call s_mp_exptmod in integer.c, original winsize 6
[ 75476] HomeKit: Call s_mp_exptmod in integer.c, original winsize 5
Current temperature: -127.0
Free heap: 39504, HomeKit clients: 1
[ 86653] HomeKit: [Client 1073682756] Pair Setup Step 3/3
[ 86696] HomeKit: Call ge_double_scalarmult_vartime_lowmem in ge_low_mem.c
[ 88121] HomeKit: Added pairing with 152FE71A-04F4-4B57-803B-CDBBF1699F93
[ 88225] HomeKit: Free saved_preinit_pairing_context
[ 88231] HomeKit: [Client 1073682756] Successfully paired
[ 88367] HomeKit: [Client 1073682756] Disconnected!
[ 88372] HomeKit: [Client 1073682756] Closing client connection
[ 88504] HomeKit: Got new client: local 192.168.1.15:5556, remote 192.168.1.148:55353
[ 88516] HomeKit: [Client 1073682756] Pair Verify Step 1/2
[ 89009] HomeKit: Free heap: 41648
[ 89058] HomeKit: [Client 1073682756] Pair Verify Step 2/2
[ 89065] HomeKit: [Client 1073682756] Found pairing with 152FE71A-04F4-4B57-803B-CDBBF1699F93
[ 89095] HomeKit: Call ge_double_scalarmult_vartime_lowmem in ge_low_mem.c
[ 90538] HomeKit: [Client 1073682756] Verification successful, secure session established
[ 90547] HomeKit: Free heap: 41664
Free heap: 41800, HomeKit clients: 1
[ 90633] HomeKit: [Client 1073682756] Get Accessories
[ 90831] HomeKit: [Client 1073682756] Disconnected!
[ 90836] HomeKit: [Client 1073682756] Closing client connection

from arduino-homekit-esp8266.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.