Quick Summary (TL;DR)
Flow and return temperature measurements help diagnose heat-pump operation, but sensor position, attachment and calibration matter as much as the sensor specification. The flow sensor measures water leaving the heat pump; return measures water entering it. Their difference (ΔT) can help assess hydraulic operation, but temperature difference alone does not measure delivered heat or COP. Accurate heat output also requires reliable water-flow measurement and appropriate fluid properties.
Best approach: start with the manufacturer’s built-in readings for diagnostics; use professionally installed matched immersion probes for higher-quality measurements; use carefully insulated surface-mounted probes for non-invasive trends, not billing-grade heat measurement. For Home Assistant, prefer documented native telemetry or certified meters over improvised control wiring.
- Measure at the same hydraulic boundary and label sensor positions clearly.
- Compare sensors together at one stable temperature before installation to assess relative offset.
- Insulate contact sensors from room air and nearby heat sources.
- Never disturb a pressurised heating circuit or refrigerant system without a qualified professional.
- For COP, measure both electrical energy and delivered thermal energy over matching time windows.
What do flow and return temperatures tell you?
In a hydronic air-to-water heat pump, flow temperature is the leaving-water temperature and return is the entering-water temperature at the chosen measurement boundary. Under heating operation, flow is normally warmer than return. The difference changes with water-flow rate, compressor output, emitter demand, defrost cycles, and hydraulic mixing. Do not apply a universal “correct” ΔT: the manufacturer’s commissioning specification and actual operating state determine what is appropriate.
| Reading | What it can reveal | What it cannot prove |
|---|---|---|
| Flow temperature | Water temperature delivered at sensor location | Actual heat output without water flow |
| Return temperature | Water returning at sensor location | Whole-building heat loss |
| Flow minus return (ΔT) | Change in temperature across chosen boundary | COP or energy efficiency by itself |
| Heat-meter thermal kWh | Delivered heat across its metered boundary | Whole-system efficiency if electric meter excludes auxiliaries |
| Electricity meterPriceAliExpress price kWh | Electrical energy consumed by metered circuits | Delivered heat without heat metering |
Sensor types: immersion, strap-on and built-in probes
A manufacturer-installed probe generally provides convenient diagnostics and may be used by the heat pump’s own control system. Its readings are not automatically calibrated to revenue-meter standards. An immersion probe in a correctly positioned pocket or fitting measures fluid temperature more directly, but installation involves opening or modifying the hydronic circuit. A surface-mounted contact probe is easier to retrofit on accessible pipework; its result is sensitive to contact pressure, pipe material, insulation, airflow and thermal lag. Infrared spot readings on shiny copper are especially vulnerable to emissivity errors.
| Method | Advantages | Limitations | Best use |
|---|---|---|---|
| Manufacturer native sensors | Already fitted; often visible via supported gateway | Unknown accuracy, location and update cadence | Fault diagnosis and trends |
| Immersion PT100/PT1000 | Good thermal contact; suitable with proper matched electronics | Requires approved hydraulic installation; sensor-pocket lag | Independent measurement and heat metering |
| Surface PT100/PT1000 or digital contact probe | Non-invasive where permitted; retrofit-friendly | Thermal coupling and ambient bias | Trend monitoring and comparison |
| Clamp-on commercial heat meter probes | Specified as a matched system | Meter-specific mounting rules; not interchangeable | Meter-approved heat calculations |
| IR thermometer | Quick survey with correct emissivity technique | Surface finish and distance errors | Spot checks, not permanent COP |
Where should the sensors be placed?
Choose a consistent measurement boundary. For heat-pump performance, measure flow and return as close as practical to the heat-pump hydronic ports, following manufacturer instructions. A sensor downstream of a buffer tank, hydraulic separator, mixing valve or secondary pump may describe the emitter circuit rather than the heat pump itself. These locations can produce valid readings for different questions, but they must not be mixed in the same heat-output calculation.
- Primary heat-pump circuit: best for measuring heat produced by the appliance when paired with an appropriate primary flow meterPriceAliExpress price.
- Secondary heating circuit: useful for emitter delivery after a buffer or hydraulic separator, but measures a different boundary.
- Domestic hot-water branch: can be useful for operating-state diagnosis; avoid treating a DHW cylinder probe as instantaneous flow temperature.
- Mixed or manifold circuits: measure before and after mixing only when the intended calculation explicitly accounts for mixing.
Have the installer confirm suitable pipe sections, thermal wells, access, water pressure, isolation and any minimum straight-run requirements of the selected heat meter. Avoid locations exposed to sunlight, draughts, adjacent hot pipes or hot pump housings. Do not open live electrical enclosures or pressurised pipework for a DIY sensor retrofit.
Accuracy, resolution and matching: why a 0.5°C offset matters
When ΔT is small, errors in two independent temperature readings can be a large fraction of the calculated difference. If actual flow and return are 35.0°C and 32.0°C, ΔT is 3.0 K. If one probe reads +0.5°C and the other −0.5°C, the displayed ΔT becomes 4.0 K, an error of about 33%. Matching and calibration across the operating range are therefore critical for heat calculations. A sensor’s display resolution of 0.1°C is not proof of ±0.1°C accuracy.
| Actual flow / return | True ΔT | Reported flow / return | Reported ΔT | ΔT error |
|---|---|---|---|---|
| 35.0 / 32.0°C | 3.0 K | 35.5 / 31.5°C | 4.0 K | +33.3% |
| 40.0 / 35.0°C | 5.0 K | 40.3 / 34.7°C | 5.6 K | +12.0% |
| 30.0 / 28.0°C | 2.0 K | 29.8 / 28.2°C | 1.6 K | −20.0% |
For comparative calibration, put both probes in the same stable thermal environment using an appropriate safe test method, log their difference and repeat at more than one representative temperature. A single offset correction at room temperature does not guarantee accurate matching at 45°C. Calibration of a commercial heat-meter pair should follow its certified procedure rather than a generic Home Assistant template.
PT100 vs PT1000 vs DS18B20 for Home Assistant
Platinum resistance temperature detectors (RTDs) such as PT100 and PT1000 are widely used for accurate industrial temperature sensing when combined with suitable lead compensation, signal conditioning and calibration. DS18B20PriceAliExpress price digital probes can be useful for general trends but are not a substitute for a calibrated heat-meter temperature pair. Encapsulation, waterproofing and cable installation are product-specific. An ESP32 interface must use appropriately isolated, low-voltage sensor circuitry and should never be wired into a manufacturer’s proprietary safety or BMS control bus.
| Sensor | Interface | Practical consideration | Recommendation |
|---|---|---|---|
| PT100 | Resistance RTD; suitable RTD converter | Lead resistance important; 3/4-wire techniques help | Professional-grade measurement with calibrated electronics |
| PT1000 | Resistance RTD; suitable RTD converter | Lower relative lead-wire influence than PT100 | Good candidate for independent trends |
| DS18B20 | 1-Wire digital | Probe packaging and accuracy vary; bus wiring needs care | Budget trends, not certified heat metering |
| Native heat-pump probe | Vendor-specific | May not expose raw value or accuracy specification | First choice for monitoring without invasive work |
| Certified heat meter pair | Matched sensors and flow meter | Must follow approved installation and calibration | Preferred for defensible thermal kWh |
Calculating heat output correctly
For water near normal heating temperatures, an illustrative instantaneous thermal-power equation is P(kW) ≈ 1.163 × flow(m³/h) × ΔT(K). The coefficient assumes water properties approximated over a limited temperature range. Antifreeze/glycol mixtures require different properties and compatible meter configuration. For example, 0.80 m³/h and a measured 4 K temperature difference give approximately 3.72 kW. This is an instantaneous estimate, not seasonal heat delivery.
| Water flow | ΔT | Illustrative thermal power |
|---|---|---|
| 0.50 m³/h | 3 K | 1.74 kW |
| 0.80 m³/h | 4 K | 3.72 kW |
| 1.20 m³/h | 5 K | 6.98 kW |
| 1.00 m³/h | 2 K | 2.33 kW |
For a proper thermal-energy total, integrate measured heat output over time or use a certified heat meter. A nominal pump-speed setting is not a measured flow rate. Changes in filter restriction, zone valves, bypass flow and pump control can alter flow substantially. Do not calculate COP by dividing heat output inferred from ΔT alone by compressor power.
How to use the readings in Home Assistant
Prefer a manufacturer-supported Home Assistant integration or a supported Modbus gateway exposing flow, return, operating mode and fault state. When using independent sensors, name them by physical location and measurement boundary, not just “flow” and “return”. Keep timestamps aligned and reject stale or unavailable values before deriving ΔT. Record compressor state and defrost periods, which can reverse or distort the apparent temperature relationship.
A basic Home Assistant template for an illustrative difference is shown below. Replace the entity IDs with your own, and treat it as a diagnostic indicator rather than a safety control or certified energy measurement.
template:
- sensor:
- name: "Heat pump primary delta T"
unit_of_measurement: "K"
state_class: measurement
availability: >
{{ has_value('sensor.hp_primary_flow_temperature') and
has_value('sensor.hp_primary_return_temperature') }}
state: >
{{ (states('sensor.hp_primary_flow_temperature') | float -
states('sensor.hp_primary_return_temperature') | float) | round(2) }}
A template can be mathematically valid while using stale measurements. If the integration does not expose sample timestamps or quality flags, avoid using this derived sensor for automated plant decisions. The heat pump’s native frost, high-pressure, anti-cycling and flow protections must remain independent.
Surface sensor installation quality: what to check
- Use a manufacturer-approved pipe-surface sensor mounting method and ensure sound, repeatable contact.
- Keep the contact location consistent and document the distance from the heat-pump ports.
- Fit suitable thermal insulation over contact probes where approved to reduce ambient bias.
- Keep sensor cables away from hot surfaces, abrasion, moisture ingress and mains wiring as specified by the manufacturer.
- Verify the correct electrical sensor type and converter configuration; a PT1000 configured as PT100 produces grossly incorrect readings.
- Use identical sampling and filtering windows for flow and return readings.
- Check how the system behaves during DHW, space heating, standby and defrost.
Troubleshooting: readings that do not make sense
| Symptom | Possible reason | Safe check |
|---|---|---|
| Negative ΔT during steady heating | Sensors reversed, defrost or wrong pipe boundary | Check operating mode and physical labels |
| Flow and return identical for hours | Stale data, poor sensor contact or no circulation | Check timestamps and manufacturer diagnostics |
| Very large ΔT | Low flow, offset error or mixed measurement points | Compare native readings; request hydraulic assessment |
| Temperature spikes | Intermittent sensor connection or sampling artefact | Review logs and wiring condition without opening mains enclosures |
| COP looks implausibly high | Missing electrical auxiliaries or overstated heat output | Audit both meter boundaries and units |
| Surface sensor differs from built-in probe | Different positions, insulation, response time | Compare under stable conditions and document locations |
Choose the right measurement boundary before buying hardware
The most expensive temperature-measurement mistake is not selecting the wrong probe; it is measuring across the wrong part of the water circuit. In a straightforward monobloc air-to-water heat pump, the relevant pair may be the flow and return connections at the outdoor unit. But many installations have a hydraulic separator, buffer, plate heat exchanger, primary/secondary pumps, motorised diverter valve or several mixing circuits. A probe on the manifold supply may be observing water after it has been mixed with cooler return water, not the water leaving the heat pump.
Decide first what question you want to answer. For fault investigation you may want the manufacturer’s internal heat-exchanger outlet and inlet readings. For heating energy delivered to the house you need measurements enclosing the correct hydraulic energy-transfer boundary and the water flow through that boundary. For radiator comfort you may want temperatures downstream of a mixing valve. These are legitimate but different measurements; they should not share a generic name such as “heat pump flow” in your dashboard.
| Measurement objective | Correct starting point | Typical additional sensor | Main trap |
|---|---|---|---|
| Check heat-pump water-side behaviour | Manufacturer-defined heat-pump outlet and inlet | OEM telemetry or dedicated pipe pair | Assuming a downstream mixed temperature equals unit outlet |
| Estimate space-heating thermal power | Flow and return around the same hydraulic boundary | Metered water volume flow across that boundary | Using pump nominal flow rather than measured flow |
| Check UFH loop temperature | Mixed manifold supply and manifold return | Supply sensor after mixing valve | Confusing UFH supply with heat-pump primary flow |
| Evaluate buffer or separator losses | Primary and secondary pairs, plus their flows | At least two matched sensor pairs and flow data | Combining primary flow with secondary return |
| Evaluate DHW charging | Appropriate cylinder-coil hydraulic circuit | Valve state and cylinder-temperature context | Counting DHW heat as space-heating output |
| Calculate heating-plus-DHW seasonal efficiency | Heat meters for all intended loads and aligned electric energy | Certified heat-meter data where needed | Comparing inconsistent annual boundaries |
For example, a primary flow temperature of 38°C and a mixed UFH manifold supply of 31°C may be entirely normal. Subtracting the house-side return from the 38°C primary supply could make an apparent ΔT that no real heat meter would recognise. Sketch the pipework, identify every junction and valve, and annotate where each sensor sits before creating energy calculations.
How sensor placement changes the answer
A strap-on probe measures the outside of a pipe, which is coupled to the moving fluid through the pipe wall. Its reading is influenced by the pipe material, wall thickness, contact pressure, insulation, nearby heat sources and the temperature of the plant room. An immersion probe in an appropriately designed pocket is closer to the fluid temperature, but it still has response time, insertion-depth and thermal-contact constraints. Neither method is automatically accurate because a marketing listing claims a fine display resolution.
Put both members of a flow/return pair on straight, accessible sections where they observe the intended stream. For typical external strap-on probes, choose similar pipe sizes, substrate materials and insulation treatments on each side. Avoid mounting one sensor to bare copper and the other to thick plastic pipe, then interpreting a small difference as a calibrated measurement. If a mixing point exists, use a location with adequate mixing downstream, consistent with the relevant installation manual. See Caleffi’s advice on sensor mounting and mixing points for the principle behind this positioning.
- Near the heat pump: use manufacturer-approved water-side connection locations; do not touch a refrigerant line and assume it is heating-water flow.
- Near a pump: identify whether the pump is primary, secondary or DHW circulation. A temperature jump or lag may reflect changing routing rather than sensor failure.
- Near a three-port diverter valve: annotate domestic hot-water mode separately. Water can pass through a different circuit without its temperature following the same heating pattern.
- At a low-loss header: measure both sides if you intend to discuss blending, primary/secondary balance or hydraulic separation.
- At a buffer cylinder: label top, middle and bottom temperatures distinctly from inlet and outlet pipe temperatures. Tank stratification means a stored-water sensor is not a substitute for water-flow temperature.
- At an underfloor manifold: distinguish water supplied to the manifold from the heat-pump outlet; a blending valve may deliberately lower the loop temperature.
Installation method: a repeatable strap-on procedure
A carefully installed strap-on pair is often sufficient for trend analysis, especially where entering the sealed heating circuit is undesirable. However, describe it as indicative rather than certified thermal metering. Record photographs, cable labels, probe identifiers and the insulation detail so that the installation can be repeated after maintenance. Use probe and adhesive/strapping materials rated for the actual surface temperature and environment.
- Step 1 — isolate the measurement boundary: confirm on a pipework drawing what the chosen pair measures. Have a competent heating installer identify uncertain connections.
- Step 2 — prepare matching locations: use clean, dry, accessible pipe sections without residual paint flakes, loose insulation or a nearby hot electrical enclosure.
- Step 3 — make equal thermal contact: use the same suitable probe construction and mounting method on both sides. Apply a manufacturer-approved contact compound if appropriate; a thick blob or loose tape adds rather than removes uncertainty.
- Step 4 — restrain the cable: support it independently so a dangling cable cannot gradually pull the probe away from the pipe.
- Step 5 — insulate consistently: cover both probe assemblies and enough surrounding pipe to suppress room-air influence; seal insulation against draughts and condensation.
- Step 6 — wait for stabilisation: log stable circulation at several operating conditions before judging offsets. Surface and immersion probes need not respond at the same rate.
- Step 7 — document the result: record date, pipe location, sensor type and comparison checks in Home Assistant or maintenance notes.
Caleffi describes covering a strapped-on sensor with elastomeric foam extending along the pipe on both sides and sealing it from ambient air. That approach addresses a very common false alarm: one probe reads a lower temperature simply because it is exposed to a cold draught. It is not, however, permission to remove manufacturer insulation or modify pressure-retaining pipework. For inserted probes, use manufacturer-approved pockets or fittings installed by a competent person after appropriate isolation, drain-down and recommissioning.
| Practical installation fault | What the chart may show | Correction |
|---|---|---|
| Flow probe only partly contacting pipe | Flow temperature lags and appears low | Reseat, mechanically secure and insulate |
| Return probe beside pump motor | Return temperature unexpectedly warm | Move to a representative water pipe section |
| One sensor on copper and one on plastic | Persistent offset under identical conditions | Use appropriately matched coupling and compare against reference |
| One probe before mixing valve | Impossible changes when zone opens | Relabel boundary and reposition if needed |
| Probe not insulated | ΔT changes with plant-room temperature | Apply consistent thermal insulation |
| Incorrect thermowell immersion depth | Slow or biased reading | Check fitting specification and full contact |
| Sensor attached to refrigerant rather than water circuit | Very high / very low readings | Stop and verify pipe identification with installer |
Temperature matching, resolution and combined uncertainty
For a heat-pump circuit operating at a 3–5 K temperature difference, small absolute sensor errors become important. A DS18B20 is specified by Analog Devices for ±0.5°C accuracy from −10°C to +85°C; the 12-bit setting gives increments of 0.0625°C, but those increments are resolution, not guaranteed accuracy. Two probes reading to two decimal places can still disagree by several tenths of a degree. On a 3 K difference that disagreement can dominate the thermal-power estimate.
Consider two independent probes, each with a possible ±0.5°C error in the relevant range. In a simple conservative worst-case calculation, the error of the difference can reach approximately ±1°C. With a genuine ΔT of 3°C, the corresponding relative ΔT error is about 33%, before considering flow-meter uncertainty or thermal contact. This does not claim that every DS18B20 pair will perform that poorly; it explains why an unverified pair cannot be treated as a calibrated heat meter.
| True ΔT | Assumed pair offset error | Illustrative thermal-power error from ΔT alone | Interpretation |
|---|---|---|---|
| 2 K | 0.2 K | 10% | Even good matching matters greatly |
| 3 K | 0.5 K | 16.7% | Small biases materially affect COP estimates |
| 3 K | 1.0 K | 33.3% | Uncalibrated commodity probes are risky for efficiency claims |
| 5 K | 0.2 K | 4% | Still important for seasonal analysis |
| 7 K | 0.2 K | 2.9% | Relatively less sensitive to fixed offset |
Pt100 and Pt1000 platinum resistance thermometers are often selected for more serious measurements. IEC 60751 tolerance classes describe sensor-element performance: for example Class A uses ±(0.15 + 0.002 × |t|)°C and Class B ±(0.3 + 0.005 × |t|)°C within the class’s applicable temperature range. That statement does not automatically include cable, readout, installation or pairing error. At 40°C, the nominal Class A element tolerance expression is ±0.23°C, whereas Class B is ±0.50°C. Use a matched pair and appropriate instrumentation if the difference itself matters. The OMEGA RTD explanation provides the underlying tolerance definitions.
Relative matching is often a bigger consideration than individual absolute error for a temperature-difference measurement. Two probes that both read 0.3°C high can provide a surprisingly good ΔT if their offsets are stable and similar. Two probes with opposite offsets can distort ΔT severely even when each reading looks plausible. Calibration records need to document both elements together across the intended working range. A single ice-bath check at 0°C does not establish differential accuracy around 30–50°C.
A practical two-point pair comparison
You can assess a DIY pair without pretending to certify it. Put both sealed, correctly rated sensing tips together in a stable, stirred water bath and wait for readings to settle. Compare them around a cool operating point and again around a typical heating-water temperature, with safe handling and a reference thermometer where possible. This tests repeatability and differential offset under nearly identical conditions. It does not reproduce an accredited laboratory calibration and does not validate the installation error after the probes are mounted to pipes.
- Check stable agreement: log at least several minutes at each point once all sensors have stabilised.
- Repeat the cycle: allow the bath to cool and recheck to identify hysteresis and loose connections.
- Record both raw values: do not overwrite sensor data with undocumented offsets.
- Check at operating temperatures: errors may vary with temperature; a correction estimated at room temperature is not guaranteed across the full range.
- Recheck after installation: thermally couple both probes on the same pipe temporarily, then mount them separately at their measurement positions.
For a dashboard-only setup, a documented correction may be reasonable if it is stable and the corrected sensor retains valid availability behaviour. For revenue metering, warranty analysis, published performance guarantees or comparisons with a certified SCOP claim, do not substitute an ad-hoc correction for a suitable certified heat meter.
Sensor technology: what to buy, and why
| Technology / arrangement | Strengths | Limits | Best use |
|---|---|---|---|
| Heat-pump OEM temperature telemetry | No extra pipe modification; consistent diagnostic context | May use internal locations, filtering or proprietary calculations | Manufacturer diagnostic monitoring |
| Paired Pt1000 immersion probes + suitable interface | Good repeatability and designed thermowell options | Readout, cable and fittings must be specified properly | Serious differential temperature measurement |
| Paired Pt100 / Pt1000 strap-on probes | Good sensor physics, non-invasive installation | Pipe coupling can dominate performance | Well-controlled trends without draining |
| DS18B20 insulated strap-on pair | Low-cost digital interface and unique sensor IDs | ±0.5°C specification is large relative to small ΔT; probe packaging varies | Budget diagnostics and comparisons |
| Thermistor probe matched to OEM controller | Optimised for manufacturer control system | Curve and interchangeability may be proprietary | OEM replacement only when specified |
| Integrated thermal energy meter to EN 1434 | Matched temperature pair, flow element and calculator | Higher installed cost; flow-range and approval choices matter | Reliable thermal energy totals and COP work |
Do not select by sensor element alone. Check the full purchased assembly: wet-contact materials, maximum fluid temperature, pressure rating, probe length, pocket geometry, ingress protection, cable specification, 2-/3-/4-wire interface and calibration certificate if required. A bargain Pt1000 element in an unsuitable waterproof sleeve may give poorer measurements than a well-installed less expensive probe. Conversely, fitting a high-quality Class A RTD to bare uninsulated pipework wastes much of its potential advantage.
For an ESP32-based prototype, ESPHome supports the Dallas 1-Wire temperature sensor and the MAX31865 RTD interface. The latter supports Pt100 and Pt1000 with the correctly selected reference resistor, RTD wire count and jumper configuration. The example of a 430 Ω reference resistor is for a typical Pt100 breakout; a typical Pt1000 breakout uses 4,300 Ω. Mixing those values will produce unusable measurements. Recheck the exact board revision rather than copying pin labels from a different ESP32 development board.
A realistic heat-output calculation from first principles
For a water circuit with approximately constant properties, thermal power is calculated using P = ṁ × cₚ × ΔT, where ṁ is mass flow in kg/s, cₚ is specific heat capacity in kJ/(kg·K), and ΔT is the measured flow minus return temperature in kelvin. When flow is measured volumetrically, mass flow requires the fluid density. A convenient approximation for water in ordinary domestic heating ranges is P(kW) ≈ 1.16 × Q(m³/h) × ΔT(K). It is a useful engineering estimate, not a substitute for a calibrated thermal energy meter.
Worked example: a water circuit delivers 1.25 m³/h at a steady measured ΔT of 4.2 K. Estimated thermal power is 1.16 × 1.25 × 4.2 = 6.09 kW. If the instantaneous real electrical input is 1.85 kW across the same operating period and equipment boundary, the indicative instantaneous COP is 6.09 / 1.85 = 3.29. That figure is credible only if the volume flow is actually measured, the probes observe the same hydraulic boundary, the fluid assumptions are suitable, and the electricity reading includes exactly the loads intended by the COP definition.
Now assume the measured ΔT has a positive 0.5 K offset. A true difference of 3.7 K would produce about 5.37 kW, not 6.09 kW. The estimated thermal output is overstated by roughly 13.5% relative to that true example. If a nominal pump curve was used instead of a flow meter, the uncertainty could be larger. The arithmetic is straightforward; obtaining trustworthy inputs is the challenge.
| Input | Example value | Why it must be trustworthy |
|---|---|---|
| Flow water temperature | 36.8°C | Must represent same stream as return and volume flow |
| Return water temperature | 32.6°C | Must not be across an unrelated mixing valve |
| Water temperature difference | 4.2 K | Small probe offsets have large percentage effects |
| Volumetric flow rate | 1.25 m³/h | Pump setpoint is not a flow-meter reading |
| Specific heat/density | Approximate water properties | Glycol mixes need their own fluid properties |
| Thermal power estimate | 6.09 kW | Steady-state illustrative output only |
| Electrical input | 1.85 kW | Select correct compressor/pumps/backup-heater boundary |
| Indicative power ratio | 3.29 | Not automatically seasonal COP or certified COP |
What changes when the circuit contains glycol?
Some outdoor hydronic circuits use glycol-based antifreeze mixtures according to manufacturer requirements. Glycol concentration changes density, specific heat, viscosity and pumping behaviour. Therefore the familiar water-only coefficient of approximately 1.16 should not be copied blindly into a heat-output calculation. A 25–35% glycol mix, for example, is not simply “water with a little antifreeze” for metrology. Use the actual fluid type and concentration from the commissioning record and its property tables at relevant temperatures.
The flow sensor must also be suitable for the fluid and installation. Flow meters may be sensitive to viscosity, flow profile, air bubbles, magnetic debris, straight-run requirements and calibration assumptions. A thermal calculation using impressive Pt1000 probes and an unknown glycol concentration is not a robust COP calculation. Where the system has a plate heat exchanger separating glycol primary from water secondary, determine which boundary you mean to report, then use the matching fluid properties and flow.
Response time, sampling rate and transient effects
An immersion temperature probe can respond faster or slower than a surface probe depending on installation. If the flow sensor responds in 10 seconds but the return sensor takes a minute, a heat-pump start, stop, pump-speed step or defrost cycle may produce an apparent ΔT spike. The spikes do not necessarily mean the machine suddenly produced extraordinary thermal power. They may be artefacts of unequal response time or of water still travelling between measurement positions.
On a stable central-heating run, sampling every 10–30 seconds can give useful diagnostic traces when supported by the sensors and gateway. A 60-second update may be adequate for long-term trend monitoring but can miss short transitions. Fast sampling does not make the physical probe respond faster, and unnecessarily tight updates on a congested gateway can produce stale or missing data. Match the update interval and filtering to the actual process.
| Operating event | What may appear in telemetry | How to interpret it |
|---|---|---|
| Compressor starts | Flow temperature rises before return | Normal hydraulic delay possible |
| Circulation pump speed increases | ΔT can drop even if heat output remains similar | Power depends on flow as well as ΔT |
| DHW diverter changes position | Rapid temperature change on selected circuit | Segment data by active operating mode |
| Buffer tank mixes | Primary and secondary measurements diverge | Do not combine unlike sensor pairs |
| Defrost starts | Flow falls or water-side heat reverses | Negative ΔT may reflect real extraction or sensor dynamics |
| Compressor stops, pump continues | Both pipe readings converge gradually | Thermal inertia and pump overrun are expected |
| Sensor disconnects | 85°C default-like or implausible spikes on some probes | Treat as invalid data, not measured heat |
A heat pump may run an automatic defrost by taking heat from the water circuit. The instantaneous thermal power direction can temporarily reverse; clamp-only sensors and non-directional templates can hide that behaviour. A defrost analysis should include operating mode and compressor or defrost state where available, and should not flag every short reversal as a fault. Our companion heat-pump COP guide explains why energy totals require aligned integration and operational boundaries.
Home Assistant: robust configuration without fake precision
Start with manufacturer-reported readings if your model exposes them locally and clearly identifies their sensor positions. For an external pair, use a stable local interface: ESPHome via its native API, a correctly configured Modbus gateway, or a compatible local heat-meter integration. Give every entity a physically meaningful name such as “Heat pump primary flow water” rather than “temperature 1”. Record the data source and note whether the reading is OEM, strap-on indicative or calibrated.
For an ESP32 with separately identified DS18B20 probes, the following ESPHome fragment illustrates naming, addresses and update intervals. Substitute actual discovered addresses, suitable GPIO pin assignments and an existing network/API configuration. Do not wire into the manufacturer’s control board or mains enclosure simply to power the ESP32. Use an appropriately isolated, low-voltage supply and maintain segregation from power wiring.
one_wire:
- platform: gpio
pin: GPIO4
sensor:
- platform: dallas_temp
address: 0x1234567812345628 # Replace with actual probe ROM
name: "Heat Pump Primary Flow Pipe"
id: hp_flow_pipe
update_interval: 20s
- platform: dallas_temp
address: 0xABCDEF0123456728 # Replace with actual probe ROM
name: "Heat Pump Primary Return Pipe"
id: hp_return_pipe
update_interval: 20s
Check the actual discovered 1-Wire IDs: the example addresses above are placeholders, not known sensor IDs. In a real installation, two external probes may be on separate buses or connected via a robust sensor interface. The correct 1-Wire pull-up, cable topology, supply arrangement and shielding depend on cable length and electrical noise. For long plant-room runs, consider an industrial RTD/Modbus interface rather than extending an informal hobby sensor cable.
Home Assistant can calculate a temperature difference as an indicative diagnostic entity. Crucially, its availability should follow the real temperature sensors: turning a missing probe into 0°C creates a false 30–40 K spike that can corrupt statistics or trigger bad automation. Use the following template in configuration.yaml as a conceptual example, adapting the entity IDs after verifying the ESPHome entities.
template:
- sensor:
- name: "Heat Pump Primary Delta T"
unique_id: heat_pump_primary_delta_t
unit_of_measurement: "K"
state_class: measurement
availability: >-
{{ has_value('sensor.heat_pump_primary_flow_pipe') and
has_value('sensor.heat_pump_primary_return_pipe') }}
state: >-
{% set flow = states('sensor.heat_pump_primary_flow_pipe') | float %}
{% set ret = states('sensor.heat_pump_primary_return_pipe') | float %}
{{ (flow - ret) | round(2) }}
The calculated ΔT entity is not a calibrated energy meter. You need an independent, time-aligned and reliable flow measurement to estimate instantaneous thermal power. For a water-only diagnostic experiment, you might multiply flow in m³/h by ΔT and 1.16 in a template after validating sensor availability and the fluid assumptions. Do not publish COP results from a template that substitutes nominal pump flow or silently sets missing values to zero.
If you have a defensible thermal-power sensor in kW and want thermal energy in kWh, Home Assistant’s Integral helper can integrate power over time. For a power entity already expressed in kW, select hours as the time unit and do not also apply the kilo prefix. If your power source is in watts, use a kilo prefix and hours. Check for negative power during defrost and decide whether you need a signed total or separated delivered/extracted energy. The Energy dashboard also has entity and long-term-statistics requirements; consult the official Energy FAQ rather than forcing an arbitrary temperature sensor into a kWh graph.
Practical dashboards and thresholds that do not mislead
A useful diagnostic view places four time series on the same time axis: primary flow temperature, primary return temperature, their difference and measured water flow. Add compressor operation, circulation pump state, three-way valve mode and electrical input where possible. Plot room temperature and outdoor temperature in a separate panel, because both affect heating demand but represent different physical quantities. Mark DHW charging and defrost periods; otherwise your seasonal trend will mix incompatible events.
Thresholds should come from commissioning values and the equipment manufacturer, not from a generic internet claim that every heat pump “should” run at exactly 5°C ΔT. Modulating pumps, different emitter systems, weather-compensated control and low-load operation all alter the difference. A falling ΔT might be normal when water flow increases, and a high ΔT could reflect a low flow rate, changed compressor output or a measurement fault. Cross-check several signals before alarming.
| Alert pattern | What to verify before concluding | Suggested first action |
|---|---|---|
| ΔT nearly zero while unit appears on | Compressor state, water flow, operating mode | Check whether unit is truly delivering space heat |
| Unexpected negative ΔT | Defrost/cooling mode and probe wiring | Tag event and inspect trend rather than reversing probe names |
| Huge spike after Home Assistant restart | Entity availability, stale timestamps | Reject invalid data and inspect integration logs |
| One temperature fixed for hours | Gateway updates and sensor address mapping | Check sensor ID and last-updated timestamp |
| ΔT unusually high at modest output | Pump speed, valves, filters and flow meter | Request installer hydraulic inspection if persistent |
| COP suddenly far above credible range | Flow conversion, sensor offsets and electric-power units | Pause performance claims until inputs are validated |
| Daily heat exceeds plausible load | Unit mismatch, wrong boundary, duplicated sums | Recalculate with time-aligned raw samples |
Set conservative notifications on invalid or stale data before attempting performance alerts. A good first automation is “one of the temperature probes has been unavailable for more than five minutes while heating is active”. This is often more actionable than “COP has dropped below an arbitrary number”. Safety cut-outs, circulation protection, antifreeze functions and compressor controls must remain inside the manufacturer’s designed system; Home Assistant is a monitoring and supervisory platform, not a replacement for certified protection functions.
Installation budgets and buying decisions
The cheapest solution is usually to reuse existing heat-pump telemetry for diagnostic trends. Buying an ESP32, two waterproof probes and insulation can be reasonable for non-invasive learning, but total cost also includes protective enclosure, isolated power supply, weather protection, cable routing, installation time and maintenance. A matched Pt1000 pair with a proper readout and professional thermowell installation is a different class of project. A certified heat meter adds the flow element and calculator, and should be selected for actual pipe size, flow range, glycol compatibility and temperature-difference range.
| Goal | Minimum credible setup | What to avoid buying |
|---|---|---|
| Observe approximate temperature trends | OEM readouts or two installed and insulated digital probes | Expensive meter if only trend shape is needed |
| Compare emitters or circuits | Properly labelled sensor positions per circuit | One sensor shared across unrelated mixed streams |
| Diagnose modulation and pump changes | Temperature pair plus actual flow and operating state | Temperature-only dashboard sold as heat output |
| Estimate COP for personal analysis | Measured fluid flow, temperature pair and electrical input | Assumed pump flow or inaccurate plug-in electricity meter |
| Report accurate delivered heat | Suitable calibrated/certified thermal energy meter | Unmatched DIY probes with unverified corrections |
| Make warranty or billing claims | Approved instrumentation and records agreed with stakeholders | Uncertified ESP32 graph as sole evidence |
Plan for sensor replacement and future proofing. Label both physical cables and Home Assistant entity IDs; photograph installation points; leave enough cable for service access; and record the controller’s data polling method. Avoid placing electronics where hot pipe surfaces, dripping condensate or service tools can damage them. Never obstruct pressure-relief devices, insulation-critical components or manufacturer service access. Proper sensor placement should be invisible to the normal operation and serviceability of the heating system.
Worked diagnostics: three common installations
Case A: direct heat pump feeding radiators
A direct circuit has no buffer or mixing valve. During a steady heating period, manufacturer telemetry shows 42.0°C water leaving the unit and 37.5°C returning, and a documented compatible heat meter reports 0.92 m³/h. The water-only approximation gives 1.16 × 0.92 × 4.5 ≈ 4.80 kW. An external strap-on pair reads 41.4°C and 37.1°C, giving 4.3 K. That small disagreement does not immediately identify a faulty heat pump: the OEM sensors may be inside the casing while external probes sit farther along the pipes, and the outer-wall readings may have different coupling and lag. Compare under steady conditions and inspect placement before applying any numerical correction.
Case B: heat pump with buffer and underfloor mixing
An installer logs 38°C primary outlet, 34°C primary return and 30°C underfloor manifold supply. The 30°C reading is intentionally lower because the circuit is mixed. If the goal is primary thermal output, use the primary outlet, primary return and the primary flow rate. If the goal is energy circulating through the UFH manifold, use a distinct manifold flow/return pair and its corresponding secondary flow rate. A calculation that mixes 38°C primary outlet with 27°C manifold return would invent a large ΔT across a boundary that has no single associated flow rate.
Case C: the dashboard reports impossible COP on defrost
A homeowner sees a brief −2 K ΔT after the outdoor coil defrost starts, but their spreadsheet clips all negative readings to zero. The integrated heat-output figure then omits extracted energy while still counting compressor power. Depending on the defined metric, it may overstate delivered seasonal heat. The correct response is to understand the machine’s heat-flow direction, measurement boundary and defrost state, not to invert the probes or ignore negative values without documentation. If heat metering is intended for serious seasonal comparison, use an instrument and calculation method designed to handle that operating regime.
Buying checklist: select the measurement system, not just the probe
- Confirm whether your heat pump already exports flow and return temperatures through an officially supported integration.
- Decide whether you need diagnostic trends, hydraulic commissioning data or defensible heat-energy measurement.
- For accurate heat output, budget for a compatible heat meter with flow measurement and matched temperature sensors.
- For non-invasive trends, choose appropriately rated probes, proper contact mounting and insulation, with a compatible low-voltage gateway.
- Check installation access, IP rating, cable length, sensor range, sampling frequency and calibration documentation.
- Keep heating plant control and protective functions in the manufacturer-approved controller.
Frequently asked questions
What is the ideal heat pump flow-return temperature difference?
There is no universal value. It depends on the manufacturer, flow rate, operating mode, emitter system and load. Use the installation and commissioning specifications for the exact unit.
Can I calculate COP using only flow and return temperatures?
No. You also need measured water flow to estimate heat output and measured electrical energy over the same period.
Is PT1000 better than DS18B20?
A properly installed, calibrated PT1000 system is often better suited to precision measurement. A DS18B20 can still be useful for inexpensive trend monitoring.
Can I tape a sensor to copper pipe?
A contact sensor can show useful trends when mounted with suitable thermal coupling and insulation, but the accuracy depends heavily on the method and is not automatically equivalent to an immersion probe.
Where do sensors go if I have a buffer tank?
It depends on whether you want heat-pump output or secondary heating-circuit delivery. The two boundaries can differ; measure and label them separately.
Does Home Assistant measure heat output automatically?
No. Home Assistant can display manufacturer estimates or integrate suitable meter readings, but it cannot infer accurate thermal energy from two temperatures alone.
Why is return temperature higher than flow?
This may occur during defrost, cooling, sensor reversal, stale readings or a wrongly defined measurement boundary. Check operating mode before assuming a fault.
Do I need a certified heat meter?
For trustworthy thermal-energy totals or performance verification, a suitable calibrated heat meter is preferable to improvised sensors and assumed flow rates.
Can I use the heat pump built-in sensors?
Yes for many diagnostic tasks, provided the model exposes them. Their accuracy and placement should not be assumed to match a certified meter.
What about glycol in the circuit?
Glycol changes fluid density and specific heat. Use meter settings and calculation coefficients appropriate to the actual mixture.
Can I connect an ESP32 directly to the heat pump temperature sensor?
Do not interfere with the manufacturer’s control sensor circuit. Use independent, appropriately isolated low-voltage probes or documented interfaces.
How often should readings update?
Choose a rate suited to the task and the available interface. Fast sampling does not improve a poorly mounted probe or a slowly updated vendor sensor.
Final recommendation
For most Home Assistant users, begin with native heat-pump telemetry and add independent pipe sensors only when they answer a specific diagnostic question. For credible efficiency calculations, commission a properly matched heat meter and an electricity meter with clearly defined boundaries. Correct placement and measurement provenance matter more than a large number of decimal places.
Documentation and standards worth reading
The following references provide technical grounding and manufacturer examples. They are not substitutes for the heat-pump installation manual, a competent heating engineer or equipment-specific electrical safety requirements.
- Analog Devices DS18B20 — specified ±0.5°C accuracy and 9–12-bit resolution.
- ESPHome Dallas temperature component — current supported YAML and 1-Wire address handling.
- ESPHome MAX31865 component — platinum RTD interface, nominal resistance, reference resistor and wiring selection.
- OMEGA RTD reference — IEC 60751 temperature tolerance classes.
- Caleffi on-site circuit measurements — paired measurement and insulated sensor installation.
- Caleffi sensor-placement guidance — mounting around mixing points and thermal insulation.
- Home Assistant Integral integration — deriving energy from a suitable power sensor.
- Home Assistant Energy FAQ — valid power and energy entity metadata.
- EN 1434-1 thermal energy metering overview — heat meter components and rated operating ranges.
References and further reading
- Home Assistant Template integration — creating derived diagnostic sensors.
- Home Assistant Modbus integration — supported data acquisition.
- ESPHome MAX31865 RTD component — PT100/PT1000 interface reference.
- ESPHome Dallas temperature sensor — 1-Wire temperature telemetry.
- BIPM Consultative Committee for Mass and Related Quantities — measurement metrology context.
- MAX31865 with ESP32 and ESPHome — relevant sensor project.
- Heat pump monitoring: native vs external meter — electrical measurement boundary.


