Name the opening and the useful action
Choose one actual task: remind you about an open window, turn on a closet light, or record a cabinet opening. Decide who should see the result and where. A door that closes without locking can produce a closed contact state; use the appropriate lock-status system if that is the real question. Keep an adequate existing sensor when a new radio protocol adds no useful action.
Budget the complete P2 path
P2 uses Matter over Thread, rather than the old XFOX model’s advertised direct Wi-Fi/Tuya route. Confirm both controller and border-router roles for the chosen ecosystem before comparing prices. An existing compatible combined controller may already meet those needs. Neither a generic Wi-Fi router nor any product carrying the Aqara name automatically fills both roles.
Check the frame before buying a pack
Allow space for the main piece, magnet, full opening movement and later battery access. Match the alignment marks and the exact documented gap; radio coverage is a separate question. Dry-fit before applying adhesive so a narrow or stepped frame does not turn into a permanent mounting mistake. P2’s manual restricts it to indoor use, so an exposed gate needs a different documented option. The reviewed manual permits mounting at heights up to 2 m; include that limit when choosing the position.
Evaluate alerts as a whole delivery path
A state change in an app and a notification arriving on another phone are separate tests. Check the selected platform’s supported events, household access, notification permissions and remote-access dependencies. Do not infer a working alarm service from a Matter logo or an online device icon. Retain an appropriate independent routine for tasks that require more certainty than a convenience sensor offers.
Keep the model change explicit
The original XFOX F-SD01W listing currently has no verified US offer. That is an availability observation, not evidence its entire product line is discontinued. The P2 option below has its own exact retailer identity and manufacturer instructions. Compare its complete setup with your current arrangement; do not buy it expecting the old Tuya pairing process or unchanged automations.