Skip to content

Commit a28ba2e

Browse files
committed
PID Tunder links & anti-windup for manual override
1 parent b1e5a53 commit a28ba2e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ Advanced PID (Proportional-Integral-Derivative) control for precise temperature
258258

259259
Shoutout to [patrickcollins12/esphome-fan-controller](https://github.com/patrickcollins12/esphome-fan-controller) for the example code.
260260

261+
A PID simulator is available at https://fancontroller.arthofer.dev/pid-simulator.
262+
It uses simplified thermal models — treat results as a starting point for tuning.
263+
261264
**Configuration Variables:**
262265
- `friendly_name`: Device name prefix (default: "fancontroller")
263266
- `kp`: Proportional gain coefficient (default: 0.39509)

modules/temperature_pid.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# Automatically adjusts fan speeds to maintain a target temperature with minimal overshoot.
55
#
66
# Credit to https://github.com/patrickcollins12/esphome-fan-controller
7+
#
8+
# A PID simulator is available at https://fancontroller.arthofer.dev/pid-simulator.
9+
# It uses simplified thermal models — treat results as a starting point for tuning.
710
#
811
# Usage:
912
# packages:
@@ -211,6 +214,8 @@ fan:
211214
id: manual_fan_control
212215
output: proxy_output
213216
name: "Fan Manual Override"
217+
on_turn_off:
218+
- climate.pid.reset_integral_term: pid_thermostat
214219

215220
# Switches to select which fan is controlled by PID
216221
switch:
@@ -292,7 +297,6 @@ climate:
292297
# It is summer right now, so 30c is a decent target.
293298
default_target_temperature: 30°C
294299
cool_output: proxy_output
295-
# cool_output: console_fan_speed
296300

297301
# ON state change, publish the values to the x_term numbers defined
298302
# above, so that they can be viewed in HA

0 commit comments

Comments
 (0)