DIY: Set Up a Safe, Timed Boost for Bathroom Fans Using Smart Plugs and Humidity Sensors
DIYbathroomautomation

DIY: Set Up a Safe, Timed Boost for Bathroom Fans Using Smart Plugs and Humidity Sensors

aairvent
2026-02-10 12:00:00
11 min read
Advertisement

Automate a short, safe boost for your bathroom fan to prevent mould — step‑by‑step with smart plugs, humidity sensors and compliant hardwired alternatives.

Stop Mould Before It Starts: a practical DIY to add a safe, timed ‘boost’ to your bathroom fan using Smart Plugs and Humidity Sensors

Hook: If your bathroom still smells of damp after a shower and you’re battling mould, a short, targeted boost to your extractor fan is one of the most effective DIY steps you can take. This guide shows you how to create an automated boost period using consumer smart plugs and humidity sensors — and when to choose a hardwired relay solution to meet UK safety and Building Regulations requirements.

Why this matters in 2026

Since late 2025, two dominant trends make timed ventilation automation more useful than ever: the near‑universal roll‑out of Matter‑enabled smart devices, and stricter homeowner focus on resilient, energy‑efficient homes after a wave of retrofits. Smart humidity sensing combined with short, timed fan boosts reduces condensation and mould risk while keeping running costs low — particularly important as more UK households balance comfort and carbon reduction.

Quick overview: what you’ll build

  • Plug‑and‑play option: Use a certified smart plug (outside bathroom splash zones) to switch a plug‑in bathroom fan on for a timed boost when humidity rises or movement indicates a shower.
  • Hardwired (compliant) option: For permanently wired fans, use a purpose‑built smart relay or a DIN‑rail switched output installed by a qualified electrician to create the same timed boost while keeping the fixed wiring compliant with Part F and BS 7671.

Safety first: checks before you start

Never skip the safety checklist. Small fans and smart plugs are simple — but bathrooms carry risk and legal requirements.

  • Is the fan plug‑in or hardwired? Most bathroom extractors are hardwired. If it’s hardwired, stop — do not plug it into a smart plug. Use the hardwired relay option below and get a qualified electrician.
  • Check the fan’s power rating. The smart plug must be rated above the fan’s current draw. Typical domestic fans are 15–40 W, but check the label.
  • Bathroom zones and IP ratings: you cannot place unprotected sockets, plugs or non‑IP rated devices inside Zones 0, 1 or 2. In most UK bathrooms the fan and sensors should be mounted outside splash zones or be IP rated for the zone.
  • Confirm the smart plug is not used as a substitute for fixed wiring: smart plugs are fine for plug‑in appliances but are not a permanent solution if your fan must be wired per manufacturer instructions.
  • When in doubt, follow Part F of the Building Regulations and BS 7671 (IET Wiring Regulations) — and hire a qualified electrician for any work on fixed wiring.

Parts list: what to buy (UK, 2026 recommendations)

Choose devices with current 2026 compatibility — Matter support simplifies hub choices and future‑proofs the install.

  • Smart plug: Matter‑certified model (TP‑Link/Tapo P125M style or equivalent). Look for 13 A / 3 kW ratings and UK plug pins. See our hands‑on review of best budget energy monitors & smart plugs for UK homes.
  • Humidity sensor: Dedicated RH sensor (Aqara, Eve, or Zigbee/Z‑Wave model). Choose one with battery life >1 year and local automations support (Home Assistant, Hubitat, etc.).
  • Smart hub or app: Home Assistant, SmartThings, Apple Home, Google Home or Alexa. Prefer local automations (Home Assistant/Hubitat) to avoid cloud latency.
  • Hardwired relay (alternative): Shelly 1PM / Shelly Plus / Fibaro Single Switch (choose a model with the correct neutral/configuration for UK wiring). For consumer‑unit installs, a DIN‑rail relay module is an option.
  • Optional: Motion sensor for presence/finish detection, combined temp/RH sensors, IP65 junction box if mounting in a damp area.

Design decisions: timing, RH thresholds and profiles

