Comparison

Best Zigbee Door Sensors on AliExpress in 2026: 3 Picks Compared

Our top pick
SONOFF SNZB-04PR2 Zigbee door sensor $10-11
Check price on AliExpress

Door and window sensors are simple but powerful smart home devices. They tell you if a door or window is open or closed. This information is useful for security, like knowing if a door is left ajar. It also helps with automation, such as turning off the air conditioning if a window opens. For Home Assistant users, these sensors are a great starting point for making your home smarter.

Updated November 2026.

This guide compares three popular Zigbee door and window sensors available on AliExpress. We look at their features, how well they work with Home Assistant, and what makes each one stand out. We focus on devices that offer local control, meaning they work without needing an internet connection to a company’s cloud server.

Our picks at a glance

Side by side

Product Price Rating Protocol Home Assistant Local or cloud Power
SONOFF SNZB-04PR2 Zigbee door sensor $10-11 4.5 / 5 Zigbee 3.0 ZHA, Zigbee2MQTT Local with Zigbee CR2032 battery
Tuya Zigbee door sensor $4-7 4.4 / 5 Zigbee 3.0 ZHA, Zigbee2MQTT Local with Zigbee CR2032 battery
Zigbee door sensor $4-6 4.4 / 5 Zigbee 3.0 ZHA, Zigbee2MQTT Local with Zigbee CR2032 battery

The products in short

SONOFF SNZB-04PR2 Zigbee door sensor

Best for: Reliable security with tamper alerts. Price: $10-11.

The SONOFF SNZB-04PR2 is a second-generation Zigbee door and window sensor. It’s designed for active security with a notable feature: tamper alerts. This means if someone tries to remove the sensor from its mounting location, it can trigger an alert in Home Assistant. This adds an extra layer of peace of mind compared to basic contact sensors. The listing says it has a long battery life and is easy to install, making it a solid choice for various uses.

As a SONOFF device, it is widely supported by Home Assistant’s Zigbee integrations like ZHA and Zigbee2MQTT, a software that lets your Zigbee coordinator communicate with many different Zigbee devices. Buyers often report stable performance and good range when paired with a strong Zigbee mesh network. If you need a sensor that goes beyond just open/close detection, this model is a strong contender. You can read more in our SONOFF SNZB-04PR2 Zigbee door sensor review.

More detail in our SONOFF SNZB-04PR2 Zigbee door sensor review.

Check price on AliExpress

Tuya Zigbee door sensor

Best for: Standard functionality at a good price. Price: $4-7.

This Tuya-branded Zigbee door and window sensor is a popular choice for those seeking a balance between cost and functionality. It provides basic open/close status, which is what most people need for automation and security alerts. Tuya devices are very common, and this sensor is known to pair well with Home Assistant through a Zigbee coordinator, which is a device that translates Zigbee signals for Home Assistant. The listing says it’s mini-sized, making it discreet on doors and windows.

While it may not have advanced features like tamper detection, its straightforward operation and wide compatibility make it a good workhorse sensor. Zigbee2MQTT lists it as supported, ensuring a smooth integration experience for Home Assistant users. This sensor is a solid choice if you want reliable, no-frills monitoring without breaking the bank. Check out our Tuya Zigbee door sensor review for more details.

More detail in our Tuya Zigbee door sensor review.

Check price on AliExpress

Zigbee door sensor

Best for: Most affordable basic monitoring. Price: $4-6.

This generic Zigbee door and window sensor is often the most budget-friendly option available. Despite its low price, it provides the core functionality of detecting when a door or window is opened or closed. These unbranded sensors typically use standard Zigbee protocols, making them compatible with Home Assistant’s ZHA (Zigbee Home Automation) integration or Zigbee2MQTT. It operates locally, meaning it sends its status directly to your Zigbee coordinator without needing an internet connection.

It’s an excellent choice for expanding your smart home coverage without a large investment, especially for less critical areas like closet doors or rarely used windows. The listing says it’s easy to install with adhesive backing. Always check the specific model number on the product page or box to confirm compatibility with your chosen Zigbee integration. For more information, you can read our Zigbee door sensor review.

More detail in our Zigbee door sensor review.

Check price on AliExpress

How to choose

How to Choose the Best Zigbee Door Sensor for Home Assistant

When picking a Zigbee door or window sensor, there are a few key things to consider to make sure it fits your Home Assistant setup and your needs.

Zigbee Protocol and Home Assistant Support

All the sensors in this guide use Zigbee. This is a wireless language that smart devices use to talk to each other. It creates a mesh network, meaning devices can relay messages through each other, making the network stronger and more reliable. For Home Assistant, you will need a Zigbee coordinator, which is a USB stick or a hub that lets Home Assistant talk to Zigbee devices. Make sure the sensor you pick is listed as supported by either ZHA (Zigbee Home Automation), which is built into Home Assistant, or Zigbee2MQTT, a popular add-on for more advanced Zigbee control. Most standard Zigbee 3.0 devices, like these, work with both.

Local Control is Key

