@mpaneth wrote:
I have just configured an ESP32 using ESPHome with the following configuration
esphome:
name: bluetooth
platform: ESP32
board: esp32doit-devkit-v1wifi:
ssid: “m-kbridge”
password: “…”Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: “Bluetooth Fallback Hotspot”
password: “…”captive_portal:
Enable logging
logger:
Enable Home Assistant API
api:
password: “…”ota:
password: “…”esp32_ble_tracker:
binary_sensor:
- platform: ble_presence
mac_address: 58:B1:0F:08:5E:77
name: “Mikes phone”When I bring my Samsung S9 into proximity (or turn off & on bluetooth, I do not get any discovery of the BLE device.
INFO Reading configuration /config/esphome/bluetooth.yaml…
INFO Starting log output from bluetooth.local using esphome API
INFO Connecting to bluetooth.local:6053 (192.168.0.21)
INFO Successfully connected to bluetooth.local
[23:22:55][I][app:100]: ESPHome version 1.14.2 compiled on Nov 14 2019, 17:24:59
[23:22:55][C][wifi:409]: WiFi:
[23:22:55][C][wifi:277]: SSID: [redacted]
[23:22:55][C][wifi:278]: IP Address: 192.168.0.21
[23:22:55][C][wifi:280]: BSSID: [redacted]
[23:22:55][C][wifi:281]: Hostname: ‘bluetooth’
[23:22:55][C][wifi:285]: Signal strength: -47 dB ▂▄▆█
[23:22:55][C][wifi:289]: Channel: 6
[23:22:55][C][wifi:290]: Subnet: 255.255.255.0
[23:22:55][C][wifi:291]: Gateway: 192.168.0.1
[23:22:55][C][wifi:292]: DNS1: 198.142.152.164
[23:22:55][C][wifi:293]: DNS2: 198.142.152.165
[23:22:55][C][logger:175]: Logger:
[23:22:55][C][logger:176]: Level: DEBUG
[23:22:55][C][logger:177]: Log Baud Rate: 115200
[23:22:55][C][logger:178]: Hardware UART: UART0
[23:22:55][C][esp32_ble_tracker:442]: BLE Tracker:
[23:22:55][C][esp32_ble_tracker:443]: Scan Duration: 300 s
[23:22:55][C][esp32_ble_tracker:444]: Scan Interval: 512 ms
[23:22:55][C][esp32_ble_tracker:445]: Scan Window: 320 ms
[23:22:55][C][esp32_ble_tracker:446]: Scan Type: ACTIVE
[23:22:55][C][ble_presence:011]: BLE Presence ‘Mikes phone’
[23:22:55][C][captive_portal:169]: Captive Portal:
[23:22:55][C][ota:029]: Over-The-Air Updates:
[23:22:55][C][ota:030]: Address: bluetooth.local:3232
[23:22:55][C][ota:032]: Using Password.
[23:22:55][C][api:095]: API Server:
[23:22:55][C][api:096]: Address: bluetooth.local:6053
[23:23:24][D][esp32_ble_tracker:148]: Starting scan…
[23:28:24][D][esp32_ble_tracker:148]: Starting scan…
[23:33:24][D][esp32_ble_tracker:148]: Starting scan…
[23:38:24][D][esp32_ble_tracker:148]: Starting scan…
[23:43:24][D][esp32_ble_tracker:148]: Starting scan…
[23:48:24][D][esp32_ble_tracker:148]: Starting scan…
[23:53:24][D][esp32_ble_tracker:148]: Starting scan…Can somebody please help identify where I am going wrong.
Mike Paneth
Melbourne Australia
Posts: 1
Participants: 1