aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/verify_heater.py
Commit message (Collapse)AuthorAgeFilesLines
* heater: Add PrinterHeaters class that stores all sensors and heatersKevin O'Connor2018-04-041-3/+2
| | | | | | | | | | | | Add a PrinterHeaters class that can stores references to available temperature sensors and stores references to instantiated heaters. Add a extras/heater_bed.py file and delay instantiation of the heater_bed object. This allows the heater.py module to be imported earlier during the setup phase, and allows the PrinterHeaters class to be available for registering sensors and heaters. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* verify_heater: Provide additional information on a heater errorKevin O'Connor2018-03-121-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* verify_heater: Scale hysteresis duration checkKevin O'Connor2018-03-111-6/+7
| | | | | | | | | | If a heater falls out of the target range, accumulate the temperature differences to determine if an error should be raised. This should make it less likely to report an error for heaters that drift slightly out of range, and it should make error reporting faster for heaters that rapidly fall out of range. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* verify_heater: Change default hysteresis to 10 degreesKevin O'Connor2018-03-111-2/+2
| | | | | | | 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 <kevin@koconnor.net>
* verify_heater: Add initial support for verifying heaters and sensorsKevin O'Connor2018-03-111-0/+67
Add runtime checks to heaters and temperature sensors to check for possible hardware faults. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>