BLEScanner aims to be a replacement for lepresenced in FHEM. See https://wiki.fhem.de/wiki/PRESENCE and the thread https://forum.fhem.de/index.php/topic,28753.0.html
It is based on Espressif's ESP32s (ESP-WROOM-32), which has Wifi and Bluetooth-LE on board.
You'll need Espressif's SDK, which you can get here: https://github.com/espressif/arduino-esp32
The latest sketch seems too big to be uploaded. Applying the settings from this thread (nkolban/esp32-snippets#441 (comment)), fixed the issue for me.