Make your automation smart, not simply longer. The aim is to remove moisture quickly and keep relative humidity below 50–60% to reduce mould risk.

  • Immediate boost: trigger boost at RH > 60% or when shower motion is detected.
  • Minimum run time: set a forced on time of 10–15 minutes to clear the bulk of steam from a typical shower.
  • Adaptive finish: extend or cut the boost based on RH falling below a target (e.g., 55%); set a long max cap (e.g., 60 minutes) to avoid continuous running in poorly ventilated houses.
  • Night/week settings: reduce boost lengths for short showers, extend for shared bathrooms after prolonged use.

Step‑by‑step: plug‑and‑play smart‑plug boost (DIY, non‑electrical work)

Follow this path if your extractor has a UK plug and the plug/outlet is outside the bathroom zones. This is the easiest, lowest‑risk route.

1) Confirm the fan is plug‑in and the outlet is safe

  1. Switch off power and inspect the outlet location. If the socket is in Zone 0/1/2 or within 60 cm of a shower head, do not proceed — reposition the outlet or choose hardwired solution with electrician advice.
  2. Read the fan manual to check it is approved for plug use and note its wattage.

2) Install the humidity sensor

  1. Mount the sensor at least 1.5 m high and away from direct steam (not directly above the shower). The sensor should measure room air, not immediate shower steam spikes.
  2. Prefer a location near the door or ceiling level where airflow represents the whole room.

3) Set up the smart plug and hub

  1. Pair the smart plug to your hub using the vendor app or Matter pairing workflow. Ensure firmware is updated (Matter updates rolled out in late 2025 improved reliability).
  2. Plug the fan into the smart plug and test manual on/off to confirm operation.

4) Create the automation

Example logic (Home Assistant pseudocode):

When humidity_sensor > 60% → turn smart_plug ON; set minimum_timer 15 min. After minimum_timer expires, monitor humidity; if humidity <55% for 2 minutes → turn OFF. Else continue until max_timer 60 min.
  1. Implement the automation in your chosen hub. Use local automations where possible to avoid cloud dependency.
  2. Test multiple showers and adjust RH thresholds and times based on real‑world performance.

5) Validate and maintain

  • Check regularly that the plug shows proper power draw on app (some smart plugs report W). Spikes or unusual heat from the plug = stop using and replace.
  • Replace sensor batteries annually or when indicated.

Hardwired option: when a plug won’t do — and how to do it safely

Many UK bathroom fans are hardwired to a fused spur, timer switch or the lighting circuit. In these cases, a smart relay is not suitable. Instead you’ll use a smart relay or a dedicated humidity timer controller installed into the ceiling void or a consumer unit by a qualified electrician.

Why hardwire?

  • Compliance with Part F and BS 7671 for fixed appliances.
  • Cleaner look — no exposed plugs.
  • Often the only way to integrate with pre‑existing pull‑cord or timer wiring.
  • Shelly 1PM or Shelly Plus 1 — small relay modules for ceiling voids (require neutral/wiring skills).
  • Fibaro Single Switch — works with many smart hubs and supports power metering options.
  • DIN‑rail relay module — ideal for mounting in a consumer unit; use a qualified electrician for installation.

Installation summary (for your electrician)

  1. Isolate the bathroom circuit at the consumer unit.
  2. Install the relay in the ceiling void or consumer unit as appropriate. Connect live in, switched live out, neutral and earth per device manual.
  3. Locate the humidity sensor within the bathroom and pair it with the hub that controls the relay (or wire a dedicated humidistat to the relay if using a direct control module).
  4. Test entire system and label circuit work completed. Ensure any changes are recorded in the consumer unit and Part P is considered where required.

Important: hardwiring must be done by a competent electrician. Incorrect wiring risks shock, fire and non‑compliance with Building Regulations.

Practical automation templates (copy & paste style)

Use these templates to get started. Adapt names to your devices.

Basic humidity trigger (Home Assistant YAML style)

  alias: Bathroom Boost on Humidity
  trigger:
    - platform: numeric_state
      entity_id: sensor.bathroom_humidity
      above: 60
  action:
    - service: switch.turn_on
      target:
        entity_id: switch.bathroom_fan_plug
    - wait_for_trigger:
        - platform: numeric_state
          entity_id: sensor.bathroom_humidity
          below: 55
      timeout: '00:60:00'
    - service: switch.turn_off
      target:
        entity_id: switch.bathroom_fan_plug
  

Motion + humidity hybrid

  • Trigger: motion_detected OR humidity > 60%
  • Action: start boost for minimum 15 minutes, then finish on humidity < 55% or after max 60 minutes.

