esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
420 stars 26 forks source link

Support IRK for BLE tracking #2285

Open HannesK-ME opened 1 year ago

HannesK-ME commented 1 year ago

Describe the problem you have/What new integration you would like

Introduce IRK support for the already existing BLE tracking functions to support Apple devices, which change MAC addresses regularly. Current methods of identification provided by ESPHome don't work in those cases. Identifying a device by its IRK would solve this.

Please describe your use case for this integration and alternatives you've tried:

Tracking Apple devices with the BLE tracking functions of ESPHome. ESPresense does this, but requires separate ESP32, which could be avoided if this feature is implemented in ESPHome.

Additional context

pwntester commented 8 months ago

This seems to be implemented now, thanks @chbmuc! Any chances you can extend the support to ble_rssi platform for irk devices?

chbmuc commented 8 months ago

I think it should be easy as the code looks quite similar. I will try to do this over the weekend.