photo64
December 13, 2022, 2:25pm
41
I just re-flashed one of my esp32 and now seeing this in the logs:
[09:23:08][I][esp32_ble_client:064]: [0] [30:24:C4:00:03:11] 0x00 Attempting BLE connection
[09:23:08][D][esp-idf:000]: W (446492) BT_HCI: hcif disc complete: hdl 0x0, rsn 0x8
[09:23:08][D][esp-idf:000]: W (446499) BT_APPL: gattc_conn_cb: if=3 st=0 id=3 rsn=0x8
[09:23:08][D][esp-idf:000]: W (446501) BT_APPL: gattc_conn_cb: if=4 st=0 id=4 rsn=0x8
[09:23:08][D][esp-idf:000]: W (446502) BT_APPL: gattc_conn_cb: if=5 st=0 id=5 rsn=0x8
[09:23:08][W][esp32_ble_client:131]: [0] [] Connection failed, status=133
I assume this is an issue?
Protoncek
(Pavel)
December 13, 2022, 2:57pm
42
Is it “active: true” needed or advisable for xiaomi thermo/hygrometers only? I have currently disabled, but it still works… well, fine…
bdraco
(J. Nick Koston)
December 13, 2022, 5:53pm
43
Esp-idf does a bit more logging. Some gatt errors are expected, and It’s only an issue if something is actually going wrong
bdraco
(J. Nick Koston)
December 13, 2022, 5:54pm
44
I don’t think those devices need active scans
1 Like
Same problem- Flashed with esphome bluetooth proxy. Was able to add it to HA, but it doesn’t pick up any of my bluetooth devices. Tried deleting the device (as my Pi bluetooth was able to initially add the device) but the esp32 still will not recognize it.
pedromrg
(Pedro)
November 2, 2023, 3:54pm
48
Got the same issue, it cannot detect 2 Inkbird TH2 thermometers for some odd reason.
I am seeing similar things:
[14:52:14][C][logger:420]: Hardware UART: UART0
[14:52:14][C][bluetooth_proxy:088]: Bluetooth Proxy:
[14:52:14][C][bluetooth_proxy:089]: Active: YES
[14:52:14][C][esp32_ble:238]: ESP32 BLE:
[14:52:14][C][esp32_ble:240]: MAC address: A0:B7:65:DC:30:FE
[14:52:14][C][esp32_ble:241]: IO Capability: none
[14:52:14][C][esp32_ble_tracker:617]: BLE Tracker:
[14:52:14][C][esp32_ble_tracker:618]: Scan Duration: 300 s
[14:52:14][C][esp32_ble_tracker:619]: Scan Interval: 320.0 ms
[14:52:14][C][esp32_ble_tracker:620]: Scan Window: 30.0 ms
[14:52:14][C][esp32_ble_tracker:621]: Scan Type: ACTIVE
[14:52:14][C][esp32_ble_tracker:622]: Continuous Scanning: True
[14:52:23][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[14:52:23][V][bluetooth_proxy:097]: [0] Free connection
[14:52:23][V][bluetooth_proxy:097]: [1] Free connection
[14:52:23][V][bluetooth_proxy:097]: [2] Free connection
[14:52:24][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[14:52:24][V][bluetooth_proxy:058]: Proxying 1 packets
[14:52:24][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[14:52:24][V][bluetooth_proxy:058]: Proxying 1 packets
[14:52:24][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[14:52:24][V][bluetooth_proxy:058]: Proxying 1 packets
[14:52:24][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[14:52:24][V][bluetooth_proxy:058]: Proxying 1 packets
[14:52:25][V][esp32_ble:178]: (BLE) gap_event_handler - 3
[14:52:25][V][bluetooth_proxy:058]: Proxying 1 packets
[14:52:25][V][esp32_ble:178]: (BLE) gap_event_handler - 3
And that is it, it does not find my Xiaomi Mi Temperature and Humidity Monitor 2 running this firmware: GitHub - atc1441/ATC_MiThermometer: Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
These sensors works just fine with the same ESP32 module and Tasmota, but I would like play a bit with ESP home.