kiln-controller-max31856/docs/logs.md

37 wiersze
1.2 KiB
Markdown
Czysty Zwykły widok Historia

2019-03-06 01:10:48 +00:00
Logs for a Kiln Run
===================
2019-03-06 01:15:04 +00:00
Logs from the app on the pi go to **/var/log/daemon.log** and look like this...
2019-03-06 01:10:48 +00:00
2022-05-15 18:58:36 +00:00
May 14 22:36:09 kiln python[350]: 2022-05-14 22:36:09,824 INFO oven: temp=1888.40, target=1888.00, error=-0.40, pid=54.33, p=-3.99, i=69.11, d=-10.79, heat_on=1.09, heat_off=0.91, run_time=27250, total_time=27335, time_left=84
2019-03-06 01:10:48 +00:00
2019-03-06 01:15:04 +00:00
| log variable | meaning |
| ------------ | ------- |
2019-03-06 01:10:48 +00:00
|temp | temperature read by thermocouple |
|target | target temperature |
2022-05-15 18:58:36 +00:00
|error | difference between target and temp |
2019-03-06 01:10:48 +00:00
|pid | pid value for that 2s |
2022-05-15 18:58:36 +00:00
|p | proportional value for that 2s |
|i | integral value for that 2s |
|d | derivative value for that 2s |
2019-03-06 01:10:48 +00:00
|heat_on | number of seconds the elements were on |
|heat_off | number of seconds the elements were off |
|run_time | seconds since start of schedule|
|total_time | total seconds for schedule |
|time_left | seconds left till the end of schedule|
2022-05-18 14:03:57 +00:00
If you need to send kiln logs to someone for troubleshooting:
```
cd kiln-controller
./ziplogs
```
that creates a file named kiln.logs.gz in the current directory suitable for
posting.
2022-05-15 18:58:36 +00:00
Here is a project I use to read logs to help troubleshoot logs you post...
2019-03-06 01:10:48 +00:00
2022-05-15 18:58:36 +00:00
https://github.com/jbruce12000/kiln-stats