Presence detection with MAC address Wildcard?

Hi everyone!

I have taken inspiration from this fun project: GitHub - judcrandall/lookout.py: A simple Python script for detecting nearby Axon law enforcement equipment using Bluetooth Low Energy.

Which essentially scans for BLE devices, Looks as the vendor OUI of the Mac address (in this case Axon devices which make body worn cameras/tasers etc for the police) and logs this in the script output.

I have been reviewing the BLE documentation for ESP32 on ESPHome and it would seem to me that this could be achieved with this code?

(I have read somewhere that FF can be used as a wild card for mac address?)

esp32_ble_tracker:

binary_sensor:
  - platform: ble_presence
    mac_address: 00:25:DF:FF:FF:FF
    name: "Axon Device"

Would be grateful for anyone’s thoughts!

Hi, Vinblastine

I have been trying to contact the owner of that github repository, as I have been working on a similiar piece of code. Have you by chance ever had any contact with him?

My code is at GitHub - PoliceDetector/PoliceDetector: Utility to detect police officers equipped with Axon brand Body Worn Cameras and Tasers using Bluetooth Low Energy..

Thanks