Back to blog
Article

Toilet Sliding Door Light Automation

Admin September 22, 2026

To achieve automation for turning on the light when the toilet sliding door opens, the following methods can be used for setup:

Method 1: Linkage between human motion sensors and door/window sensors Install the human motion sensor at an appropriate location inside the bathroom and the door/window sensor on the sliding door. When the human motion sensor detects someone entering the bathroom and the door/window sensor detects that the door is open, the system determines it as 'someone has entered and opened the door'. At this point, it triggers the smart switch to turn on the bathroom light. This setup has a simple and straightforward logic, effectively avoiding false triggers. For example, the light will not turn on if there is only human motion but the door is not opened. It is suitable for scenarios with clear automation needs and simple situations.

Method 2: Delayed light-off setting when the door is open Add a delayed light-off function based on Method 1. When the bathroom door is open, if the human motion sensor does not detect any human motion within two minutes, the system determines it as 'the person has left or is stationary'. At this time, the light turns off automatically. This setting can avoid energy waste caused by the light staying on for a long time after the person leaves. Meanwhile, the two-minute delay also takes into account the need for a person to stay briefly in the bathroom (such as for getting dressed), balancing convenience and energy efficiency.

Method 3: Smart switch control with multi-condition comprehensive judgment Combine human sensors, brightness sensors, and door/window sensors to achieve more precise control. When the human sensor detects human motion and the brightness sensor determines that the ambient brightness is below the set value (such as at night or when the light is insufficient), the smart switch turns on the light. The conditions for turning off the light are divided into two situations: if the bathroom door is closed and there is no human motion within 10 minutes, or if the bathroom door is open and there is no human motion within 2 minutes, the system determines it as 'no one is using it' and turns off the light automatically. This setting can more accurately match actual usage scenarios through multi-condition comprehensive judgment. For example, the light will not turn on even if there is human motion during the day when the light is sufficient, further enhancing the intelligence level of the automation system.