Use ESP32 for Bluetooth room presence detection

Sounds like you are getting close to a really good system.

Re the distance thing, I made a comment on another thread about adjusting the “Factor” setting in ESPresence. This should help to dial in the distance calculation that the ESP is using. Personally I think that ESPresence needs to add a few more adjustable settings to allow the distance accuracy and trigger reliability to be a bit better, but in the meantime, you can try this: