(2 ) door sensor must match with the ZIGBEE gateway to use. ( like xiaomi gateway 2, gateway 3 / aqara HUB etc.). The Aqara smart windows door sensor can detect the opening and closing of door and windows and send a notification to your phone via the APP.
eBay