Turn on a dim bathroom light at night
Walk in half asleep, get enough light to see, and do not wake the house. If it fails, the wall switch still works.
Best for: Bathrooms with a dimmable light and a sensor placed near the entry.
Not for: A bathroom where a short PIR timeout would turn lights off during a shower. A PIR sees movement, not a still person. Start with a longer timeout or use the PIR vs mmWave presence article to add occupancy sensing.
Why this exists
Bright bathroom light at 2am is miserable. This recipe uses only enough light to navigate safely, then hands the shutoff to the paired motion-lighting recipe. It should work without explaining a special night mode to a guest.
- Sleep Quality: Bright lights suppress melatonin production. Low-light maintains sleep readiness and makes it easier to fall back asleep.
- Safety: No stumbling in the dark. Safe navigation for all ages, reduces fall risk for elderly. Kids can navigate independently.
- Family-Friendly: Whole household benefits. Great for overnight guests. Works for everyone automatically with no explanation needed.
Use cases
Nighttime Navigation
- Middle of Night Bathroom Trips - Common for everyone
- Nighttime Hallway Navigation - Safe path to bathroom
- Kids Walking to Parents' Bedroom - Safe independent movement
Early Morning & Kitchen
- Getting Water from Kitchen - Any nighttime navigation
- Early Morning Routine - Before sunrise gentle lighting
What I used
| Job | Good enough | Never think about it | Notes |
|---|---|---|---|
| Detect bathroom motion, humidity, temperature, and light | Aeotec TriSensor 8 | Zooz ZSE11 800LR Q Sensor | Use the extra readings where they solve a real bathroom problem. |
| Dim a fixed light | TP-Link Tapo S505D Matter Smart Dimmer Switch | UltraPro Z-Wave Long Range Dimmer | Verify hub compatibility. The physical paddle must remain usable. |
See recommended gear for the job-first checklist. Product links on this page are direct, non-affiliate Amazon links. Product recommendations and any future affiliate relationships are explained in the disclosure.
Logic
- Trigger: Bathroom or entry motion is detected.
- Conditions: Night mode is active or it is within your chosen night window, and optionally the room is dark enough.
- Action: Turn on the bathroom light at 10 percent. Set a warm color temperature only if the light supports it.
- Wait / timeout: The paired turn lights off after motion stops recipe owns the timeout. Start at 10 minutes for a shower bathroom.
- Stop condition: New motion cancels the shutoff. A manual wall-switch change wins.
- Manual override: The wall switch still wins.
Setup notes
Choose one understandable signal for nighttime behavior. A fixed night window is simplest. If the household already uses a reliable Night mode, the lighting rule can check that instead.
Option 1: Time-based
- IF the current time is within the chosen night window
- THEN use the dim nighttime level
Option 2: Manual trigger
- IF “Good Night” voice command
- OR bedtime button pressed
- THEN set house to Night Mode
Do not infer Night mode only because someone entered a bedroom. Different schedules, illness, guests, and brief trips make that signal unreliable. See daily routine automations for deliberate night-mode patterns.
Advanced features
Multiple brightness levels
Adjust brightness based on time of night:
Strategic sensor placement
The motion sensor doesn't have to be in the room you want to light up:
- Separate toilet room: Sensor in main bathroom triggers both lights
- Bedroom sensor triggers bathroom lights
- Hallway sensor triggers multiple room lights
- Stairway sensor triggers upstairs bathroom
Color temperature guidelines
Choose appropriate color for minimal sleep disruption:
- Warm White (2200-2700K): Minimal melatonin suppression
- Ultra Warm/Red (1800K): Even less sleep disruption
- Avoid Cool White (4000K+): Suppresses melatonin, disrupts sleep
Brightness by location
- Very Low (5-8%): Bedroom, baby's room
- Low (10-15%): Bathroom, toilet room
- Medium-Low (15-25%): Hallway, kitchen, stairs
Extending to other rooms
- Hallways: 15%, warm white (2200K)
- Kitchen: 20%, warm (2700K)
- Stairs: 25%, safety priority
- Kids' rooms: 8%, very low
Auto turn-off integration
- Trigger: Motion sensor shows no motion for 5 minutes
- Condition: House mode is "Night"
- Action: Turn off bathroom light
See turn lights off after motion stops for complete details.
Per-person brightness
Use presence detection to adjust brightness by person:
- Parent 1 home: 5% brightness (very dim preference)
- Parent 2 home: 15% brightness (slightly brighter preference)
- Guests/others: 10% brightness (default)
Gradual brightening
Lights start very dim and gradually increase:
- Start at 5% brightness
- Wait 3 seconds
- Check if motion still detected
- If yes, increase to 10% with 2-second transition
Common issues and solutions
Lights still too bright
- Reduce to 5% or lower if bulb supports it
- Use red/amber color if supported
- Add dimming film to bulb (diffuses light)
- Use dedicated nightlight instead
Lights too dim for safety
- Increase to 15-20%
- Use warmer but brighter setting
- Add additional lighting in critical areas
- Motion-sensitive nightlights as backup
Delay before lights come on
- Ensure local automation processing
- Move sensor closer to entry point
- Add Zigbee/Z-Wave repeaters
- Optimize automation logic
Failure modes
- The light is too bright: Start at 10 percent, then test in a dark bathroom. Increase only enough for safe footing.
- It turns off during a shower: A PIR can miss a still person through steam or a shower curtain. Use the paired off recipe with a 10-minute starting timeout, or follow the PIR vs mmWave presence article to keep detecting a person after motion stops.
- The sensor sees a hallway instead: Aim and test the sensor so passing traffic does not light the bathroom unnecessarily.
- A guest uses the wall switch: Treat it as the final answer. The next automation must not immediately undo that choice.
- The hub or internet is down: The wall switch remains the fallback. Confirm that any relied-on Level 2 path is local.
Done when
- Enter during the night window and the room has enough light to navigate before you reach the switch.
- Enter outside the night window and the recipe does not turn on the dim night setting.
- Shower or sit still for the chosen off timeout and confirm the light does not turn off.
- Use the physical switch and verify the automation respects it.
- Have someone who did not configure the automation use the room at night.
FAQ
What brightness should a bathroom night light use?
Start at 10 percent, then test it in the dark. Raise it only enough for safe navigation.
Why does a bathroom motion light turn off during a shower?
A PIR sensor can miss someone who is still or hidden by steam and a shower curtain. Use a longer timeout or a presence sensor.
What happens if the hub or internet connection goes down?
The physical wall switch still works independent of the automation, so the bathroom light can always be turned on manually.