Looking for inspiration to implement presence detection

Sure, a Bluetooth beacon and monitor will do that, take your pick of BT tokens.

You will want to add a sensor to the front door to trigger the arrive/depart scans though, and optionally wrap that with some automation logic.