Works with Home Assistant
Xiaomi
Mi Door & Window Sensor
Category: Door Sensor
Updated Oct 27, 2025

Description
Highlights
- Low-profile Zigbee magnetic contact sensor designed for doors, windows, or cabinets.
- Powered by a CR1632 coin cell (≈2-year lifespan) and rated for temperatures down to -10 °C.
- Integrates with Mi Home for automations such as entry alerts, bedtime routines, or HVAC cut-off when a window opens.
Pairs with Aqara/Mijia hubs or any Zigbee 1.2 coordinator to deliver instant open/close events to Home Assistant.
Expose contact events locally via ZHA or Zigbee2MQTT; legacy Xiaomi Aqara gateway support also works once LAN mode is enabled.
Connection Path
Hubs
Via supported protocols
Protocol: zigbee
- Dresden Elektronik ConbeeProtocol: zigbee, usb
- Xiaomi Mi Smart Home Gateway (Mi Control Hub)Protocol: zigbee, wifi
- Sylvania OSRAM LIGHTIFY GatewayProtocol: zigbee
- Dresden Elektronik RaspBeeProtocol: zigbee, gpio
- SMLIGHT SLZB-06P7Protocol: zigbee, bluetooth, matter-over-thread, mqtt
- SMLIGHT SLZB-MR3Protocol: zigbee, mqtt, matter-over-thread, bluetooth
- Samsung Smart Things HubProtocol: z-wave, zigbee
- IKEA TRÅDFRI GatewayProtocol: tradfri, zigbee, ethernet
Shop now
Gallery