Local control means your smart device works even if your internet is down. For door sensors, this is very important. All the Zigbee sensors listed here offer local control. They communicate directly with your Home Assistant setup through your Zigbee coordinator. This avoids relying on a manufacturer’s cloud server, which can be slow or stop working if the company goes out of business. Always prioritize devices that work locally for reliability and privacy.

Power Source and Battery Life

Most door and window sensors run on small batteries, often a CR2032 coin cell. The listing says these batteries can last for a year or more, depending on how often the sensor triggers. Consider how easy it is to replace the battery. Some sensors have easily accessible battery compartments, while others might require more effort. If you have many sensors, choosing models with good battery life means less frequent maintenance.

Size and Placement

Door sensors typically come in two parts: a main sensor and a smaller magnet. They need to be placed close to each other, usually on a door frame and the door itself. When the door opens, the magnet moves away from the sensor, triggering it. Think about where you want to place the sensor. Some are very small and discreet, while others might be slightly larger. Make sure the sensor’s size will not interfere with the door or window’s operation, and that it can be mounted securely.

Additional Features: Tamper Detection

While all door sensors detect open/close states, some, like the SONOFF SNZB-04PR2, offer additional features such as tamper detection. This means the sensor can tell if someone tries to remove it from its mounting surface. This is a valuable feature for security applications where you want to know if the sensor itself is being interfered with. If security is a high priority, a sensor with tamper detection might be worth the extra cost.

Setup notes for Home Assistant

Setup Notes for Home Assistant

Setting up Zigbee door sensors in Home Assistant is generally straightforward, assuming you already have a Zigbee coordinator and either ZHA or Zigbee2MQTT running. If you are new to Zigbee, you will need to install one of these integrations first.

Adding with ZHA (Zigbee Home Automation)

ZHA is Home Assistant’s built-in Zigbee integration. To add a new sensor:

  1. Go to Settings > Devices & Services in Home Assistant.
  2. Click on the Configure button for your ZHA integration.
  3. Select Add device.
  4. Now, put your Zigbee door sensor into pairing mode. This usually involves holding a small button on the sensor for a few seconds until an indicator light starts flashing. Check the sensor’s manual for exact instructions.
  5. Home Assistant will start searching for the new device. Once found, it will appear in the ZHA device list.
  6. You can then rename the device and its entities, which are the specific functions the device offers, like ‘binary_sensor.door_open_closed’.

Adding with Zigbee2MQTT

Zigbee2MQTT is an alternative Zigbee integration that offers broader device support and more control. To add a new sensor:

  1. Open the Zigbee2MQTT web interface (usually accessible via the Home Assistant sidebar if you installed it as an add-on).
  2. On the main page, find the Permit join (All) button or toggle. Turn it on. This tells your Zigbee network to allow new devices to connect.
  3. Put your Zigbee door sensor into pairing mode, similar to the ZHA process (hold button until light flashes).
  4. Zigbee2MQTT will detect the sensor. Once paired, it will appear in the device list.
  5. The sensor and its entities will automatically appear in Home Assistant. You can then rename them within Home Assistant’s Devices & Services or directly in Zigbee2MQTT.

After pairing, your door sensor will create a binary sensor entity in Home Assistant, typically named something like binary_sensor.your_device_name_contact. This entity will show ‘on’ when the door is open and ‘off’ when it’s closed. You can use this entity in automations, dashboards, and for security alerts.

For better Zigbee network performance, consider our Zigbee mesh network tips.

Frequently Asked Questions

What is Zigbee and why should I use it for door sensors?

Zigbee is a wireless communication standard designed for smart home devices. It creates a mesh network, meaning each Zigbee device can relay signals for others, extending the range and reliability of your smart home network. For door sensors, Zigbee offers low power consumption, leading to long battery life, and local control, so your sensors work even without an internet connection. It is a great choice for devices that need to be reliable and battery-powered.

Do I need a special hub for Zigbee door sensors with Home Assistant?

Yes, you need a Zigbee coordinator to use Zigbee door sensors with Home Assistant. This is usually a USB stick that plugs into your Home Assistant server, like a Sonoff Zigbee 3.0 USB Dongle Plus. This coordinator acts as the bridge between your Zigbee devices and Home Assistant, translating their signals. You do not need a separate manufacturer’s hub, as Home Assistant itself becomes your central Zigbee hub.

Can these Zigbee door sensors work with other smart home platforms like Alexa or Google Home?

These Zigbee door sensors connect to Home Assistant through your Zigbee coordinator. To make them work with Alexa or Google Home, you would typically expose the Home Assistant entities to those platforms. Home Assistant has integrations that allow it to communicate with Alexa and Google Home, acting as a bridge. This means the sensors don’t directly connect to Alexa or Google Home, but rather their status is passed through Home Assistant to those voice assistants.

Best value
Zigbee door sensor $4-6
Check price on AliExpress

The full comparison

Bottom line

For overall reliability and security features, the SONOFF SNZB-04PR2 is our top recommendation. If you need a basic sensor at the lowest possible price, the generic Zigbee door sensor is an excellent budget-friendly choice.

Ready to order?
SONOFF SNZB-04PR2 Zigbee door sensor $10-11
Check price on AliExpress
Coming soon
The ready-made Home Assistant dashboard
One email when it's ready, with an early-bird price. No spam. Privacy