XFOX M4
XFOX M4 Smart Door and Window Sensor User Manual
Model: M4 | Brand: XFOX
1. Introducció
The XFOX M4 Smart Door and Window Sensor is a wireless contact sensor designed to enhance home security and enable smart home automation. It detects the opening and closing status of doors, windows, drawers, or other entry points, sending real-time notifications to your smartphone via the Tuya Smart or Smart Life app. This sensor integrates with Amazon Alexa and Google Assistant for voice control and can be used to trigger various smart routines.
2. Contingut del paquet
- XFOX M4 Smart Door and Window Sensor (Main Unit)
- Magnetic Contact Unit
- 3M Adhesive Pads for Installation
- Manual d'usuari (aquest document)
Note: Two AAA batteries are required per sensor and are not included in the package.

The image displays the XFOX Smart Door and Window Sensor 4-pack, showing the main sensor unit and its magnetic counterpart, along with a smartphone screen illustrating the 'Contact Sensor' interface within the app.
3. Producte acabatview
The XFOX M4 sensor consists of two main parts: the larger main unit and a smaller magnetic contact unit. When these two parts are separated (e.g., a door opens), the sensor detects the change and sends a signal. A small LED indicator on the main unit briefly lights up when triggered.
Característiques principals:
- Monitorització en temps real: Receive instant notifications on your smartphone when a door or window opens or closes.
- Domòtica: Create smart routines to link the sensor with other smart devices (e.g., turn on lights when a door opens).
- Control de veu: Compatible with Amazon Alexa and Google Assistant for status inquiries.
- Registre d'activitat: View a historical record of sensor activity within the app.
- Avís de baixa potència: Receive app notifications when batteries are low.
4. Configuració i instal·lació
4.1 Instal·lació de la bateria
- Gently slide open the back cover of the main sensor unit.
- Introduïu dues piles AAA, assegurant-vos de la polaritat correcta (+/-).
- Tanqueu la coberta posterior de manera segura.
4.2 Instal·lació física
The sensor can be installed on various surfaces such as doors, windows, or drawers using the provided 3M adhesive pads. Ensure the installation surface is clean and dry for optimal adhesion.
- Identify the desired location for the sensor. The main unit and magnetic unit must be mounted parallel to each other.
- Ensure the gap between the main unit and the magnetic unit is no more than 0.78 inches (2 cm) when the door/window is closed.
- Peel off the protective film from the 3M adhesive pads and firmly press the main unit onto the desired surface.
- Attach the magnetic unit to the adjacent surface, aligning it with the main unit within the specified gap.

This image provides a four-step visual guide for installing the sensor without tools, showing how to prepare the sensor, attach the adhesive, and mount it on a surface.

The image demonstrates the versatile application of the sensor, showing it installed on a drawer, a standard door, and a window, indicating its adaptability to various entry points.
5. App Integration and Pairing
5.1 Download and Install the App
The XFOX M4 sensor works with either the Tuya Smart or Smart Life app. Download the app from your device's app store or by scanning the QR code on the product packaging.
5.2 Pairing the Sensor with the App
Ensure your smartphone is connected to a 2.4GHz Wi-Fi network. The sensor needs to be within an effective distance of 20m/100ft from your Wi-Fi router.
- Open the Tuya Smart or Smart Life app and log in or register a new account.
- Tap 'Add Device' or the '+' icon in the top right corner.
- Select 'Security & Video Surveillance' > 'Contact Sensor (Wi-Fi)'.
- Press and hold the reset button on the main sensor unit for approximately 5 seconds until the indicator light blinks rapidly (for fast pairing mode) or slowly (for AP mode).
- Follow the in-app instructions to connect the sensor to your Wi-Fi network. You will need to enter your Wi-Fi password.
- Once successfully added, you can rename the sensor and assign it to a specific room.

