Back to blog
Article

Turn on the Light by Movement in the Toilet

Admin September 24, 2026

Turning on the light in the toilet by movement can be achieved through Xiaomi Home automation scenarios, smart bathroom automation settings, or conventional human movement detectors. Here are the specific implementation methods:

Xiaomi Home Automation Scenario: This solution relies on Xiaomi Home ecosystem devices for linked control. Users need to create automation rules in the Xiaomi Home app, setting the trigger condition as 'Someone moves in the bathroom' and the action as 'Automatic turn-on of the bathroom heater light'. This method requires ensuring that a human body sensor supporting the Xiaomi protocol (such as the Aqara human body sensor) and a smart bathroom heater are installed in the bathroom, and that the devices are bound to the same Xiaomi Home account. The sensor detects human movement using infrared or microwave technology and transmits the trigger signal to the bathroom heater via Wi-Fi or Zigbee protocol, enabling touchless light activation. The advantage of this solution is its high device integration, allowing remote management of rules through the app, but it relies on Xiaomi ecosystem devices.

Smart Bathroom Automation Setting: This solution requires combining a light sensor with a human body sensor for precise control. Users need to set dual conditions in the smart central control panel (such as HomeKit or Google Home): Trigger Condition 1 is 'Someone moves', and Trigger Condition 2 is 'Light intensity below 20 Lux', with the action being to select the target light fixtures (such as ceiling lights or mirror lights). The light sensor prevents false triggers during the day, while the human body sensor ensures automatic light activation when someone enters at night. For example, when the ambient light intensity is below 20 Lux and the sensor detects movement, the system controls the lighting fixtures to turn on through a relay or smart switch. This solution requires planning the installation positions of the sensors in advance (such as installing the human body sensor 2.2-2.5 meters above the ground and avoiding direct light sources for the light sensor) to optimize detection accuracy.

Conventional Human Movement Detector Configuration: The traditional solution is implemented through a combination of an independent human body sensor and a smart switch. Users need to install the human body sensor at the entrance or dry area of the toilet, set the trigger logic as 'Turn on the light when someone moves', and bind it to the smart switch of the corresponding light fixture (such as a Wi-Fi switch or Zigbee switch). After detecting movement, the sensor sends a signal to the switch via a wireless protocol, directly controlling the circuit's on/off state. This solution is highly compatible and can be adapted to non-smart light fixtures, but it requires purchasing the sensor and switch separately and ensuring that the device protocols are consistent (such as both supporting Xiaomi Home or HomeKit). During installation, attention should be paid to the sensor's detection range (usually a 5-12 meter fan-shaped area) to avoid missed detections due to angular deviations.