I advise you against doing that, I mentioned it in the thread you saw, phone detection (or a connected device like a Watch) via Bluetooth doesn’t work, manufacturers have put safeguards in place precisely to prevent tracking!
I provide another solution here: