Black Friday: smart home deals to watch on Amazon.ca
LeLaboDomotique.com
Tutorials

Automate Your HRV Air Exchanger With Home Assistant

Horizontal metal ventilation duct fitted with an adjustable white circular air diffuser

What you’ll build

An air exchanger (HRV or ERV) is almost always misconfigured in a Canadian home: too low overnight in a closed bedroom where CO₂ climbs past 1500 ppm, too high in January when indoor humidity drops to 22%, or forgotten after a hot shower. This tutorial connects your HRV to Home Assistant 100% locally, with no cloud and no subscription, to run three practical automations:

  1. High speed driven by CO₂: the unit boosts when the bedroom or office stays above 1100 ppm, then drops back to normal below 800 ppm.
  2. Automatic shower exhaust: a bathroom humidity sensor triggers high speed for 20 to 30 minutes without touching the wall timer.
  3. Winter safeguards: guardrails stop the HRV from over-drying the house at -20 °C or running full tilt during a winter peak-pricing event.

If you don’t have a local server yet, start with our guide to installing Home Assistant on a Mini PC. To pick a reliable CO₂ sensor before wiring anything, see our buying guide to CO₂ monitors.

Hardware you’ll need

The dry-contact relay (the cleanest method)

Pick one of these two relays depending on your network (local Wi-Fi or Z-Wave). Both provide isolated dry-contact outputs and are available on Amazon.ca. Check the certification (UL/cUL) and supply voltage on the datasheet of the model you receive before wiring.

Simplest over local Wi-Fi

Shelly 1 Gen4 UL

Local Wi-Fi

Pros

  • Isolated dry-contact relay (I and O terminals), safe for low-voltage HRV control inputs
  • UL/cUL-certified North American variant for Canadian electrical compliance
  • Official 100% local Home Assistant integration over WebSocket, with no cloud required
  • Can also act as a Bluetooth proxy to read a nearby CO₂ or radon monitor
  • Runs on either 120 V AC or 12 V DC depending on your wiring preference

Cons

  • Single relay: drives one input only (typically high-speed override or the auxiliary timer circuit)
  • Needs reliable 2.4 GHz Wi-Fi coverage in the basement mechanical room
  • Must be mounted inside an approved electrical enclosure, never left exposed
Check the price on Amazon.ca
Best if you already run Z-Wave

Shelly Wave 1 Mini

Z-Wave

Pros

  • Compact dry-contact relay (8 A) that fits inside a wall box or next to the HRV control board
  • Z-Wave Long Range with a physical input for a wall switch, 100% local through Z-Wave JS
  • No cloud and no subscription: it pairs directly with your Z-Wave USB stick
  • Lets you keep the Wi-Fi network out of the mechanical room

