A community member has created a project that can identify when a specific phone has connected to your local Wi-Fi. It can only work with some Wi-Fi routers, however. but it should be able to work even if you don’t have an active Internet connection.
You would need to have another laptop or raspberry pi running as a server on your local network, so it is definitely more complicated than just another presence device. But there are quite a few community members using it.
Start here for information: