esphome / issues

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

Error while reading BLE device #5835

Open sybux opened 4 months ago

sybux commented 4 months ago

The problem

Since update 2024.5.0, I'm getting error while accessing BLE device. Log bellow

Which version of ESPHome has the issue?

2024.5.x

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.5.4

What platform are you using?

ESP32

Board

No response

Component causing the issue

No response

Example YAML snippet

Source code :

substitutions:
  name: out-pool-mgmt
  friendly_name: out-pool-mgmt

packages:
  esphome.bluetooth-proxy: github://esphome/firmware/bluetooth-proxy/esp32-generic.yaml@main

esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

Anything in the logs that might be useful for us?

[17:26:45][D][esp32_ble_tracker:266]: Starting scan...
[17:26:46][I][bluetooth_proxy:278]: [0] [01:02:03:04:05:06] Connecting v3 with cache
[17:26:46][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[17:26:46][I][esp32_ble_client:067]: [0] [01:02:03:04:05:06] 0x00 Attempting BLE connection
[17:27:02][D][esp32_ble_client:110]: [0] [01:02:03:04:05:06] ESP_GATTC_CONNECT_EVT
[17:27:02][D][esp32_ble_client:110]: [0] [01:02:03:04:05:06] ESP_GATTC_OPEN_EVT
[17:27:02][I][esp32_ble_client:154]: [0] [01:02:03:04:05:06] Connected
[17:27:02][D][esp32_ble_tracker:266]: Starting scan...
[17:27:02][D][esp32_ble_client:188]: [0] [01:02:03:04:05:06] cfg_mtu status 0, mtu 32
[17:27:03][D][esp32_ble_client:110]: [0] [01:02:03:04:05:06] ESP_GATTC_READ_CHAR_EVT
[17:27:03][I][esp32_ble_client:084]: [0] [01:02:03:04:05:06] Disconnecting.
[17:27:03][D][esp-idf:000][BTU_TASK]: W (1794338) BT_HCI: hci cmd send: disconnect: hdl 0x0, rsn:0x13
[17:27:03][D][esp-idf:000][BTU_TASK]: W (1794344) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x16
[17:27:03][D][esp-idf:000][BTU_TASK]: W (1794346) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x16
[17:27:03][D][esp-idf:000][BTU_TASK]: W (1794347) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x16
[17:27:03][D][esp32_ble_client:110]: [0] [01:02:03:04:05:06] ESP_GATTC_CLOSE_EVT
[17:27:03][D][esp-idf:000][BTU_TASK]: W (1794420) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x16

Additional information

No response

MrBurnst commented 4 days ago

any news on that? I have the same problem ...