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!