esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 36 forks source link

Can't pair Aqara N100 (BLE) door lock with HomeKit integration after ESPHome update. #6289

Open samvel-galstyan opened 1 month ago

samvel-galstyan commented 1 month ago

The problem

Previously I succeed to pair Aqara N100 door lock with ESP bluetooth proxy. But after some update(I can't mention exact one) it is started to fail while connect.

Which version of ESPHome has the issue?

2024.9.1

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.9.3

What platform are you using?

ESP32

Board

Generic ESP32-devkit

Component causing the issue

HomeKit Device

Example YAML snippet

No response

Anything in the logs that might be useful for us?

An unhandled error occurred while attempting to pair with this device. This may be a temporary failure or your device may not be supported currently: Smart Door Lock N100 EA81 (D7:C7:B2:39:C7:D9) - D7:C7:B2:39:C7:D9: Failed to connect after 9 attempt(s): Error ESP_GATT_CONN_TERMINATE_PEER_USER while connecting: Connection terminated by peer user: Interference/range; External Bluetooth adapter w/extension may help; Extension cables reduce USB 3 port interference

Additional information

I tried to pair the lock using the built-in BLE adapter, instead of ESP bluetooth proxy and it Worked. That is why I think that the problem causes the ESP home integration. There are no distance issue or connectivity issue. My bluetooth proxy is connected to 2.4ghz wifi and signal is 4 out 5 (-60db). I tried to connect ESP32 board using different micro USB cables and power from adapter and Macbook also. Nothing helped.

samvel-galstyan commented 3 weeks ago

@jesserockz can you please look into?