esphome / issues

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

Try to create Esphome Bluetooth Proxy on dev board ESP32s (ESP32-WROOM-32) without success on scanning Bluetooth device and BLE #5511

Open lsteelandt opened 8 months ago

lsteelandt commented 8 months ago

The problem

Even I use the Ready Made Project page or by using ESPHome add-on on my Home assistant server, I successfully generate a ESPHome component "Bluetooth Proxy" but it detect no Bluetooth device.

The bord I use is an ESP32-Wroom-32 Boarded on a NodeMCU 32S see photo

I tried with either framework: type: esp-idf and type: arduino, but with no result at all.

I would babe pleased I anybody can tell me what is wrong. 😉

Which version of ESPHome has the issue?

2024.2.0

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.2.1

What platform are you using?

ESP32

Board

nodemcu 32S v1.1

Component causing the issue

No response

Example YAML snippet

substitutions:
  name: esp32-bluetooth-proxy-2c540c
  friendly_name: Bluetooth Proxy 2c540c
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}
api:
  encryption:
    key: wdWdtyz20L7dWe6JN1UYUAkX6LKRXlDvOgVcxQhjXHs=

esp32:
  board: nodemcu-32s
  framework:
    type: esp-idf

status_led:
  pin: GPIO2

logger:
  level: DEBUG

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

esp32_ble_tracker:
  scan_parameters:
    interval: 1100ms
    window: 1100ms
    active: true

bluetooth_proxy:
  active: true

Anything in the logs that might be useful for us?

