aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/Config_Changes.md4
-rw-r--r--docs/Config_Reference.md4
-rw-r--r--klippy/extras/heaters.py2
3 files changed, 7 insertions, 3 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md
index 13fefdad..a6558f2e 100644
--- a/docs/Config_Changes.md
+++ b/docs/Config_Changes.md
@@ -8,6 +8,10 @@ All dates in this document are approximate.
## Changes
+20210903: The default [`smooth_time`](Config_Reference.md#extruder)
+for heaters has changed to 1 second (from 2 seconds). For most
+printers this will result in more stable temperature control.
+
20210830: The default adxl345 name is now "adxl345". The default CHIP
parameter for the `ACCELEROMETER_MEASURE` and `ACCELEROMETER_QUERY` is
now also "adxl345".
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md
index a3d9842a..1ae5a5c6 100644
--- a/docs/Config_Reference.md
+++ b/docs/Config_Reference.md
@@ -707,10 +707,10 @@ sensor_pin:
# The resistance (in ohms) of the pullup attached to the thermistor.
# This parameter is only valid when the sensor is a thermistor. The
# default is 4700 ohms.
-#smooth_time: 2.0
+#smooth_time: 1.0
# A time value (in seconds) over which temperature measurements will
# be smoothed to reduce the impact of measurement noise. The default
-# is 2 seconds.
+# is 1 seconds.
control:
# Control algorithm (either pid or watermark). This parameter must
# be provided.
diff --git a/klippy/extras/heaters.py b/klippy/extras/heaters.py
index e63881dc..b9f60e63 100644
--- a/klippy/extras/heaters.py
+++ b/klippy/extras/heaters.py
@@ -34,7 +34,7 @@ class Heater:
is not None)
self.can_extrude = self.min_extrude_temp <= 0. or is_fileoutput
self.max_power = config.getfloat('max_power', 1., above=0., maxval=1.)
- self.smooth_time = config.getfloat('smooth_time', 2., above=0.)
+ self.smooth_time = config.getfloat('smooth_time', 1., above=0.)
self.inv_smooth_time = 1. / self.smooth_time
self.lock = threading.Lock()
self.last_temp = self.smoothed_temp = self.target_temp = 0.