---
title: "PID controller: keep the learned integral, show proportional band and integral time, presets per heating system"
description: "Idea for the TapHome PID controller: anti-windup instead of integral resets, proportional band and integral time in the app, presets per heating system."
url: "https://taphome.com/en/ideas/pid-integral-presets/"
language: en
lastmod: 2026-11-13
generator: hugo
---

# PID controller: keep the learned integral, show proportional band and integral time, presets per heating system

The PID controller would stop throwing away what it has learned when a window opens, after a night setback, during manual mode or when you fine-tune Kp — and it would offer the proportional band, the integral time and presets per heating system.

- Status: Gathering interest — We collect use cases and votes before we decide.
- Type: Feature
- 1 interested
- Topics: [Smart rules and automation](https://taphome.com/en/ideas/topics/automation/)
- Last updated: 2026-11-13


## Why and how you would use it

A PID controller keeps a room at its set point with two parts. The proportional part reacts to the deviation right now. The integral part slowly learns how much heat the room needs all the time — on a cold day maybe 60 % of the valve — and holds it there even when the deviation is zero.

In a slow system such as radiators or floor heating, learning that takes hours. Today the PID controller in TapHome throws it away in situations that happen every day: a window opens, the night setback ends, someone fine-tunes Kp in the app. With the slow tuning that suits such systems, the room then stays below the set point for hours, and it looks like a bad setting.

*20 minutes of fresh air. Why is the room cold for hours?* — [interactive illustration](https://taphome.com/en/ideas/pid-integral-presets/)


**How it would work.** While the window is open, the controller would freeze the integral instead of resetting it when the window closes. The room then starts again with the heat it needs all the time, and only the proportional part has to make up for the cooled air.

| Situation | Today | With this idea |
|---|---|---|
| Window open 20 min | 388 min · 8.2 K·h | 52 min · 1.6 K·h |
| Night setback 3 °C | 352 min · 7.9 K·h | 92 min · 2.5 K·h |
| Kp changed 20 → 25 | 441 min · 8.0 K·h | 0 min · 0.5 K·h |
| Manual 50 % for 3 h | 340 min · 5.4 K·h | 46 min · 2.0 K·h |

Minutes more than 0.3 °C off the set point, too cold or too warm; 1 K·h = 1 °C off for one hour. Radiator room with the recommended preset Kp 20 / Ki 0.133. On the default Kp 10 / Ki 0.5 a reset costs less, but that tuning keeps swinging (case 5) — today you choose between resets that hurt and tuning that swings.

## What will be possible

We are evaluating this idea. Nothing is scheduled yet.

- **Anti-windup instead of resets.** The controller would stop adding up the deviation only while the valve can do no more — at 100 % or 0 % with the deviation pushing further. A set point step of 2 °C would no longer reset the integral. The "Max accumulated integral" setting stays.
- **The integral held during a short limiting condition.** While a window is open, the learned integral would stay and the controller would continue where it stopped. After a long block, such as the heating season switched off, it would start fresh.
- **The integral held during manual mode.** While someone else drives the output, the controller would not integrate.
- **Edit without a jump.** Saving a new Kp or Ki would keep the output at that moment and only change what follows.
- **The integral kept over a short outage.** A restart of the control unit or a sensor gap of more than about 13 minutes would no longer reset it.
- **Separate integral speeds for building up and backing off.** For heating and for cooling you could set how fast the integral grows while the room is short of heat and, separately, how fast it falls back when the room gets too warm — for example to back off quickly when the sun or a fireplace warms the room.
- **Proportional band and integral time in the app.** Next to Kp, Ki and Kd you would see and set Xp (°C), Tn and Tv (minutes), like on KNX room controllers.
- **Presets per system.** Floor heating, radiators, electric heating and fan coils would each start from a proven tuning instead of one default.

## What will not be possible

- **Auto-tuning.** The controller would not measure the room and tune itself.
- **Optimum start.** It would not start heating earlier so that the room reaches the set point at a given time.
- **Mixing valves on supply water.** A fast supply-water loop with a three-point actuator needs a different controller; that is a separate idea.

## How to solve it today

- **Raise the reset threshold above your setback.** In the advanced settings of the rule, the set point change threshold (2 °C by default) decides which step resets the integral. Set it above the depth of your night setback, for example 4 °C for a 3 °C setback, and the morning starts with the learned integral — see [when the controller resets the integral](https://taphome.com/en/docs/smart-rules/pid-controller/#timing). The integral can then wind up while the valve is fully open.
- **Tune once, then leave it.** Every save resets the integral, so change Kp and Ki in one step and wait several hours.
- **Use a preset from the documentation.** The [recommended values by system](https://taphome.com/en/docs/smart-rules/pid-controller/#presets) are the same as in this idea; with them a reset costs more, as the documentation says.
- **Window and manual mode:** there is no workaround today; the integral is reset after a limiting condition and keeps changing during manual mode. Keep manual mode short.

## Four more cases

Each simulation runs the TapHome Core 2026.1 controller twice: grey is today, blue is with this idea.

*Night setback by 3 °C. Why is the morning so slow?* — [interactive illustration](https://taphome.com/en/ideas/pid-integral-presets/)


**How it would work.** Instead of a reset at a set point step, the controller would only stop integrating while the valve is at 100 % or 0 % and the deviation pushes further (anti-windup). That alone keeps the integral from winding up during the setback, so the reset threshold would no longer matter.

*One small change of Kp. Why does the room cool down?* — [interactive illustration](https://taphome.com/en/ideas/pid-integral-presets/)


**How it would work.** When you save a new Kp or Ki, the controller would recalculate the integral so that the output stays the same at that moment (a bumpless change). Only what follows uses the new tuning.

*Valve at 50 % for three hours. Why is the room too warm after?* — [interactive illustration](https://taphome.com/en/ideas/pid-integral-presets/)


**How it would work.** While the user or another rule drives the output, the controller would not integrate. Back in charge, it continues from the integral it had learned before manual mode.

*Floor heating on default tuning. Why does it keep swinging?* — [interactive illustration](https://taphome.com/en/ideas/pid-integral-presets/)


**How it would work.** The app would offer a preset per system and show the proportional band and the integral time next to Kp and Ki (tables below). The preset values can already be entered by hand today.

## Proportional band and integral time

| Kp, Ki, Kd (today) | Band and times (with this idea) |
|---|---|
| Kp 20 | Xp = 100 / Kp = 5 °C |
| Ki 0.133 | Tn = Kp / Ki = 150 min |
| Kd 0 | Tv = Kd / Kp = 0 min |
| Ki 0 | Tn "Off" (proportional only) |

Today Kp and Ki are set separately, so changing Kp alone also changes the integral time Tn = Kp / Ki. With Xp and Tn, a narrower band strengthens both parts together and keeps their balance.

## Presets per system

| System | Xp / Tn | Kp | Ki | PWM period |
|---|---|---|---|---|
| Floor heating | 5 °C / 240 min | 20 | 0.083 | 20 min |
| Radiators | 5 °C / 150 min | 20 | 0.133 | 15 min |
| Electric direct heating | 4 °C / 100 min | 25 | 0.25 | 10 min |
| Fan coil (0–10 V valve) | 4 °C / 90 min | 25 | 0.278 | — |

These are the values most KNX room controller manufacturers use. Today's default Kp 10 / Ki 0.5 has an integral time of 20 minutes. With thermal actuators, do not use a PWM period shorter than 15 minutes.

## Learn more

- [PID controller in the documentation](https://taphome.com/en/docs/smart-rules/pid-controller/), with its own simulator.
- [Hysteresis controller](https://taphome.com/en/docs/smart-rules/hysteresis-control/) for on/off heating without PID.

Does your heating lose hours after a window or a setback? Vote for this idea and follow it.

**Vote · Follow:** Anyone can vote. Sign in with your TapHome account to follow ideas, answer polls, comment and suggest your own.

- [PID controller: keep the learned integral, show proportional band and integral time, presets per heating system](https://taphome.com/en/ideas/pid-integral-presets/)
- [Suggest an idea](https://taphome.com/en/ideas/#suggest)

