← Back to Blog

Smart Sensors: Fan Delay and a Dim Night Toilet Light

You walk out of the bathroom and the light goes off by itself, but the exhaust fan keeps running for another fifteen minutes and then stops. At midnight, the same room greets you with a soft, dim light instead of a glare. Neither of these is possible with an ordinary switch. Both come from programmable sensors, and they show what automation is for: not gadgets, but a home that does the sensible thing without being asked.

The short answer

The sensor only reports that someone is in the room. The controller decides what each device does, and each device can have its own rule.

The light follows you: on when you enter, off when you leave. The fan follows its own timer: it keeps running for a set time, for example 15 minutes, to clear moisture and odour.

At night the light comes on dim. In this example, from 11 pm to 6 am at 30%, and at full brightness before that, so your sleep is not disturbed.

All of these are settings, so the times and levels can be changed later.

Try it: the bathroom, day and night

Move the time of day to before or after 11 pm, then walk in and walk out. Watch the light and the fan behave differently.

Set the time of day, then walk in and walk out. The fan countdown is sped up: one second here is about two minutes.

Light

Off
Nobody in the room

Exhaust fan

Off
Stopped
Time of day9:00 pm

Choose a time and walk in.

One sensor, two different jobs. The light follows you. The fan follows its own timer. At night the light comes on gently.

Why the fan runs on after the light goes off

The light and the exhaust fan do different jobs. The light is needed only while someone is in the room, so it should go off the moment you leave. The fan's job is to clear moisture and odour, and that takes a while after you have left. With an ordinary switch, the fan and the light share one switch, so they stop together and the fan stops too soon, or someone leaves the light on to keep the fan going.

With a programmable system the fan has its own off-delay. When the sensor sees nobody, the light turns off, and a timer starts for the fan, for example fifteen minutes. If you walk back in before it ends, the fan simply carries on. The time is a setting, not a rule of nature: a bathroom with a shower might want longer.

Why the night light is only 30%

At midnight your eyes have adapted to the dark. A full-brightness light can wake you fully and make it harder to fall back asleep. A dim light at around 30% is enough to see where you are going, and is much gentler. The same sensor does both jobs by checking the time:

These hours and the level are examples. Both can be set differently for each room.

How the controller decides

The sensor itself is simple: it reports that someone is there or not. The intelligence is in the controller, which holds the programmed rules and tells each device what to do. That is why one sensor can drive a light with a time-of-day rule and a fan with a delay at the same time.

Sensorsomeone is there Controllerthe programmed rules Light in: 100% before 11 pmin: 30% from 11 pm to 6 amleave: off Exhaust fan in: onleave: keeps running15 min, then off
The rules live in the controller. The sensor only reports that someone is there. The controller decides what each device does, and each device can have its own rule.

Getting it right: sensors and settings

Where else it helps

Want your home to do the sensible thing on its own?

Tell us which rooms matter to you, such as bathrooms, corridors and bedrooms, and we will plan the sensors and rules for each.

Talk to Agrima

Frequently Asked Questions

Why does the exhaust fan keep running after the light goes off?

Because the two have different jobs. The light is needed only while someone is in the room, so it turns off when the sensor sees nobody. The exhaust fan's job is to clear moisture and odour, which takes a while after you leave. With programmable control, the fan has its own off-delay, for example 15 minutes, that starts when you leave. A plain wall switch or a simple sensor switch cannot do that, because it ties the fan to the light.

Can the fan delay be a different time?

Yes. Fifteen minutes is an example. The delay is a setting, and it can be changed to suit the bathroom, the fan and the household, for instance longer for a bathroom with a shower.

Why does the toilet light come on at only 30% at night?

Walking into a bright light in the middle of the night can wake you fully and make it harder to fall back asleep. A dim light at around 30% is enough to see, and is much gentler on eyes that have adapted to the dark. In the daytime and evening the same sensor turns the light on at full brightness.

Can the night hours and brightness be changed?

Yes. The example here is 11 pm to 6 am at 30%, and full brightness at other times. Both the hours and the brightness are settings, and they can differ from room to room, for example a lower level in a bedroom ensuite and a different one in a guest toilet.

What if I sit still and the light turns off?

This is a real limit of simple motion sensors, which see movement rather than a person. For rooms where people sit still, such as a toilet, the sensor and its timeout are chosen and set with that in mind, for instance a longer timeout or a presence-type sensor. Tell us if it happens and we can adjust it.

Does this need a wired system?

Sensors, lights and the fan control all connect to the automation controller, and a wired system is the more dependable way to do it. The logic is a programming matter, which is why it can be changed later without opening the walls.

Can the same idea be used elsewhere in the home?

Yes. Corridors and stairs can come on dim at night, wardrobes and utility rooms can switch on as you enter and off as you leave, and a fan or other equipment can be given its own delay. The logic is the same: the sensor says someone is there, and the controller decides what each device should do.

Sensors Lighting Automation Bathroom Scenes

Garveshh Bharania is a co-founder of Agrima Solutions, a Crestron, Lutron and KNX integrator with offices in Ahmedabad and Rajkot. In 2026 he won the Excellence Award in the Residential Villa – System Integrator category at the Smart Space Awards, Smart Home Expo Mumbai.

Talk to Agrima about a project