Heat Pump Flow and Return Temperature Sensors: Accuracy and Placement

Heat pump flow and return temperature sensors explained: PT1000 vs DS18B20, accurate mounting, matched pairs, delta T, heat-output calculations and Home Assistant examples.

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.

ReadingWhat it can revealWhat it cannot prove
Flow temperatureWater temperature delivered at sensor locationActual heat output without water flow
Return temperatureWater returning at sensor locationWhole-building heat loss
Flow minus return (ΔT)Change in temperature across chosen boundaryCOP or energy efficiency by itself
Heat-meter thermal kWhDelivered heat across its metered boundaryWhole-system efficiency if electric meter excludes auxiliaries
Electricity meterPriceAliExpress price kWhElectrical energy consumed by metered circuitsDelivered 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.

MethodAdvantagesLimitationsBest use
Manufacturer native sensorsAlready fitted; often visible via supported gatewayUnknown accuracy, location and update cadenceFault diagnosis and trends
Immersion PT100/PT1000Good thermal contact; suitable with proper matched electronicsRequires approved hydraulic installation; sensor-pocket lagIndependent measurement and heat metering
Surface PT100/PT1000 or digital contact probeNon-invasive where permitted; retrofit-friendlyThermal coupling and ambient biasTrend monitoring and comparison
Clamp-on commercial heat meter probesSpecified as a matched systemMeter-specific mounting rules; not interchangeableMeter-approved heat calculations
IR thermometerQuick survey with correct emissivity techniqueSurface finish and distance errorsSpot 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 / returnTrue ΔTReported flow / returnReported ΔTΔT error
35.0 / 32.0°C3.0 K35.5 / 31.5°C4.0 K+33.3%
40.0 / 35.0°C5.0 K40.3 / 34.7°C5.6 K+12.0%
30.0 / 28.0°C2.0 K29.8 / 28.2°C1.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.

SensorInterfacePractical considerationRecommendation
PT100Resistance RTD; suitable RTD converterLead resistance important; 3/4-wire techniques helpProfessional-grade measurement with calibrated electronics
PT1000Resistance RTD; suitable RTD converterLower relative lead-wire influence than PT100Good candidate for independent trends
DS18B201-Wire digitalProbe packaging and accuracy vary; bus wiring needs careBudget trends, not certified heat metering
Native heat-pump probeVendor-specificMay not expose raw value or accuracy specificationFirst choice for monitoring without invasive work
Certified heat meter pairMatched sensors and flow meterMust follow approved installation and calibrationPreferred 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ΔTIllustrative thermal power
0.50 m³/h3 K1.74 kW
0.80 m³/h4 K3.72 kW
1.20 m³/h5 K6.98 kW
1.00 m³/h2 K2.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

SymptomPossible reasonSafe check
Negative ΔT during steady heatingSensors reversed, defrost or wrong pipe boundaryCheck operating mode and physical labels
Flow and return identical for hoursStale data, poor sensor contact or no circulationCheck timestamps and manufacturer diagnostics
Very large ΔTLow flow, offset error or mixed measurement pointsCompare native readings; request hydraulic assessment
Temperature spikesIntermittent sensor connection or sampling artefactReview logs and wiring condition without opening mains enclosures
COP looks implausibly highMissing electrical auxiliaries or overstated heat outputAudit both meter boundaries and units
Surface sensor differs from built-in probeDifferent positions, insulation, response timeCompare 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 objectiveCorrect starting pointTypical additional sensorMain trap
Check heat-pump water-side behaviourManufacturer-defined heat-pump outlet and inletOEM telemetry or dedicated pipe pairAssuming a downstream mixed temperature equals unit outlet
Estimate space-heating thermal powerFlow and return around the same hydraulic boundaryMetered water volume flow across that boundaryUsing pump nominal flow rather than measured flow
Check UFH loop temperatureMixed manifold supply and manifold returnSupply sensor after mixing valveConfusing UFH supply with heat-pump primary flow
Evaluate buffer or separator lossesPrimary and secondary pairs, plus their flowsAt least two matched sensor pairs and flow dataCombining primary flow with secondary return
Evaluate DHW chargingAppropriate cylinder-coil hydraulic circuitValve state and cylinder-temperature contextCounting DHW heat as space-heating output
Calculate heating-plus-DHW seasonal efficiencyHeat meters for all intended loads and aligned electric energyCertified heat-meter data where neededComparing 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 faultWhat the chart may showCorrection
Flow probe only partly contacting pipeFlow temperature lags and appears lowReseat, mechanically secure and insulate
Return probe beside pump motorReturn temperature unexpectedly warmMove to a representative water pipe section
One sensor on copper and one on plasticPersistent offset under identical conditionsUse appropriately matched coupling and compare against reference
One probe before mixing valveImpossible changes when zone opensRelabel boundary and reposition if needed
Probe not insulatedΔT changes with plant-room temperatureApply consistent thermal insulation
Incorrect thermowell immersion depthSlow or biased readingCheck fitting specification and full contact
Sensor attached to refrigerant rather than water circuitVery high / very low readingsStop 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 ΔTAssumed pair offset errorIllustrative thermal-power error from ΔT aloneInterpretation
2 K0.2 K10%Even good matching matters greatly
3 K0.5 K16.7%Small biases materially affect COP estimates
3 K1.0 K33.3%Uncalibrated commodity probes are risky for efficiency claims
5 K0.2 K4%Still important for seasonal analysis
7 K0.2 K2.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 / arrangementStrengthsLimitsBest use
Heat-pump OEM temperature telemetryNo extra pipe modification; consistent diagnostic contextMay use internal locations, filtering or proprietary calculationsManufacturer diagnostic monitoring
Paired Pt1000 immersion probes + suitable interfaceGood repeatability and designed thermowell optionsReadout, cable and fittings must be specified properlySerious differential temperature measurement
Paired Pt100 / Pt1000 strap-on probesGood sensor physics, non-invasive installationPipe coupling can dominate performanceWell-controlled trends without draining
DS18B20 insulated strap-on pairLow-cost digital interface and unique sensor IDs±0.5°C specification is large relative to small ΔT; probe packaging variesBudget diagnostics and comparisons
Thermistor probe matched to OEM controllerOptimised for manufacturer control systemCurve and interchangeability may be proprietaryOEM replacement only when specified
Integrated thermal energy meter to EN 1434Matched temperature pair, flow element and calculatorHigher installed cost; flow-range and approval choices matterReliable 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.

