Aqara Door & Window Sensor P2 Setup Guide

Aqara Door & Window Sensor P2

  • Tools required:
    • Clean, lint-free cloth or alcohol wipe
    • Measuring tape or ruler and a pencil or small marker (for alignment)
    • Small spirit level (optional) for precise alignment
    • Adhesive mounting pad or double-sided foam tape (if not supplied with the sensor)
  • Applications:
    • Matter-capable controller or hub that supports Thread (for example: Hub M3)
    • Your Matter controller application on a phone, tablet or hub interface
    • DigIoT controller or scene manager, if you intend to use state changes to drive automations

• Capabilities and connectivity: This sensor provides open/close state for doors and windows and communicates using Matter-over-Thread. It has native Matter support and is designed to work with Hub M3 and other Matter controllers; Thread connectivity implies it requires a Thread-capable border router or hub on the same network. Specific power and battery details are not specified here.
• Pre-install checks: Verify you have a Matter-capable controller and that the controller is up to date and configured as a Thread border router if required. Ensure your controller app is open and ready for new device commissioning. Keep the sensor and its magnet in the same package until mounting is complete.
• Choose position: Place the sensor body and the separate magnet so that when the door or window closes they align within the manufacturer’s recommended gap (typical contact sensors require a small gap; consult the product packaging or app for the exact distance). Mount the sensor on the fixed frame and the magnet on the moving part so the two faces meet across the closed joint, with the labelled faces aligned.
• Prepare mounting surface: Clean both mounting surfaces with an alcohol wipe or a clean, dry cloth and allow them to dry. Remove any loose paint or dust that would prevent adhesion.
• Mounting the sensor and magnet: If adhesive pads are supplied, remove the backing and press each part firmly into place for at least 30 seconds. If using your own double-sided tape, apply in the same manner. Use a ruler or level to ensure alignment. Leave the sensor and magnet in position for the adhesive cure time recommended by the tape manufacturer before testing mechanical stresses.
• Commissioning to a Matter controller: Put your Matter controller into commissioning mode following the controller’s instructions. Use the controller app to add a new Matter device. The sensor should be discovered via Matter commissioning over Thread; follow on-screen prompts to accept, name and place the device in a room or group. If the controller requests a setup code or QR code, use the code supplied with the sensor packaging (setup code location is not specified here).
• Verify operation: After commissioning, test open and closed states using the controller app and by physically opening and closing the door or window. Confirm the controller shows state changes and that alerts (if configured) appear in the app. If you are using DigIoT or another automation manager, add the sensor to the desired scenes or automations and test that the scene triggers on state change.
• Placement and range considerations: Thread is a low-power mesh network; ensure the sensor is within range of a Thread router or other Thread devices that extend the mesh. If the sensor fails to appear or shows intermittent connectivity, move it closer to the hub and re-attempt commissioning.
• Troubleshooting tips: If the controller does not discover the sensor, confirm the controller supports Matter-over-Thread and that commissioning mode is active. Restart the controller app and power-cycle the hub if necessary. If commissioning still fails, relocate the sensor closer to the hub and retry. If the device supports a factory reset, consult the manufacturer documentation (reset procedure is not specified here).
• Safety and professional advice: This product is a battery-powered contact sensor; it does not require mains (240 V) wiring. No high-voltage work is necessary. If you plan to integrate the sensor into systems that require mains wiring or professional-grade security installation, have that part of the installation completed by a trained electrician or installer.