I just got ESP32 board. Flashed it with ESPHome BLE Tracker Hub but its not showing UUID of the beacon that Android HA app sends. I loaded BLE Scanner app on a tablet and can confirm that the HA app sends it ok.
Am I doing something wrong?
its hard to mine read bro
Show us your ESPhome code
what the esphome logs saying
This is from the logs on ESPHome:
[17:54:47][D][ble_adv:028]: New BLE device
[17:54:47][D][ble_adv:029]: address: 4F:D9:0A:CB:C9:E9
[17:54:47][D][ble_adv:030]: name:
[17:54:47][D][ble_adv:031]: RSSI: -60
[17:54:47][D][ble_adv:032]: Advertised service UUIDs:
[17:54:47][D][ble_adv:036]: Advertised service data:
[17:54:47][D][ble_adv:040]: Advertised manufacturer data:
[17:54:47][D][ble_adv:042]: - 0x004C: (length 23)
Code is very simple - I am just trying to see what the device can see:
esphome:
name: ble_tracker_hub
platform: ESP32
board: esp-wrover-kit
wifi:
ssid: "Home_2G"
password: "****"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Ble Tracker Hub Fallback Hotspot"
password: "PSKjBj9Xorja"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
esp32_ble_tracker:
on_ble_advertise:
then:
- lambda: |-
ESP_LOGD("ble_adv", "New BLE device");
ESP_LOGD("ble_adv", " address: %s", x.address_str().c_str());
ESP_LOGD("ble_adv", " name: %s", x.get_name().c_str());
ESP_LOGD("ble_adv", " RSSI: %i", x.get_rssi());
ESP_LOGD("ble_adv", " Advertised service UUIDs:");
for (auto uuid : x.get_service_uuids()) {
ESP_LOGD("ble_adv", " - %s", uuid.to_string().c_str());
}
ESP_LOGD("ble_adv", " Advertised service data:");
for (auto data : x.get_service_datas()) {
ESP_LOGD("ble_adv", " - %s: (length %i)", data.uuid.to_string().c_str(), data.data.size());
}
ESP_LOGD("ble_adv", " Advertised manufacturer data:");
for (auto data : x.get_manufacturer_datas()) {
ESP_LOGD("ble_adv", " - %s: (length %i)", data.uuid.to_string().c_str(), data.data.size());
}
binary_sensor:
# Presence based on BLE Service UUID
- platform: ble_presence
service_uuid: 'd6059804-ef27-426c-8bed-d68d8ea4479a'
name: "Sergey mobile BLE tracker"
Why did you start a second identical topic?
Locking as a duplicate.
Original: