Question Configuration MAC Filter

Hi,
I have flashed the ESP32 with ESPHome Bluetooth Proxy and it works very well.
In the log I see many Bluetooth devices nearby.
Now I try to filter a specific device with its MAC address.
I want to see only the data from this device in the log.
I have already tried a lot, it just does not work.
Can someone help me with the configuration?

Thanks a lot

I don’t believe that is possible.

To filter the Bluetooth data in ESPHome to only show data from a specific device with a known MAC address, you can use the bluetooth_scanner component and specify the MAC address of the device in the whitelist parameter.

Here is an example YAML configuration that uses the bluetooth_scanner component to only show data from a device with the MAC address 11:22:33:44:55:66:

Copy code

# Configure the Bluetooth scanner bluetooth_scanner: # Set the scan interval to 5 secondsscan_interval: 5s # Set the MAC address of the device to be filtered whitelist: -'11:22:33:44:55:66'

In this configuration, the Bluetooth scanner will scan for nearby devices every 5 seconds, and only show data from the device with the MAC address 11:22:33:44:55:66. You can customize this configuration by changing the scan_interval or by adding more MAC addresses to the whitelist parameter.

Once this configuration is loaded onto your ESP32 board, the Bluetooth scanner will only show data from the specified device in the log. You can use this filtered data in your automations or templates, or use it to trigger other actions in ESPHome.

But will it act as a bluetooth proxy?

Hi,
Thanks for the info.
Unfortunately I can not cope with it.
my current configuration is this:

substitutions:
  name: esp32-bluetooth-proxy-c75968
packages:
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main

esphome:
  name: ${name}
  name_add_mac_suffix: false

mqtt:

  broker: 192.168.178.72
  username: xxxxx
  password: xxxx

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

text_sensor:
 - platform: ble_scanner
   name: "BLE Devices Scanner"

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

How can I customize it?

Greetings…