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?
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.