Real‑world example & energy note

Case study: Sarah in Leeds replaced a 60‑minute manual overrun with a smart 15‑minute, humidity‑adaptive boost. Her 30 W extractor ran an average of 20 minutes/day instead of 60, cutting fan electricity consumption from ~0.6 kWh/month to ~0.2 kWh/month — a small direct saving, but the big win was condensation control. Mould growth stopped on the tiles within two months.

Energy note: a typical bathroom fan’s electrical draw is small (25–40 W), so electricity costs are minor. The main benefit is condensation prevention and maintaining indoor air quality. If you have an MVHR system, integrate humidity sensors to control bypass or boost modes — energy recovery offsets ventilation heat loss.

Common pitfalls and how to avoid them

  • Using the wrong plug or location: Don’t put the smart plug inside a splash zone. If the only socket is in the bathroom zone, use the hardwired method.
  • Over‑reliance on motion alone: Motion can miss short showers; pair motion with humidity to capture all events.
  • Poor sensor placement: Avoid mounting the RH sensor directly over the shower or near the shower head — it will give false high readings and overrun the fan.
  • Using cloud automations: Cloud services add latency and privacy risk; prefer local automations for reliability and speed.
  • Ignoring fan manufacturer guidance: Some fans have integrated thermostats or humidity sensors; duplicating control can be counterproductive.

When to call a professional

Call a qualified electrician or ventilation specialist if:

  • Your fan is hardwired and you want to install a smart relay.
  • You need changes to a fused spur or consumer unit.
  • You want to upgrade to a humidity‑controlled extractor with built‑in humidistat or an MVHR retrofit.
  • You’re unsure about zones, IP ratings or Part F compliance.

Expect tighter integration between ventilation and home energy systems in 2026. Matter adoption and better local orchestrators (Home Assistant, Edge AI on hubs) now make predictive ventilation viable: systems learn typical shower times and pre‑boost to avoid initial humidity surges. Manufacturers are shipping low‑power, IP‑rated humidity sensors and relays explicitly for bathrooms, closing the gap between plug‑and‑play and code‑compliant installs.

Tip: When buying in 2026, prioritise Matter certification, local automation support, and IP‑rated humidity sensors if you’ll position them closer to moisture sources.

Final checklist before you go live

  • Confirm fan type: plug‑in or hardwired?
  • Smart plug rated for fan current and located outside splash zones.
  • Humidity sensor placed for representative measurements (not directly in steam).
  • Automation includes minimum on time + adaptive cutoff by RH + max cap.
  • Hardwired changes signed off by a qualified electrician and documented.
  • Test the system across multiple showers and adjust thresholds.

Short troubleshooting guide

  • If the fan doesn’t respond: check plug pairing and that the hub is on-site and online.
  • If the fan runs too long: raise the off threshold by 3–5% RH or increase minimum run time so moisture is cleared more effectively.
  • If the fan doesn't stop: add a max timer safety cutoff in your automation (60 min recommended).
  • If the sensor reads wildly different values: swap batteries, recalibrate or relocate the sensor.

Conclusion — make boosting part of your anti‑mould strategy

Smart, timed boosts are an affordable, high‑impact way to cut condensation and mould risk. In 2026 the combination of Matter devices, local automation platforms and better humidity sensors makes it simple to deploy a reliable solution that’s also energy conscious. Use a smart plug only where the fan is a plug‑in and the outlet is safely outside bathroom splash zones. For hardwired fans, choose a smart relay and hire a qualified electrician to keep your installation legal and safe.

Actionable takeaway: Start today by checking whether your fan is plug‑in or hardwired. If it’s plug‑in and outside splash zone, pick a Matter‑certified smart plug and a reliable humidity sensor, and implement the 15‑minute minimum + adaptive RH cutoff automation. If it’s hardwired, get a quote from a registered electrician for a Shelly/Fibaro relay install — it’s the safer and compliant route.

Ready to upgrade?

If you’d like personalised guidance — device selection, automation templates tailored to your home, or vetted electrician recommendations — visit airvent.uk or contact our team. We can review your setup and recommend a compliant, efficient solution to stop damp and mould at the source.

Advertisement

Related Topics

#DIY#bathroom#automation
a

airvent

Contributor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.

Advertisement
2026-01-24T06:18:34.500Z