Cons

  • Single relay: it cannot control low and high speeds separately
  • Requires an existing Z-Wave USB stick on your Home Assistant server
  • Check the supply voltage in the manual before wiring (never connect it to the HRV's low-voltage terminals)
Check the price on Amazon.ca

Approximate budget: around $25 – $45 for the Shelly 1 Gen4 UL, around $35 – $55 for the Shelly Wave 1 Mini.

The no-wiring fallback (renters or proprietary wall controls)

If your HRV uses a proprietary digital wall panel with no documented dry-contact terminals, or you rent and don’t want to touch any wiring, a small mechanical pusher stuck next to the “20/40/60 min” boost button gets the job done in ten minutes.

Zero wiring

SwitchBot Bot

Bluetooth

Pros

  • Sticks beside the existing wall button: zero electrical work, 100% reversible
  • Controlled locally by Home Assistant's SwitchBot Bluetooth integration
  • Works on proprietary wall controllers that lack auxiliary dry-contact terminals

Cons

  • No state feedback: if someone presses the wall button by hand, Home Assistant won't know
  • CR2 battery needs periodic replacement, and the mechanical click is audible
  • Short Bluetooth range: a nearby Bluetooth proxy (ESP32 or Shelly) is often needed
Check the price on Amazon.ca

Approximate budget: around $35 – $50.

Sensors to drive the automations

To automate ventilation properly, you need at least one true NDIR CO₂ monitor in a bedroom or living area and a humidity sensor in the main bathroom.

Affordable local NDIR CO₂

SwitchBot Meter Pro (CO2 Monitor)

Bluetooth

Pros

  • True NDIR CO₂ sensor with temperature and humidity on a large screen
  • Read locally by Home Assistant over Bluetooth, with no subscription
  • Much less expensive than commercial-grade monitors (around $90 – $140)

Cons

  • Fairly bulky on a nightstand
  • Requires the SwitchBot app for initial setup and firmware updates
  • Check Bluetooth range between the bedroom and your Home Assistant server
Check the price on Amazon.ca
Great for the bathroom

Aqara Temperature and Humidity Sensor (Zigbee)

Zigbee

Pros

  • Tiny and discreet: mounts high on the wall away from splashes
  • Reacts quickly to humidity spikes from a hot shower
  • 100% local with ZHA or Zigbee2MQTT, long battery life

Cons

  • Requires an existing Zigbee USB stick in Home Assistant
  • No screen and not waterproof: keep it out of direct shower spray
  • Some Aqara sensors can be picky about third-party Zigbee repeaters
Check the price on Amazon.ca

Approximate budget: around $20 – $35 per Aqara humidity sensor.

Step 1: Find the dry-contact terminals on your HRV

Before buying or wiring anything, open your air exchanger’s installation manual (or check the wiring sticker glued inside the unit’s access door). Look for “Auxiliary control”, “20/40/60 timer” or “Dry contact”.

Here is what you typically see on Canadian units:

  • Venmar / Broan / VanEE: many models provide dedicated auxiliary override terminals (OVR, Y/W or a dry-contact dehumidistat pair) that force high speed when bridged. Older units sometimes use a simple two-wire main control pair.
  • Lifebreath: most boards include a numbered terminal strip where bridging the common terminal (often 2 or ON) to a speed terminal (1 for low, 6 for high, depending on the series) selects the speed, or a dedicated pair for bathroom push-button timers.
  • Fantech: many units expose a remote-switch pair (D+ / COM or boost terminals) that switches the unit to high speed whenever the contact closes.

The key check before programming: verify in the manual whether the auxiliary input expects a maintained closure (the HRV stays on high speed as long as the relay is closed, then returns to normal when it opens) or a momentary pulse (a half-second press triggers a 20-minute cycle, a second press 40 minutes, etc.). The automations below work with both.

Step 2: Wire the relay safely

Electrical safety: unplug the HRV (or shut off its breaker) before opening the cabinet. If you power a Shelly 1 Gen4 UL from 120 V, install it inside an approved electrical box in compliance with the Canadian Electrical Code. When in doubt, have a licensed electrician handle the 120 V side — or power your Shelly 1 Gen4 UL or Shelly Wave 1 Mini from a cUL/CSA-certified 12 V DC wall adapter plugged into the mechanical room outlet so you stay strictly on low voltage.

The dry-contact wiring pattern is the same on every relay:

  1. Power the relay via its power terminals (per the model’s manual: preferably 12 V DC from a cUL/CSA-certified wall adapter). Never bridge that power input to the relay’s output terminals.
  2. Connect the two isolated output terminals (I and O on both Shelly relays) to the HRV’s auxiliary terminals using 18/2 or 20/2 low-voltage thermostat wire.
  3. Leave the original wall controller connected. Wiring the relay in parallel on the auxiliary input keeps your factory defrost logic, minimum ventilation schedule and manual wall controls working even if Home Assistant is offline.
  4. Restore power and toggle the relay from its local web interface: you should hear the HRV ramp up to high speed, then drop back down when you open the relay.

Step 3: Add the relay and sensors to Home Assistant

  1. Shelly 1 Gen4 UL: connect it to your 2.4 GHz Wi-Fi through its local setup page (http://192.168.33.1), without creating a Shelly cloud account. In Home Assistant, go to Settings → Devices & services: the official Shelly integration discovers it automatically. Rename the switch entity to switch.hrv_high_speed.
    • Bonus tip: in the Shelly integration options inside Home Assistant, enable the Passive Bluetooth scanner. Your Shelly next to the HRV immediately doubles as a Bluetooth proxy for a basement radon detector or nearby CO₂ monitor.
  2. Shelly Wave 1 Mini: include it in Z-Wave JS, then rename the relay to switch.hrv_high_speed.
  3. Sensors: add your CO₂ monitor (sensor.bedroom_co2) and humidity sensors (sensor.bathroom_humidity, sensor.living_room_humidity). If you use Zigbee Aqara sensors, see our guide to Aqara sensors with Home Assistant.

If your HRV expects a momentary pulse instead of a maintained closure, turn on the Shelly’s Auto Off timer set to 1 second: every time Home Assistant turns on switch.hrv_high_speed, it mimics a single tap on the 20/40/60-minute wall button.

Step 4: Automate the HRV based on CO₂ (with hysteresis)

For a maintained-contact HRV, always use two separate thresholds (1100 ppm to start, 800 ppm to stop) so the fan doesn’t short-cycle every few minutes. Create an automation under Settings → Automations → Create → Edit in YAML:

alias: "HRV - High speed on CO₂"
mode: single
triggers:
  - trigger: numeric_state
    entity_id: sensor.bedroom_co2
    above: 1100
    for: "00:10:00"
    id: "co2_high"
  - trigger: numeric_state
    entity_id: sensor.bedroom_co2
    below: 800
    for: "00:15:00"
    id: "co2_normal"
actions:
  - choose:
      - conditions:
          - condition: trigger
            id: "co2_high"
          - condition: numeric_state
            entity_id: sensor.living_room_humidity
            above: 28
        sequence:
          - action: switch.turn_on
            target:
              entity_id: switch.hrv_high_speed
      - conditions:
          - condition: trigger
            id: "co2_normal"
        sequence:
          - action: switch.turn_off
            target:
              entity_id: switch.hrv_high_speed

Notice the above: 28 check on living-room humidity: in the middle of January, if indoor air is already very dry (under 28%), Home Assistant avoids running the exchanger harder than necessary. You can add a second override above 1500 ppm without that humidity check so a closed bedroom never gets stuffy.

Step 5: Clear shower humidity automatically

A fixed threshold (such as “above 65%”) breaks across Canadian seasons: in July the whole house sits near 60%, while in February the baseline is around 35%. Comparing bathroom humidity against the living room works all year round:

alias: "HRV - Bathroom shower boost"
mode: restart
triggers:
  - trigger: template
    value_template: >
      {{ (states('sensor.bathroom_humidity') | float(0))
         - (states('sensor.living_room_humidity') | float(0)) > 15 }}
    for: "00:02:00"
actions:
  - action: switch.turn_on
    target:
      entity_id: switch.hrv_high_speed
  - delay: "00:30:00"
  - condition: numeric_state
    entity_id: sensor.bedroom_co2
    below: 1100
  - action: switch.turn_off
    target:
      entity_id: switch.hrv_high_speed

Whenever the bathroom runs more than 15 percentage points higher than the living room for 2 minutes, the HRV jumps to high speed for 30 minutes. Using mode: restart extends the boost if a second person showers right afterward, and the final condition checks that CO₂ doesn’t still need ventilation before switching high speed off.

Step 6: Add winter safeguards

Three quick extras make the setup comfortable across all four seasons:

  • Winter window condensation limit. At -20 °C, keeping indoor relative humidity around 35% to 40% avoids both dry sinuses and ice along window bottoms. Add a rule that boosts the HRV when living-room humidity climbs past 45% while outdoor temperature (weather.home) is below -10 °C.
  • Pause during Hydro-Québec peak events or wildfire smoke. If you track winter peak pricing (see our local home energy monitor guide), or during summer wildfire smoke advisories, create a toggle helper input_boolean.hrv_automation_enabled under Settings → Devices & services → Helpers and add it as a condition. One tap on your dashboard pauses automatic boosts.
  • Maximum runtime failsafe. Add an automation that turns off switch.hrv_high_speed and sends a phone alert if the relay stays on for more than 3 hours straight: you’ll immediately spot a stuck sensor or a dead battery.

Mistakes to avoid

  • Using a powered relay (Shelly 1PM, standard Sonoff Mini). Those output 120 V. An HRV control board strictly requires a dry contact (Shelly 1 Gen4 UL, Shelly Wave 1 Mini).
  • Disconnecting the main wall control. Keep the factory controller wired so defrost cycles, minimum continuous ventilation and manual overrides still work if Home Assistant restarts.
  • Mixing up maintained vs. momentary inputs. If your HRV expects a 1-second pulse and you leave the relay closed continuously, some boards lock out bathroom wall buttons until the relay opens. Check the exact manual.
  • Forgetting filter and core maintenance. No automation makes up for clogged filters or an exterior intake buried in blowing snow in January. Set a quarterly reminder in Home Assistant to wash the filters.
  • Relying on an HRV alone for radon. Boosting ventilation helps refresh indoor air, but if your long-term radon average exceeds 200 Bq/m³, only a C-NRPP certified mitigation system fixes the problem at the source.

Photo: “Central ventilation tube”, Paul Goyette, Wikimedia Commons, CC BY-SA 2.0 license (cropped and converted).

Frequently asked questions (FAQ)

Can every residential HRV or ERV be automated with a dry-contact relay?

Most residential HRVs sold in Canada (Venmar, Broan, VanEE, Lifebreath, Fantech) include a low-voltage terminal block for an auxiliary control or bathroom 20/40/60-minute push-button timers. Check your exact model's wiring diagram before buying: many newer units with a proprietary digital wall control still expose a pair of dry-contact terminals on the main board, though not all do.

Why must you use a dry-contact relay instead of a Shelly 1PM?

An HRV's remote-control terminals run on low voltage (typically 12 V or 24 V) supplied by the unit's own control board. A relay that outputs 120 V line voltage, such as a Shelly 1PM or a wired smart switch, will destroy the HRV's board. A dry-contact relay (like the Shelly 1 Gen4 UL or Shelly Wave 1 Mini) acts purely as an isolated mechanical switch that bridges two terminals without injecting power.

Can you plug an HRV into a 120 V smart plug to automate it?

Usually that is a bad idea. Cutting 120 V power abruptly interrupts the winter defrost cycle, can reset the wall controller and gives you no way to switch between low and high speed. Use the manufacturer's low-voltage auxiliary input instead, or a physical button pusher over the wall switch if you cannot access the terminal block.

Should an HRV run on high speed all night when it is -25 °C outside?

No. Outdoor air at -25 °C holds very little moisture: over-ventilating drives indoor humidity below 25%, dries out your throat and increases your winter heating bill. The whole point of automation is to boost the HRV in targeted bursts when CO₂ or bathroom humidity spikes, then drop back to minimum ventilation as soon as indoor air recovers.

Related articles