Skip to main content
loading

Smart DHW Recirculation Control

Řízení cirkulace TUV - teplá voda bez zbytečných ztrát

Open the tap in the morning and there is no hot water. If the DHW tank is 4 or more meters away from the point of use, liters of water run down the drain while you wait for hot water. With a longer domestic hot water (DHW) distribution, this can happen several times a day. The solution is DHW recirculation: a circulation pump that pushes hot water around a loop, so hot water is available the moment you open the tap. It has a catch, though: circulation heat losses. In this article we show what they cost, how to reduce them with a pipe-in-pipe system and, above all, how to introduce smart recirculation control based on how the house is actually used.

What Is DHW Recirculation and Why It Matters

A circulation pump continuously flushes the loop with hot water so that it is available even in distant parts of the house. The pump's power draw is negligible (at 8 W, under 70 kWh per year). The main cost is heat loss: the pipes give off heat to their surroundings, into the walls in winter and needlessly heating the house in summer, and the DHW tank has to keep topping it up.

If the pump runs nonstop 24 hours a day, we pay for comfort we don't use for most of the day. So the answer is not to switch recirculation off, but to control it more intelligently. The goal is a simple principle: pump hot water mainly when someone actually needs it.

How Much Energy Does DHW Recirculation Waste?

The Lublin study

Interesting data comes from a study of nine apartment buildings in Lublin, Poland (Bocian, Siuta-Olcha, Cholewa, Energy for Sustainable Development, 2022). It is based on measurements from the summer of 2018 (May to September) in buildings connected to district heating. Depending on the method, the share of circulation heat losses came out at 9.4 to 25.4 % when only night and low-demand hours were counted, and 23.0 to 69.1 % when all hours of the day were counted.

These numbers need to be read with caution. They come from apartment buildings with much more extensive distribution, so they can't simply be converted to a family house. Nor do they say that this is how much energy we will always save by switching the pump off.

Real-world measurement: three recirculation modes

A more interesting look is at the operating mode itself. Passipedia describes measurements in a house with 4 occupants and a heat pump, where the author tracked electricity consumption for DHW and compared three recirculation modes:

ModeHeat pump electricity consumption for DHW
🔄 Recirculation 24/72,570 kWh/year
🕕 Recirculation only 6:00–8:00 in the morning1,800 kWh/year
⛔ No recirculation1,300 kWh/year

Circulation losses therefore make up roughly half of consumption, and that in a house with water at around 40 °C. At 60 °C they would be higher. We have no data for a 6–22 h mode. A rough linear estimate based on running time comes to roughly 2,150 kWh/year. Motion-based control should end up lower, because the pump runs for a shorter time.

Pipe-in-Pipe: Reducing Circulation Losses (John Guest / JG Speedfit)

Classic circulation needs two pipes, a supply and a return. In a new build it can be replaced with a pipe-in-pipe system: only one pipe is run, and the return flow of hot water travels back through a thin tube inside it. The DHW distribution is thus shorter, and by our estimate the losses drop by 30–40 % (you run one pipe instead of two).

DHW recirculation diagram: pipe-in-pipe circulation

 

Such a system is offered, for example, by the manufacturer John Guest (JG Speedfit). We describe it on our older blog. I installed it myself in 2016 as a layman, DIY, and it has worked for ten years.

Smart Recirculation Control: From a Timer to Motion-Based Control

Let's break the control levels down:

ModeDescription
Level 0the pump runs all the time (the simplest and most expensive operation)
Level 1timer switch for circulation 6:00–22:00 (running time shorter by a third, no smarts)
Level 2based on presence and movement in the house (the smart variant)

For level 2 we need to know that someone is home, ideally that they are moving around the house, cooking or cleaning, or that you have just arrived home. The best option is to hook into the alarm system: it knows you have disarmed the house, and it has motion sensors (PIR) in the corridors. With Jablotron the integration should be simple.

If you don't have an alarm system, get a home server running Home Assistant, a relay for the pump (e.g. Shelly) and battery-powered motion sensors for the kitchen and corridors. You can then use the automation we describe below. In a smart house such as PiHome Pro, where every room has a wired multisensor (temperature, humidity, motion), the control is easy and accurate because you have plenty of sensors.

The goal is to limit circulation while you sit at the PC, watch TV, sleep or are out in the garden.

In sum, ideal recirculation for a family house:

  • Runs on motion in the house (corridor, bathroom, kitchen) and when you get up or come home.

  • Doesn't run while you are at the PC, in front of the TV or in the garden (the motion sensors report nothing, the timer runs out).

  • Doesn't run while the house is armed (nobody home) or at night. The only exception is a short morning flush at 6:10.

  • Doesn't switch on a hundred times a day: after the timer runs out, there is a pause of at least 10 minutes.

Home Assistant Automation for DHW Recirculation

What you need:

Home Assistant

Relay/switch for the pump

Motion sensors (PIR)

An alarm available in Home Assistant (manual integration, Jablotron, etc.)

1. Timer