09:30:43.658 -> ets Jul 29 2019 12:21:46
09:30:43.658 -> a'⸮"�⸮⸮⸮"�m1h⸮�[0;32mI (29) boot: ESP-IDF 4.4.6 2nd stage bootloader�[0m
09:30:43.658 -> �[0;32mI (29) boot: compile time 15:38:44�[0m
09:30:43.658 -> �[0;32mI (29) boot: Multicore bootloader�[0m
09:30:43.658 -> �[0;32mI (32) boot: chip revision: v3.1�[0m
09:30:43.658 -> �[0;32mI (36) boot.esp32: SPI Speed      : 40MHz�[0m
09:30:43.658 -> �[0;32mI (41) boot.esp32: SPI Mode       : DIO�[0m
09:30:43.658 -> �[0;32mI (45) boot.esp32: SPI Flash Size : 4MB�[0m
09:30:43.658 -> �[0;32mI (50) boot: Enabling RNG early entropy source...�[0m
09:30:43.658 -> �[0;32mI (55) boot: Partition Table:�[0m
09:30:43.658 -> �[0;32mI (59) boot: ## Label            Usage          Type ST Offset   Length�[0m
09:30:43.658 -> �[0;32mI (66) boot:  0 otadata          OTA data         01 00 00009000 00002000�[0m
09:30:43.728 -> �[0;32mI (74) boot:  1 phy_init         RF data          01 01 0000b000 00001000�[0m
09:30:43.728 -> �[0;32mI (81) boot:  2 app0             OTA app          00 10 00010000 001c0000�[0m
09:30:43.728 -> �[0;32mI (89) boot:  3 app1             OTA app          00 11 001d0000 001c0000�[0m
09:30:43.728 -> �[0;32mI (96) boot:  4 nvs              WiFi data        01 02 00390000 0006d000�[0m
09:30:43.728 -> �[0;32mI (104) boot: End of partition table�[0m
09:30:43.728 -> �[0;32mI (108) esp_image: segment 0: paddr=001d0020 vaddr=3f400020 size=36d18h (224536) map�[0m
09:30:43.728 -> �[0;32mI (198) esp_image: segment 1: paddr=00206d40 vaddr=3ffbdb60 size=04cd4h ( 19668) load�[0m
09:30:43.728 -> �[0;32mI (205) esp_image: segment 2: paddr=0020ba1c vaddr=40080000 size=045fch ( 17916) load�[0m
09:30:43.728 -> �[0;32mI (213) esp_image: segment 3: paddr=00210020 vaddr=400d0020 size=e50a0h (938144) map�[0m
09:30:43.911 -> �[0;32mI (553) esp_image: segment 4: paddr=002f50c8 vaddr=400845fc size=1946ch (103532) load�[0m
09:30:43.980 -> �[0;32mI (610) boot: Loaded app from partition at offset 0x1d0000�[0m
09:30:43.980 -> �[0;32mI (610) boot: Disabling RNG early entropy source...�[0m
09:30:43.980 -> �[0;32mI (622) cpu_start: Multicore app�[0m
09:30:43.980 -> �[0;32mI (622) cpu_start: Pro cpu up.�[0m
09:30:43.980 -> �[0;32mI (622) cpu_start: Starting app cpu, entry point is 0x400822bc�[0m
09:30:44.016 -> �[0;32mI (0) cpu_start: App cpu up.�[0m
09:30:44.016 -> �[0;32mI (642) cpu_start: Pro cpu start user code�[0m
09:30:44.016 -> �[0;32mI (642) cpu_start: cpu freq: 160000000�[0m
09:30:44.016 -> �[0;32mI (642) cpu_start: Application information:�[0m
09:30:44.016 -> �[0;32mI (647) cpu_start: Project name:     esp32-bluetooth-proxy-2c540c�[0m
09:30:44.016 -> �[0;32mI (653) cpu_start: App version:      2024.2.0�[0m
09:30:44.054 -> �[0;32mI (658) cpu_start: Compile time:     Feb 21 2024 15:28:29�[0m
09:30:44.054 -> �[0;32mI (665) cpu_start: ELF file SHA256:  9f9a1eeaf7c82e49...�[0m
09:30:44.054 -> �[0;32mI (671) cpu_start: ESP-IDF:          4.4.6�[0m
09:30:44.054 -> �[0;32mI (675) cpu_start: Min chip rev:     v0.0�[0m
09:30:44.054 -> �[0;32mI (680) cpu_start: Max chip rev:     v3.99 �[0m
09:30:44.054 -> �[0;32mI (685) cpu_start: Chip rev:         v3.1�[0m
09:30:44.054 -> �[0;32mI (690) heap_init: Initializing. RAM available for dynamic allocation:�[0m
09:30:44.092 -> �[0;32mI (697) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM�[0m
09:30:44.092 -> �[0;32mI (703) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM�[0m
09:30:44.092 -> �[0;32mI (709) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM�[0m
09:30:44.092 -> �[0;32mI (715) heap_init: At 3FFCAD08 len 000152F8 (84 KiB): DRAM�[0m
09:30:44.092 -> �[0;32mI (721) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM�[0m
09:30:44.092 -> �[0;32mI (728) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM�[0m
09:30:44.092 -> �[0;32mI (734) heap_init: At 4009DA68 len 00002598 (9 KiB): IRAM�[0m
09:30:44.128 -> �[0;32mI (741) spi_flash: detected chip: generic�[0m
09:30:44.128 -> �[0;32mI (745) spi_flash: flash io: dio�[0m
09:30:44.128 -> �[0;32mI (750) cpu_start: Starting scheduler on PRO CPU.�[0m
09:30:44.128 -> �[0;32mI (0) cpu_start: Starting scheduler on APP CPU.�[0m
09:30:44.337 -> �[0;32m[I][logger:359]: Log initialized�[0m
09:30:44.337 -> �[0;35m[C][status_led:014]: Setting up Status LED...�[0m
09:30:44.337 -> �[0;36m[D][esp-idf:000]: �[0;32mI (226) gpio: GPIO[2]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 �[0m
09:30:44.393 -> �[0m
09:30:44.393 -> �[0;35m[C][ota:483]: There have been 1 suspected unsuccessful boot attempts.�[0m
09:30:44.393 -> �[0;36m[D][esp32.preferences:114]: Saving 1 preferences to flash...�[0m
09:30:44.393 -> �[0;36m[D][esp32.preferences:143]: Saving 1 preferences to flash: 0 cached, 1 written, 0 failed�[0m
09:30:44.393 -> �[0;32m[I][app:029]: Running through setup()...�[0m
09:30:44.393 -> �[0;35m[C][esp32_ble:027]: Setting up BLE...�[0m
09:30:44.393 -> �[0;35m[C][wifi:038]: Setting up WiFi...�[0m
09:30:44.393 -> �[0;36m[D][esp-idf:000]: I (255) wifi:�[0m
09:30:44.393 -> �[0;36m[D][esp-idf:000]: wifi driver task: 3ffd45dc, prio:23, stack:6656, core=0�[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: 
09:30:44.444 -> �[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1295) system_api: Base MAC address is not set�[0m
09:30:44.444 -> �[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1305) system_api: read default base MAC address from EFUSE�[0m
09:30:44.444 -> �[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: I (1318) wifi:�[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: wifi firmware version: 1ba8b6a�[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: 
09:30:44.444 -> �[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: I (1325) wifi:�[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: wifi certification version: v7.0�[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: 
09:30:44.444 -> �[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: I (1335) wifi:�[0m
09:30:44.444 -> �[0;36m[D][esp-idf:000]: config NVS flash: enabled�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: 
09:30:44.496 -> �[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: I (1346) wifi:�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: config nano formating: disabled�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: 
09:30:44.496 -> �[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: I (1356) wifi:�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: Init data frame dynamic rx buffer num: 32�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: 
09:30:44.496 -> �[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: I (1376) wifi:�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: Init management frame dynamic rx buffer num: 32�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: 
09:30:44.496 -> �[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: I (1386) wifi:�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: Init management short buffer num: 32�[0m
09:30:44.496 -> �[0;36m[D][esp-idf:000]: 
09:30:44.541 -> �[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: I (1397) wifi:�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: Init dynamic tx buffer num: 32�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: 
09:30:44.541 -> �[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: I (1417) wifi:�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: Init static rx buffer size: 1600�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: 
09:30:44.541 -> �[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: I (1418) wifi:�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: Init static rx buffer num: 10�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: 
09:30:44.541 -> �[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: I (1438) wifi:�[0m
09:30:44.541 -> �[0;36m[D][esp-idf:000]: Init dynamic rx buffer num: 32�[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: 
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1449) wifi_init: rx ba win: 6�[0m
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1449) wifi_init: tcpip mbox: 32�[0m
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1458) wifi_init: udp mbox: 6�[0m
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1458) wifi_init: tcp mbox: 6�[0m
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1468) wifi_init: tcp tx win: 5744�[0m
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1479) wifi_init: tcp rx win: 5744�[0m
09:30:44.586 -> �[0m
09:30:44.586 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1479) wifi_init: tcp mss: 1440�[0m
09:30:44.630 -> �[0m
09:30:44.630 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1489) wifi_init: WiFi IRAM OP enabled�[0m
09:30:44.630 -> �[0m
09:30:44.630 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1499) wifi_init: WiFi RX IRAM OP enabled�[0m
09:30:44.630 -> �[0m
09:30:44.630 -> �[0;35m[C][wifi:051]: Starting WiFi...�[0m
09:30:44.630 -> �[0;35m[C][wifi:052]:   Local MAC: A0:A3:B3:2C:54:0C�[0m
09:30:44.630 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1510) phy_init: phy_version 4771,450c73b,Aug 16 2023,11:03:10�[0m
09:30:44.630 -> �[0m
09:30:44.694 -> �[0;36m[D][esp-idf:000]: I (1605) wifi:�[0m
09:30:44.694 -> �[0;36m[D][esp-idf:000]: mode : sta (a0:a3:b3:2c:54:0c)�[0m
09:30:44.694 -> �[0;36m[D][esp-idf:000]: 
09:30:44.694 -> �[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: I (1607) wifi:�[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: enable tsf�[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: 
09:30:44.743 -> �[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: I (1609) wifi:�[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: Set ps type: 1
09:30:44.743 -> �[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: 
09:30:44.743 -> �[0m
09:30:44.743 -> �[0;36m[D][wifi:459]: Starting scan...�[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: I (1623) wifi:�[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: Set ps type: 1
09:30:44.743 -> �[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: 
09:30:44.743 -> �[0m
09:30:44.743 -> �[0;36m[D][esp32_ble:270]: Enabling BLE...�[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1630) BTDM_INIT: BT controller compile version [7b24543]�[0m
09:30:44.743 -> �[0m
09:30:44.743 -> �[0;36m[D][esp-idf:000]: �[0;32mI (1641) BTDM_INIT: Bluetooth MAC: a0:a3:b3:2c:54:0e�[0m
09:30:44.801 -> �[0m
09:30:45.235 -> �[0;36m[D][esp32_ble_tracker:266]: Starting scan...�[0m
09:30:47.761 -> �[0;36m[D][wifi:474]: Found networks:�[0m
09:30:47.761 -> �[0;32m[I][wifi:518]: - '##########' �[5m(7C:10:C9:C3:A2:C0) �[6m�[0;33m▂▄�[0;37m▆█�[0m�[0m
09:30:47.761 -> �[0;36m[D][wifi:519]:     Channel: 5�[0m
09:30:47.761 -> �[0;36m[D][wifi:520]:     RSSI: -66 dB�[0m
09:30:47.853 -> �[0;32m[I][wifi:518]: - '##########' �[5m(50:EB:F6:A7:5E:29) �[6m�[0;33m▂▄�[0;37m▆█�[0m�[0m
09:30:47.853 -> �[0;36m[D][wifi:519]:     Channel: 5�[0m
09:30:47.853 -> �[0;36m[D][wifi:520]:     RSSI: -71 dB�[0m
09:30:47.853 -> �[0;36m[D][wifi:523]: - �[5m'@@@@@@@'�[6m �[5m(7C:10:C9:C3:A2:C1) �[6m�[0;33m▂▄▆�[0;37m█�[0m�[0m
09:30:47.853 -> �[0;36m[D][wifi:523]: - �[5m'&&&&&&&&&&'�[6m �[5m(8C:97:EA:88:58:F8) �[6m�[0;33m▂▄▆�[0;37m█�[0m�[0m
09:30:47.853 -> �[0;36m[D][wifi:523]: - �[5m'Legacy'�[6m �[5m(7C:10:C9:C3:A2:C2) �[6m�[0;33m▂▄�[0;37m▆█�[0m�[0m
09:30:47.853 -> �[0;36m[D][wifi:523]: - �[5m'&&&&&&&&&&'�[6m �[5m(50:EB:F6:A7:5E:2A) �[6m�[0;33m▂▄�[0;37m▆█�[0m�[0m
09:30:47.853 -> �[0;32m[I][wifi:304]: WiFi Connecting to '############'...�[0m
09:30:47.853 -> �[0;36m[D][esp-idf:000]: I (4736) wifi:�[0m
09:30:47.853 -> �[0;36m[D][esp-idf:000]: new:<5,0>, old:<1,0>, ap:<255,255>, sta:<5,0>, prof:1�[0m
09:30:47.902 -> �[0;36m[D][esp-idf:000]: 
09:30:47.902 -> �[0m
09:30:48.625 -> �[0;36m[D][esp-idf:000]: I (5538) wifi:�[0m
09:30:48.625 -> �[0;36m[D][esp-idf:000]: state: init -> auth (b0)�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: 
09:30:48.692 -> �[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: I (5543) wifi:�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: state: auth -> assoc (0)�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: 
09:30:48.692 -> �[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: I (5551) wifi:�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: state: assoc -> run (10)�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: 
09:30:48.692 -> �[0m
09:30:48.692 -> �[0;33m[W][esp32_ble_tracker:110]: Too many BLE events to process. Some devices may not show up.�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: I (5585) wifi:�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: connected with ############, aid = 21, channel 5, BW20, bssid = 7c:10:c9:c3:a2:c0�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: 
09:30:48.692 -> �[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: I (5586) wifi:�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: security: WPA2-PSK, phy: bgn, rssi: -67�[0m
09:30:48.692 -> �[0;36m[D][esp-idf:000]: 
09:30:48.744 -> �[0m
09:30:48.744 -> �[0;36m[D][esp-idf:000]: I (5589) wifi:�[0m
09:30:48.744 -> �[0;36m[D][esp-idf:000]: pm start, type: 1
09:30:48.744 -> �[0m
09:30:48.744 -> �[0;36m[D][esp-idf:000]: 
09:30:48.744 -> �[0m
09:30:48.790 -> �[0;36m[D][esp-idf:000]: I (5666) wifi:�[0m
09:30:48.790 -> �[0;36m[D][esp-idf:000]: AP's beacon interval = 102400 us, DTIM period = 1�[0m
09:30:48.790 -> �[0;36m[D][esp-idf:000]: 
09:30:48.790 -> �[0m
09:30:49.429 -> �[0;36m[D][esp-idf:000]: E (6333) wifi:�[0m
09:30:49.429 -> �[0;36m[D][esp-idf:000]: CCMP replay detected: A1=a0:a3:b3:2c:54:0c A2=7c:10:c9:c3:a2:c0 PN=15, RSC=16 seq=14096�[0m
09:30:49.429 -> �[0;36m[D][esp-idf:000]: 
09:30:49.487 -> �[0m
09:30:49.487 -> �[0;36m[D][esp-idf:000]: I (6406) wifi:�[0m
09:30:49.487 -> �[0;36m[D][esp-idf:000]: <ba-add>idx:0 (ifx:0, 7c:10:c9:c3:a2:c0), tid:6, ssn:6, winSize:64�[0m
09:30:49.532 -> �[0;36m[D][esp-idf:000]: 
09:30:49.532 -> �[0m
09:30:50.224 -> �[0;32m[I][wifi:591]: WiFi Connected!�[0m
09:30:50.224 -> �[0;35m[C][wifi:409]:   Local MAC: A0:A3:B3:2C:54:0C�[0m
09:30:50.224 -> �[0;35m[C][wifi:414]:   SSID: �[5m'########'�[6m�[0m
09:30:50.224 -> �[0;35m[C][wifi:415]:   IP Address: 192.168.50.172�[0m
09:30:50.224 -> �[0;35m[C][wifi:417]:   BSSID: �[5m7C:10:C9:C3:A2:C0�[6m�[0m
09:30:50.224 -> �[0;35m[C][wifi:418]:   Hostname: 'esp32-bluetooth-proxy-2c540c'�[0m
09:30:50.282 -> �[0;35m[C][wifi:420]:   Signal strength: -67 dB �[0;33m▂▄�[0;37m▆█�[0m�[0m
09:30:50.282 -> �[0;35m[C][wifi:424]:   Channel: 5�[0m
09:30:50.282 -> �[0;35m[C][wifi:425]:   Subnet: 255.255.255.0�[0m
09:30:50.282 -> �[0;35m[C][wifi:426]:   Gateway: 192.168.50.1�[0m
09:30:50.282 -> �[0;35m[C][wifi:427]:   DNS1: 192.168.50.1�[0m
09:30:50.282 -> �[0;35m[C][wifi:428]:   DNS2: 0.0.0.0�[0m
09:30:50.282 -> �[0;36m[D][wifi:600]: Disabling AP...�[0m
09:30:50.282 -> �[0;35m[C][ota:096]: Over-The-Air Updates:�[0m
09:30:50.282 -> �[0;35m[C][ota:097]:   Address: esp32-bluetooth-proxy-2c540c.local:3232�[0m
09:30:50.282 -> �[0;35m[C][ota:103]:   OTA version: 2.�[0m
09:30:50.282 -> �[0;35m[C][api:025]: Setting up Home Assistant API server...�[0m
09:30:50.282 -> �[0;32m[I][app:062]: setup() finished successfully!�[0m
09:30:50.336 -> �[0;32m[I][app:102]: ESPHome version 2024.2.0 compiled on Feb 22 2024, 09:14:14�[0m
09:30:50.336 -> �[0;32m[I][app:104]: Project esphome.bluetooth-proxy version 1.0�[0m
09:30:50.336 -> �[0;35m[C][status_led:019]: Status LED:�[0m
09:30:50.336 -> �[0;35m[C][status_led:020]:   Pin: GPIO2�[0m
09:30:50.336 -> �[0;35m[C][wifi:577]: WiFi:�[0m
09:30:50.336 -> �[0;35m[C][wifi:409]:   Local MAC: A0:A3:B3:2C:54:0C�[0m
09:30:50.336 -> �[0;35m[C][wifi:414]:   SSID: �[5m'##########'�[6m�[0m
09:30:50.336 -> �[0;35m[C][wifi:415]:   IP Address: 192.168.50.172�[0m
09:30:50.336 -> �[0;35m[C][wifi:417]:   BSSID: �[5m7C:10:C9:C3:A2:C0�[6m�[0m
09:30:50.336 -> �[0;35m[C][wifi:418]:   Hostname: 'esp32-bluetooth-proxy-2c540c'�[0m
09:30:50.336 -> �[0;35m[C][wifi:420]:   Signal strength: -67 dB �[0;33m▂▄�[0;37m▆█�[0m�[0m
09:30:50.383 -> �[0;35m[C][wifi:424]:   Channel: 5�[0m
09:30:50.383 -> �[0;35m[C][wifi:425]:   Subnet: 255.255.255.0�[0m
09:30:50.383 -> �[0;35m[C][wifi:426]:   Gateway: 192.168.50.1�[0m
09:30:50.383 -> �[0;35m[C][wifi:427]:   DNS1: 192.168.50.1�[0m
09:30:50.383 -> �[0;35m[C][wifi:428]:   DNS2: 0.0.0.0�[0m
09:30:50.383 -> �[0;35m[C][logger:447]: Logger:�[0m
09:30:50.383 -> �[0;35m[C][logger:448]:   Level: DEBUG�[0m
09:30:50.383 -> �[0;35m[C][logger:449]:   Log Baud Rate: 115200�[0m
09:30:50.383 -> �[0;35m[C][logger:451]:   Hardware UART: UART0�[0m
09:30:50.383 -> �[0;35m[C][bluetooth_proxy:088]: Bluetooth Proxy:�[0m
09:30:50.383 -> �[0;35m[C][bluetooth_proxy:089]:   Active: YES�[0m
09:30:50.429 -> �[0;35m[C][safe_mode.button:022]: Safe Mode Button 'Safe Mode Boot'�[0m
09:30:50.429 -> �[0;35m[C][safe_mode.button:022]:   Icon: 'mdi:restart-alert'�[0m
09:30:50.429 -> �[0;35m[C][esp32_ble:374]: ESP32 BLE:�[0m
09:30:50.429 -> �[0;35m[C][esp32_ble:376]:   MAC address: A0:A3:B3:2C:54:0E�[0m
09:30:50.429 -> �[0;35m[C][esp32_ble:377]:   IO Capability: none�[0m
09:30:50.429 -> �[0;36m[D][esp-idf:000]: I (7329) wifi:�[0m
09:30:50.429 -> �[0;36m[D][esp-idf:000]: <ba-add>idx:1 (ifx:0, 7c:10:c9:c3:a2:c0), tid:5, ssn:2, winSize:64�[0m
09:30:50.429 -> �[0;36m[D][esp-idf:000]: 
09:30:50.475 -> �[0m
09:30:50.475 -> �[0;35m[C][esp32_ble_tracker:645]: BLE Tracker:�[0m
09:30:50.475 -> �[0;35m[C][esp32_ble_tracker:646]:   Scan Duration: 300 s�[0m
09:30:50.475 -> �[0;35m[C][esp32_ble_tracker:647]:   Scan Interval: 1100.0 ms�[0m
09:30:50.475 -> �[0;35m[C][esp32_ble_tracker:648]:   Scan Window: 1100.0 ms�[0m
09:30:50.475 -> �[0;35m[C][esp32_ble_tracker:649]:   Scan Type: ACTIVE�[0m
09:30:50.475 -> �[0;35m[C][esp32_ble_tracker:650]:   Continuous Scanning: True�[0m
09:30:50.521 -> �[0;35m[C][mdns:115]: mDNS:�[0m
09:30:50.521 -> �[0;35m[C][mdns:116]:   Hostname: esp32-bluetooth-proxy-2c540c�[0m
09:30:50.521 -> �[0;35m[C][ota:096]: Over-The-Air Updates:�[0m
09:30:50.565 -> �[0;35m[C][ota:097]:   Address: esp32-bluetooth-proxy-2c540c.local:3232�[0m
09:30:50.565 -> �[0;35m[C][ota:103]:   OTA version: 2.�[0m
09:30:50.565 -> �[0;35m[C][api:139]: API Server:�[0m
09:30:50.565 -> �[0;35m[C][api:140]:   Address: esp32-bluetooth-proxy-2c540c.local:6053�[0m
09:30:50.565 -> �[0;35m[C][api:142]:   Using noise encryption: YES�[0m
09:30:50.565 -> �[0;35m[C][improv_serial:032]: Improv Serial:�[0m
09:31:22.156 -> �[0;36m[D][api:102]: Accepted 192.168.50.50�[0m
09:31:22.222 -> �[0;33m[W][component:214]: Component api took a long time for an operation (0.06 s).�[0m
09:31:22.222 -> �[0;33m[W][component:215]: Components should block for at most 20-30ms.�[0m
09:31:22.293 -> �[0;36m[D][api.connection:1121]: Home Assistant 2024.2.1 (192.168.50.50): Connected successfully�[0m

Additional information

The device I try to be capable to scan is a LD2411 presence sensor (has Bleutooth capabilities).

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

reivaj1 commented 1 month ago

i have the same problem, any comments?

jonny190 commented 2 weeks ago

Same issue, Any updates?

filmkorn commented 2 weeks ago

Having tried 4 different esp32 boards - I think this might be a hardware issue of these particular ESP32-Wroom-32 boards. I have two of these (type USB-C) and the WiFi connectivity of this board is terrible as well. Btw. if you want to see if any packets are relayed via the BT proxy you'll have to make the logger verbose.

logger:
  level: VERBOSE
reivaj1 commented 2 weeks ago

thank you, very much..

El dom, 20 oct 2024 a las 13:25, Mitja Mueller-Jend (< @.***>) escribió:

Having tried 4 different esp32 boards - I think this might be a hardware issue of these particular ESP32-Wroom-32 boards. I have two of these https://www.aliexpress.com/item/1005001621773806.html (type usp-C) and the WiFi connectivity of this board is terrible as well. Btw. if you want to see if any packets are relayed via the BT proxy you'll have to make the logger verbose.

logger: level: VERBOSE

— Reply to this email directly, view it on GitHub https://github.com/esphome/issues/issues/5511#issuecomment-2425186402, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLR3HXG55UGNOZ2FIYZUQ2TZ4P7TFAVCNFSM6AAAAABDUQJPZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGE4DMNBQGI . You are receiving this because you commented.Message ID: @.***>