BLE Support on a raspberry pi

I'd rather have something not tied to the phone.

My basic idea was some transmitter beacon on the key ring. Then use an ESP32 (or Raspi) as Bluetooth scanner near the entrance hall, where the keys are usually located when I'm at home. These would push their data via MQTT to Node-RED for further processing.