A detailed nine-step visual tutorial on connecting the smart door sensor to the Smart Life app, covering adding devices, Wi-Fi connection, and viewing sensor status.
5.3 Integrating with Alexa and Google Assistant
After pairing the sensor with the Tuya Smart or Smart Life app, you can link it to your Amazon Alexa or Google Home account for voice control.
- Obre l'aplicació Alexa o Google Home.
- Navega fins a "Habilitats i jocs" (Alexa) o "Compatible amb Google" (Google Home).
- Cerca 'Tuya Smart' or 'Smart Life' and enable the skill/service.
- Link your Tuya Smart/Smart Life account when prompted.
- Discover devices. Your XFOX M4 sensor should now appear in your Alexa or Google Home device list.
You can now ask your voice assistant about the sensor's status, e.g., "Alexa, is the front door closed?" or "Hey Google, is the garage door open?"

The image shows Amazon Alexa and Google Home devices, highlighting their compatibility with the sensor for voice control, such as asking 'Hey Google, is home gate locked?'
6. Instruccions de funcionament
6.1 Real-time Notifications
Once the sensor is paired, you will receive instant push notifications on your smartphone whenever the monitored door or window is opened or closed. Ensure app notifications are enabled in your phone's settings.
6.2 Activity Record
The app maintains a detailed log of all sensor activities, including timestamps for when the door/window was opened and closed. This allows you to review the history of access at any time.

This image depicts a smartphone screen showing the 'Record' section of the app, which logs the opening and closing times of the door sensor, providing a real-time activity history.
6.3 Home Automation Routines
Leverage the sensor to create smart routines within the Tuya Smart/Smart Life app or through Alexa. For exampLI:
- Escenari: When the front door opens, turn on the living room lights.
- Escenari: If a window is open for more than 5 minutes, send an alert.
Note: A delay of 6-8 seconds is normal when the sensor transitions from hibernation state to trigger an automation.

This image illustrates an intelligent linkage scenario where opening a door (detected by the sensor) automatically triggers the living room lights to turn on, demonstrating smart home automation.
7. Manteniment
7.1 Substitució de la bateria
The sensor will send a low battery notification to your app when the battery level is critical. To replace the batteries:
- Gently slide open the back cover of the main sensor unit.
- Traieu les piles AAA velles.
- Insert two new AAA batteries, observing correct polarity.
- Tanqueu la coberta posterior de manera segura.
7.2 Neteja
Wipe the sensor units with a soft, dry cloth. Avoid using liquid cleaners or abrasive materials.
8. Solució De Problemes
- Sensor not connecting to Wi-Fi: Ensure your Wi-Fi network is 2.4GHz. Check that the sensor is within range of the router. Restart the sensor and try pairing again.
- Sense notificacions: Verify that app notifications are enabled in your smartphone settings and within the Tuya Smart/Smart Life app. Check battery levels.
- Sensor falling off: Ensure the installation surface was clean and dry. If issues persist, consider using stronger double-sided adhesive tape.
- Alexa/Google Assistant not responding: Confirm the Tuya Smart/Smart Life skill/service is enabled and linked correctly in your Alexa/Google Home app. Try re-discovering devices.
- Automation delay: A delay of 6-8 seconds is normal for automations triggered by the sensor when it wakes from a low-power state.
9. Especificacions
| Característica | Especificació |
|---|---|
| Número de model | M4 |
| Font d'alimentació | 2 piles AAA (no incloses) |
| Tipus de bateria | Alcalí |
| Connectivitat sense fil | Wi-Fi de 2.4 GHz |
| Mètode de control | App (Tuya Smart / Smart Life) |
| Dispositius compatibles | Amazon Alexa, Assistent de Google Home |
| La tecnologia de sensors | Sensor de contacte |
| Tipus de muntatge | Wall Mount (Adhesive) |
| Maximum Gap | 0.78 polzades (2 cm) |
| Dimensions del producte | Main Unit: 2.75 x 0.98 x 0.79 inches; Magnetic Unit: 1.73 x 0.43 x 0.59 inches |
| Pes de l'article | 5.3 ounces (total for 4-pack) |
10. Informació de seguretat
- No exposeu el dispositiu a temperatures o humitat extremes.
- Eviteu deixar caure o sotmetre el dispositiu a forts impactes.
- Mantenir fora de l'abast dels nens.
- Eliminar les bateries segons la normativa local.
11. Garantia i Suport
If you encounter any questions or issues with your XFOX Smart Door and Window Sensor, please contact our customer service team. We are committed to providing support and ensuring your satisfaction.
Ask a question about this manual
Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.