Assume you already have entities for the relay and the motion sensors in Home Assistant. In Settings → Devices & services → Helpers → Create helper → Timer create a timer named DHW recirculation (this creates timer.dhw_recirculation) with a duration of 10 minutes and Restore turned on.

DHW recirculation: timer setup in Home Assistant

Ten minutes is the minimum time for which recirculation runs after activation. It can be adjusted.

2. Automation

Settings → Automations & scenes → Create automation → Create new automation → ⋮ → Edit in YAML and paste the following YAML. Replace the underlined times and entities with those from your Home Assistant.

alias: DHW recirculation
description: Morning run, disarming the house and motion, with a pause between runs
triggers:
 - trigger: time
   at: "06:10:00"
   id: morning
 - trigger: state
   entity_id:
     - alarm_control_panel.alarm
   from:
     - armed_away
     - pending
   to:
     - disarmed
   id: disarm
 - trigger: state
   entity_id:
     - binary_sensor.corridorPP
     - binary_sensor.corridorNP
     - binary_sensor.kitchen
     - binary_sensor.bathroom
   to: "on"
   id: motion
 - trigger: event
   event_type: timer.finished
   event_data:
     entity_id: timer.dhw_recirculation
   id: stop
 - trigger: time
   at: "22:00:00"
   id: stop
 - trigger: state
   entity_id: alarm_control_panel.alarm
   to:
     - arming
     - armed_away
     - armed_night
     - armed_home
   id: stop
actions:
 - choose:
     - conditions:
         - condition: trigger
           id: morning
         - condition: time
           weekday:
             - mon
             - tue
             - wed
             - thu
             - fri
         - condition: state
           entity_id: alarm_control_panel.alarm
           state:
             - armed_night
             - disarmed
       sequence:
         - action: switch.turn_on
           target:
             entity_id: switch.recirculation_relay
         - action: timer.start
           target:
             entity_id: timer.dhw_recirculation
     - conditions:
         - condition: trigger
           id: disarm
         - condition: state
           entity_id: alarm_control_panel.alarm
           state: disarmed
       sequence:
         - action: switch.turn_on
           target:
             entity_id: switch.recirculation_relay
         - action: timer.start
           target:
             entity_id: timer.dhw_recirculation
     - conditions:
         - condition: trigger
           id: motion
         - condition: time
           after: "06:00:00"
           before: "22:00:00"
         - condition: state
           entity_id: alarm_control_panel.alarm
           state: disarmed
         - condition: state
           entity_id: timer.dhw_recirculation
           state: active
       sequence:
         - action: timer.start
           target:
             entity_id: timer.dhw_recirculation
     - conditions:
         - condition: trigger
           id: motion
         - condition: time
           after: "06:00:00"
           before: "22:00:00"
         - condition: state
           entity_id: alarm_control_panel.alarm
           state: disarmed
         - condition: state
           entity_id: switch.recirculation_relay
           state: "off"
         - condition: template
           value_template: >
             {{ now() - states.switch.recirculation_relay.last_changed >
             timedelta(minutes=10) }}
       sequence:
         - action: switch.turn_on
           target:
             entity_id: switch.recirculation_relay
         - action: timer.start
           target:
             entity_id: timer.dhw_recirculation
     - conditions:
         - condition: trigger
           id: stop
       sequence:
         - action: switch.turn_off
           target:
             entity_id: switch.recirculation_relay
         - action: timer.cancel
           target:
             entity_id: timer.dhw_recirculation
mode: queued
max: 10
 

How it works

  • Morning (Mon–Fri, 6:10): the pump runs for 10 minutes 

  • Disarming the house: the pump always starts, because after coming home you usually go to wash your hands.

  • Motion: while the house is disarmed, every movement in the corridor, kitchen or bathroom resets the timer to the full 10 minutes.

  • Protection against frequent switching: after the timer runs out, motion restarts the pump only after at least 10 minutes. You can adjust the pause in timedelta(minutes=10).

  • Shutdown: when the timer runs out, when the house is armed, or at 22:00.

If you don't have an alarm in Home Assistant, remove the disarm trigger, the stop trigger with the alarm, and the alarm_control_panel conditions.

What About Legionella?

Legionella multiplies best in standing water at 30 to 45 °C and dies within roughly half an hour above 60 °C. Passipedia notes that in a family house the risk is lower if the water in the system is replaced about every one to two days, and recommends moving the water for at least a few hours a day. For heat pumps with water at around 40 to 50 °C, or if you switch circulation off during the day, consider Legionella filters on the shower heads. It is advisable to periodically heat the DHW tank to 60 °C or more. Consult a professional about the specific setup.

Conclusion

A circulation timer saves a third of the running time without any smarts. Motion-based control and disarm-triggered starts go further: the pump runs only when someone is moving around the house, and thanks to the pause it doesn't switch on a hundred times a day. Hot water is still right at hand.

Finally, here is what it looks like when I work from home from midnight to 13:30.

DHW recirculation switching times
Rate the article
Average: 3.8 (1 votes)

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
CAPTCHA