The Mi Door and Window Sensor allows for the closure status of a door or window to be available at all times. Instant alerts can be sent when doors or windows unexpectedly open. Double-sided tape installation ensures a hassle-free set up. With smart connection, smart scenes can be created through the Mi Home App. The light intensity detection is able to detect ambient lighting conditions to initiate night-time light with smart lights.