I am unable to see any bluetooth devices - I have installed and reinstalled a number of times and even tried to delete the flashed file as there seeems old remnant’s (naming) on the device.
I now in logs get:
esp32_ble_tracker:238]: Starting scan…
And also
[16:25:10][C][bluetooth_proxy:065]: Bluetooth Proxy:
[16:25:10][C][bluetooth_proxy:066]: Active: NO
Yet in the Yaml I set Active to True.
Any help appreciated.
Yaml? Logs?
Yaml…
esphome:
name: espnew
friendly_name: ESPnew
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "xxxx"
ota:
password: "xxx"
wifi:
ssid: xx
password: xx
Log:
esp32_ble_tracker:
scan_parameters:
active: true
bluetooth_proxy:
captive_portal:
[19:21:50][I][app:102]: ESPHome version 2023.2.0 compiled on Feb 15 2023, 15:49:48
[19:21:50][C][wifi:504]: WiFi:
[19:21:50][C][wifi:362]: Local MAC: 78:21:84:9C:A3:C8
[19:21:50][C][wifi:363]: SSID: [redacted]
[19:21:50][C][wifi:364]: IP Address: 192.168.0.15
[19:21:50][C][wifi:366]: BSSID: [redacted]
[19:21:50][C][wifi:367]: Hostname: ‘espnew’
[19:21:50][C][wifi:369]: Signal strength: -74 dB ▂▄▆█
[19:21:50][C][wifi:373]: Channel: 1
[19:21:50][C][wifi:374]: Subnet: 255.255.255.0
[19:21:50][C][wifi:375]: Gateway: 192.168.0.1
[19:21:50][C][wifi:376]: DNS1: 192.168.0.1
[19:21:50][C][wifi:377]: DNS2: 0.0.0.0
[19:21:50][C][logger:293]: Logger:
[19:21:50][C][logger:294]: Level: DEBUG
[19:21:50][C][logger:295]: Log Baud Rate: 115200
[19:21:50][C][logger:296]: Hardware UART: UART0
[19:21:50][C][bluetooth_proxy:065]: Bluetooth Proxy:
[19:21:50][C][bluetooth_proxy:066]: Active: NO
[19:21:50][C][esp32_ble:214]: ESP32 BLE:
[19:21:50][C][esp32_ble_tracker:583]: BLE Tracker:
[19:21:50][C][esp32_ble_tracker:584]: Scan Duration: 300 s
[19:21:50][C][esp32_ble_tracker:585]: Scan Interval: 320.0 ms
[19:21:50][C][esp32_ble_tracker:586]: Scan Window: 30.0 ms
[19:21:50][C][esp32_ble_tracker:587]: Scan Type: ACTIVE
[19:21:50][C][esp32_ble_tracker:588]: Continuous Scanning: True
[19:21:50][C][captive_portal:088]: Captive Portal:
[19:21:50][C][mdns:108]: mDNS:
[19:21:50][C][mdns:109]: Hostname: espnew
[19:21:50][C][ota:093]: Over-The-Air Updates:
[19:21:50][C][ota:094]: Address: espnew.local:3232
[19:21:50][C][ota:097]: Using Password.
[19:21:50][C][api:138]: API Server:
[19:21:50][C][api:139]: Address: espnew.local:6053
[19:21:50][C][api:141]: Using noise encryption: YES
Try upping the logging level until you get everything working as expected, then lower it back to the default level of DEBUG.
logger:
level: VERY_VERBOSE
You have active set to true for esp32_ble_tracker
but not for bluetooth_proxy
.
Firstly thanks for help.
I’ve updated Yaml see below and despite removing the BLE tracker the logger is shoiwing lots of tracker information. I am trying to add a Meater thermo & an Oral B brush as a test I can see its identifying them but I get no discovered devices. I assumed they are auto discovered, perhaps I got that wrong. Hers my revised (thank-you) Yaml that now seems effective.
esphome:
name: espnew
friendly_name: ESPnew
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: VERY_VERBOSE
# Enable Home Assistant API
api:
encryption:
key: "x"
ota:
password: "x"
wifi:
ssid: Swallowmead
password: x
#esp32_ble_tracker:
# scan_parameters:
# active: true
bluetooth_proxy:
active: true
captive_portal:
Ummmm… you have compiled and flashed the new yaml?
Yep compiled and flashed. I’m thinking maybe as the two things I added already have an existing integration it would’nt pick them up anyway.I will have a closer look when I get in.