kopia lustrzana https://github.com/jbruce12000/kiln-controller
- added a few significant digits in logging statements to temps
- changed the wording of the emergency shutoff temp settingpull/20/head
rodzic
07dbae9398
commit
c076fa6079
|
|
@ -86,9 +86,10 @@ temp_scale = "f" # c = Celsius | f = Fahrenheit - Unit to display
|
|||
time_scale_slope = "h" # s = Seconds | m = Minutes | h = Hours - Slope displayed in temp_scale per time_scale_slope
|
||||
time_scale_profile = "m" # s = Seconds | m = Minutes | h = Hours - Enter and view target time in time_scale_profile
|
||||
|
||||
# emergency shutoff the kiln if this temp is reached.
|
||||
# when solid state relays fail, they usually fail closed. this means your
|
||||
# kiln receives full power until your house burns down.
|
||||
# emergency shutoff the profile if this temp is reached or exceeded.
|
||||
# This just shuts off the profile. If your SSR is working, your kiln will
|
||||
# naturally cool off. If your SSR has failed/shorted/closed circuit, this
|
||||
# means your kiln receives full power until your house burns down.
|
||||
# this should not replace you watching your kiln or use of a kiln-sitter
|
||||
emergency_shutoff_temp = 2264 #cone 7
|
||||
|
||||
|
|
|
|||
|
|
@ -296,7 +296,7 @@ class SimulatedOven(Oven):
|
|||
int(self.p_env)))
|
||||
|
||||
time_left = self.totaltime - self.runtime
|
||||
log.info("temp=%.1f, target=%.1f, pid=%.3f, heat_on=%.2f, heat_off=%.2f, run_time=%d, total_time=%d, time_left=%d" %
|
||||
log.info("temp=%.2f, target=%.2f, pid=%.3f, heat_on=%.2f, heat_off=%.2f, run_time=%d, total_time=%d, time_left=%d" %
|
||||
(self.board.temp_sensor.temperature + config.thermocouple_offset,
|
||||
self.target,
|
||||
pid,
|
||||
|
|
@ -339,7 +339,7 @@ class RealOven(Oven):
|
|||
self.output.heat(heat_on)
|
||||
self.output.cool(heat_off)
|
||||
time_left = self.totaltime - self.runtime
|
||||
log.info("temp=%.1f, target=%.1f, pid=%.3f, heat_on=%.2f, heat_off=%.2f, run_time=%d, total_time=%d, time_left=%d" %
|
||||
log.info("temp=%.2f, target=%.2f, pid=%.3f, heat_on=%.2f, heat_off=%.2f, run_time=%d, total_time=%d, time_left=%d" %
|
||||
(self.board.temp_sensor.temperature + config.thermocouple_offset,
|
||||
self.target,
|
||||
pid,
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue