Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: AC180 won't connect using Bluetooth Proxy #110

Open
drjjr2 opened this issue Jun 2, 2024 · 2 comments
Open

[Bug]: AC180 won't connect using Bluetooth Proxy #110

drjjr2 opened this issue Jun 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@drjjr2
Copy link

drjjr2 commented Jun 2, 2024

What happened?

I have a new AC180 and an ESP32 Bluetooth proxy and while the integration finds the device, it only shows one sensor and one diagnostic that never get updated.

Screenshot 2024-06-02 134511

What version of our software are you running?

0.1.1

What device are you seeing the problem on?

AC180
IoT version v9046.01
ARM version v2107.02
DSP version v2102.02
BMS version v1052.02

What bluetooth connection are you using?

ESPHome bluetooth proxy

Have you changed the integration settings?

false

Integration settings (if you changed them)

No response

Relevant log output

No response

@drjjr2 drjjr2 added the bug Something isn't working label Jun 2, 2024
@drjjr2 drjjr2 changed the title [Bug]: [Bug]: AC180 won't connect using Bluetooth Proxy Jun 3, 2024
@jsaiko
Copy link

jsaiko commented Jun 15, 2024

Hello. I am also getting this error. Here are my logs from the ESP32 proxy.

[22:12:04][W][bluetooth_proxy.connection:081]: [0] [C9:9C:3C:7B:C7:80] Error writing char/descriptor at handle 0x22, status=133
[22:12:04][D][esp32_ble_client:172]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_DISCONNECT_EVT, reason 19
[22:12:04][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[22:12:04][W][bluetooth_proxy:367]: Cannot write GATT characteristic, not connected
[22:12:24][I][bluetooth_proxy:282]: [0] [C9:9C:3C:7B:C7:80] Connecting v3 without cache
[22:12:24][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[22:12:24][I][esp32_ble_client:067]: [0] [C9:9C:3C:7B:C7:80] 0x00 Attempting BLE connection
[22:12:24][D][esp-idf:000][BTU_TASK]: W (2091377) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x3e

[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_CONNECT_EVT
[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_OPEN_EVT
[22:12:24][D][esp32_ble_tracker:266]: Starting scan...
[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_SEARCH_CMPL_EVT
[22:12:24][I][esp32_ble_client:227]: [0] [C9:9C:3C:7B:C7:80] Connected
[22:12:24][D][esp32_ble_client:188]: [0] [C9:9C:3C:7B:C7:80] cfg_mtu status 0, mtu 517
[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_REG_FOR_NOTIFY_EVT
[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_WRITE_DESCR_EVT
[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_NOTIFY_EVT
[22:12:24][D][esp-idf:000][BTU_TASK]: W (2091902) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x13

[22:12:24][D][esp-idf:000][BTU_TASK]: W (2091906) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x13

[22:12:24][D][esp-idf:000][BTU_TASK]: W (2091908) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x13

[22:12:24][D][esp-idf:000][BTU_TASK]: W (2091910) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13

[22:12:24][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_WRITE_CHAR_EVT
[22:12:24][W][bluetooth_proxy.connection:081]: [0] [C9:9C:3C:7B:C7:80] Error writing char/descriptor at handle 0x22, status=133
[22:12:24][D][esp32_ble_client:172]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_DISCONNECT_EVT, reason 19
[22:12:24][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[22:12:24][W][bluetooth_proxy:367]: Cannot write GATT characteristic, not connected
[22:12:45][I][bluetooth_proxy:282]: [0] [C9:9C:3C:7B:C7:80] Connecting v3 without cache
[22:12:45][D][esp32_ble_tracker:215]: Pausing scan to make connection...
[22:12:45][I][esp32_ble_client:067]: [0] [C9:9C:3C:7B:C7:80] 0x00 Attempting BLE connection
[22:12:45][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_CONNECT_EVT
[22:12:45][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_OPEN_EVT
[22:12:45][D][esp32_ble_tracker:266]: Starting scan...
[22:12:45][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_SEARCH_CMPL_EVT
[22:12:45][I][esp32_ble_client:227]: [0] [C9:9C:3C:7B:C7:80] Connected
[22:12:45][D][esp32_ble_client:188]: [0] [C9:9C:3C:7B:C7:80] cfg_mtu status 0, mtu 517
[22:12:45][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_REG_FOR_NOTIFY_EVT
[22:12:45][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_WRITE_DESCR_EVT
[22:12:45][D][esp-idf:000][BTU_TASK]: W (2112664) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x13

[22:12:45][D][esp-idf:000][BTU_TASK]: W (2112669) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x13

[22:12:45][D][esp-idf:000][BTU_TASK]: W (2112670) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x13

[22:12:45][D][esp-idf:000][BTU_TASK]: W (2112673) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x13

[22:12:45][D][esp32_ble_client:110]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_WRITE_CHAR_EVT
[22:12:45][W][bluetooth_proxy.connection:081]: [0] [C9:9C:3C:7B:C7:80] Error writing char/descriptor at handle 0x22, status=133
[22:12:45][D][esp32_ble_client:172]: [0] [C9:9C:3C:7B:C7:80] ESP_GATTC_DISCONNECT_EVT, reason 19
[22:12:45][D][esp32_ble_client:110]: [0] [] ESP_GATTC_CLOSE_EVT
[22:12:45][W][bluetooth_proxy:367]: Cannot write GATT characteristic, not connected

@jsaiko
Copy link

jsaiko commented Jul 8, 2024

@drjjr2 I opened issue #120 for this. I believe it might be related to what you are experiencing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants