diff --git a/docs/ziegler_tuning.md b/docs/ziegler_tuning.md index dfa9c91..6f7b7a0 100644 --- a/docs/ziegler_tuning.md +++ b/docs/ziegler_tuning.md @@ -17,7 +17,7 @@ Ensure `kiln-controller` is **stopped** during profile recording: The profile mu To record the profile, run: ``` -python kiln-tuner.py ziegler.csv +python kiln-tuner.py zn.csv ``` The above will drive your kiln to 400 and record the temperature profile to the file `zn.csv`. The file will look something like this: diff --git a/kiln-tuner.py b/kiln-tuner.py index 26b6001..d064e86 100644 --- a/kiln-tuner.py +++ b/kiln-tuner.py @@ -64,6 +64,8 @@ def tune(csvfile, targettemp): if temp < targettemp: break + sys.stdout.write(f"\n{stage} {temp}/{targettemp} ") + sys.stdout.flush() time.sleep(config.sensor_time_wait) f.close()