Smart bathroom
Humidity-controlled exhaust fans, motion night lights, leak sensors and safe choices for a wet room: what is worth automating in a bathroom.
As an Amazon Associate we earn from qualifying purchases. Product links on this page are affiliate links: buying through them costs you nothing extra and does not change what we recommend.

Leviton DHS05 humidity sensor fan switch
Best for: Bathrooms with mold or peeling paint because the fan is not left on long enough.
- Runs the fan when it is needed, not when someone remembers
- No app or Wi-Fi
- Rated for fans up to ¼ HP
- Line-voltage wiring: turn off the breaker or hire an electrician
Name, photo and listed features checked on Amazon.com on November 14, 2026. We have not tested it; see how we choose.
Bathrooms have one big problem that automation solves well: moisture. A fan that runs until humidity drops protects paint, grout and the ceiling better than anyone remembering to flip a switch. Motion-activated night lighting and a leak sensor behind the toilet are the other two upgrades with a clear payoff.
Anything wired near a tub or shower must follow local electrical code and be rated for damp or wet locations. If a job means opening a wall box and you are not sure, hire a licensed electrician.
What to automate first in a bathroom, and what to skip
Three upgrades cover most of the payoff:
- Humidity-controlled ventilation. The fan turns on when the air gets damp and runs until it dries, instead of stopping when someone leaves. Size matters before smarts: about 1 cfm per square foot for rooms up to 100 sq ft, so a 5 by 8 ft bathroom (40 sq ft) is covered by a common 50 cfm fan. The humidity fan switch guide compares the options.
- A low night light. Motion-activated and warm, on the path from bed to the toilet; see motion night lights.
- Leak sensors. Behind the toilet and under the vanity, where supply lines and wax seals fail quietly.
Skip cameras of any kind, speakers or mirrors not rated for damp rooms, and gadgets that need a charger near the sink.
Ratings and wiring checklist for damp rooms
- Location rating. Fixtures and fans near a tub or shower must be listed for damp or wet locations, as the label states. Battery devices should state a water resistance rating such as IPX4 if they will be splashed.
- GFCI protection. Bathroom receptacles are normally GFCI-protected. If yours are not, have an electrician check them before you add anything plugged in.
- Neutral wire. Many humidity-sensing and smart switches need a neutral in the switch box; read smart switches without a neutral before buying.
- Ducting. A fan that vents into the attic instead of outdoors moves moisture to a worse place; a smart switch does not fix that.
- Who does the work. Turning off the breaker and swapping a switch is within some homeowners’ skills; anything you are unsure of, or local code requires, goes to a licensed electrician.
Typical bathroom budget ranges
| Upgrade | Install |
|---|---|
| Countdown timer switch for the fan | Switch box wiring |
| Humidity-sensing wall switch | Switch box wiring, often needs neutral |
| Smart switch plus humidity sensor | Switch wiring, sensor on the wall |
| New fan with built-in humidity sensor | Ceiling and duct work |
| Leak sensor | Place on the floor |
| Two motion night lights | Plug in or stick on |
Prices are indicative and exclude an electrician’s visit. If the fan is undersized or noisy, replacing it often matters more than any smart control added to it.
Kits 1
Guides 3
GuideSmart humidity control: humidifiers and dehumidifiersKeep indoor humidity between 30% and 50%, and below 60% at all times. Learn how to measure it, size a basement dehumidifier with continuous drain and…
GuideBathroom fan humidity sensor switch: types, sizing, wiringA humidity-sensing fan or wall switch turns the bathroom fan on when the air gets damp and off when it dries. Learn the types, the cfm you need and…
GuideMotion night lights for the bathroom and hallwayA low, warm light that turns on when you step out of bed helps you see the path to the bathroom without waking up fully. Compare plug-in, battery and…Comparisons 2
ComparisonDehumidifier with a bucket or a continuous drain (hose or pump)A bucket needs emptying every day or two. A hose or built-in pump lets a dehumidifier run unattended in a basement. Compare convenience, cost and the…
ComparisonWater leak sensors or a whole-home flow monitorLeak sensors catch water on the floor where a leak starts. A flow monitor watches the main line for water running when it should not. See what…Frequently asked questions
How long should a bathroom fan run after a shower?
Long enough for humidity to fall back to the level it was before the shower, which a humidity sensor detects for you. With a plain timer, many households use 20 to 30 minutes and adjust if mirrors or walls stay wet.
Sources
- Amazon.com listing: Leviton Humidity Sensor Switch for Exhaust Fans, ¼ HP, DHS05-1LW, White (ASIN B0BG6243G7), checked November 14, 2026
Product names, photos and listed features were checked on the Amazon.com product pages on November 14, 2026. Prices and availability change; the retailer page is always the reference.