InputExample valueWhy it must be trustworthy
Flow water temperature36.8°CMust represent same stream as return and volume flow
Return water temperature32.6°CMust not be across an unrelated mixing valve
Water temperature difference4.2 KSmall probe offsets have large percentage effects
Volumetric flow rate1.25 m³/hPump setpoint is not a flow-meter reading
Specific heat/densityApproximate water propertiesGlycol mixes need their own fluid properties
Thermal power estimate6.09 kWSteady-state illustrative output only
Electrical input1.85 kWSelect correct compressor/pumps/backup-heater boundary
Indicative power ratio3.29Not 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 eventWhat may appear in telemetryHow to interpret it
Compressor startsFlow temperature rises before returnNormal hydraulic delay possible
Circulation pump speed increasesΔT can drop even if heat output remains similarPower depends on flow as well as ΔT
DHW diverter changes positionRapid temperature change on selected circuitSegment data by active operating mode
Buffer tank mixesPrimary and secondary measurements divergeDo not combine unlike sensor pairs
Defrost startsFlow falls or water-side heat reversesNegative ΔT may reflect real extraction or sensor dynamics
Compressor stops, pump continuesBoth pipe readings converge graduallyThermal inertia and pump overrun are expected
Sensor disconnects85°C default-like or implausible spikes on some probesTreat 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 patternWhat to verify before concludingSuggested first action
ΔT nearly zero while unit appears onCompressor state, water flow, operating modeCheck whether unit is truly delivering space heat
Unexpected negative ΔTDefrost/cooling mode and probe wiringTag event and inspect trend rather than reversing probe names
Huge spike after Home Assistant restartEntity availability, stale timestampsReject invalid data and inspect integration logs
One temperature fixed for hoursGateway updates and sensor address mappingCheck sensor ID and last-updated timestamp
ΔT unusually high at modest outputPump speed, valves, filters and flow meterRequest installer hydraulic inspection if persistent
COP suddenly far above credible rangeFlow conversion, sensor offsets and electric-power unitsPause performance claims until inputs are validated
Daily heat exceeds plausible loadUnit mismatch, wrong boundary, duplicated sumsRecalculate 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.

GoalMinimum credible setupWhat to avoid buying
Observe approximate temperature trendsOEM readouts or two installed and insulated digital probesExpensive meter if only trend shape is needed
Compare emitters or circuitsProperly labelled sensor positions per circuitOne sensor shared across unrelated mixed streams
Diagnose modulation and pump changesTemperature pair plus actual flow and operating stateTemperature-only dashboard sold as heat output
Estimate COP for personal analysisMeasured fluid flow, temperature pair and electrical inputAssumed pump flow or inaccurate plug-in electricity meter
Report accurate delivered heatSuitable calibrated/certified thermal energy meterUnmatched DIY probes with unverified corrections
Make warranty or billing claimsApproved instrumentation and records agreed with stakeholdersUncertified 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.

References and further reading

CONTINUE EXPLORING / ESP32 & ELECTRONICS

Read next

Practical guides related to this article.

Explore the topic →
HARDWARE DECISION GUIDEWhich ESP32 board should you use?

Compare practical options before you choose hardware.

Compare options →