From 57d342b4554f7155e81afdba389e0a192d8f5d8e Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 11 Mar 2018 13:22:45 -0400 Subject: [PATCH] verify_heater: Change default hysteresis to 10 degrees A default of 4 degrees and 10 seconds may be too aggressive - change the default to 10 degrees and 15 seconds. Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 8 ++++---- klippy/extras/verify_heater.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/example-extras.cfg b/config/example-extras.cfg index fa48e780..29e42455 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -133,15 +133,15 @@ # The amount of time (in seconds) that the heating_gain must be met # in before an error is raised. The default is 20 seconds for # extruders and 60 seconds for heater_bed. -#hysteresis: 4 +#hysteresis: 10 # The difference between the target temperature and the current # temperature for the heater to be considered within range of the -# target temperature. The default is 4. -#check_time: 10 +# target temperature. The default is 10. +#check_time: 15 # The amount of time (in seconds) a heater that has reached the # target temperature (as defined by the hysteresis field) may fall # outside the target temperature range before an error is -# raised. The default is 10. +# raised. The default is 15. # Multi-stepper axes. On a cartesian style printer, the stepper diff --git a/klippy/extras/verify_heater.py b/klippy/extras/verify_heater.py index f7b750eb..4a30c241 100644 --- a/klippy/extras/verify_heater.py +++ b/klippy/extras/verify_heater.py @@ -11,8 +11,8 @@ class HeaterCheck: self.printer = config.get_printer() self.heater_name = config.get_name().split()[1] self.heater = None - self.hysteresis = config.getfloat('hysteresis', 4., above=0.) - self.check_time = config.getfloat('check_time', 10., minval=1.) + self.hysteresis = config.getfloat('hysteresis', 10., above=0.) + self.check_time = config.getfloat('check_time', 15., minval=1.) self.heating_gain = config.getfloat('heating_gain', 2., above=0.) default_gain_time = 20. if self.heater_name == 'heater_bed':