Open lexwm opened 3 years ago
@lexwm , do you see all these 3 lines together?
Notification Sent
HomeKit Session terminated.
HomeKit Session terminated.
Or does HomeKit Session terminated
occur some time later?
HomeKit Session Terminated typically occurs when the controller closes the connection. Else, you would see the "Decryption error/Connection Lost" message.
it's all clear. I do not understand why the controller hangs and does not respond long enough after session terminated? Why I see In Apple Home Application - device shows as not available ?
I've seen the same error message and behavior.
In my case the problem was caused by my Ubiquiti Aircube AC. An upgrade of the firmware solved it and I had not a single disconnect after that. So check your network environment.
Hello. I have problem on ESP32. I use latest versions esp-homekit-sdk and esp-idf v4.3. Python 3.9.4. macOS Big Sur 11.4. Processor M1. I took a simple example of a light bulb as it is (without corrections on my part). Compiled / flash ESP32 successful. Without any errors / warnings. The first few minutes of work, everything is fine. After about 1 minutes, the connection is broken and the chip does not respond. Config and other options set by default.
This is about one minute of work of the chip. After last Session terminated chip don’t respond. Any logs. In Apple Home Application - device shows as not available. After about 10 minutes awaiting chip start new session.
It works again for about one minute і hangs again. So the process is repeated endlessly. Please tell me what could I have done wrong? What i needs to be checked?