aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/heater_bed.py
Commit message (Collapse)AuthorAgeFilesLines
* heaters: Make sure set_temp() command wakes up the idle_timeoutKevin O'Connor2021-03-051-4/+2
| | | | | | | | | Introduce a heaters.set_temperature() command and call that from commands that set a heater temperature. This new function calls toolhead.register_lookahead_callback() so that the idle_timeout gets notification that activity has occurred. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Rename try_load_module() to load_object()Kevin O'Connor2020-05-081-1/+1
| | | | | | | | Rename try_load_module() so that it uses consistent naming for "printer objects". Change the function to raise an error by default if the specified module does not exist. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater_bed: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-5/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Make heater.py an "extras" moduleKevin O'Connor2020-04-251-4/+4
| | | | | | | The heater logic is an independent module that does not need to be treated as part of the "core" klipper code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Move M105 command handling from gcode.py to heater.pyKevin O'Connor2020-04-251-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Do not flush look-ahead queue on a heater temperature updateKevin O'Connor2020-01-031-2/+1
| | | | | | | | | The print_time parameter of heater.set_temp() is not currently used and it isn't necessary to flush the look-ahead queue just get the print_time. Remove the parameter from heater.set_temp() to avoid flushing the look-ahead queue. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater_bed: Move M140/M190 commands from gcode.py to heater_bed.pyKevin O'Connor2019-12-161-3/+26
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater_bed: Wrap lines to 80 columnsKevin O'Connor2019-02-261-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: take a gcode_id when setting up a heater (#1028)john--2019-01-021-1/+1
| | | | | Allow an arbitrary gcode_id to be supplied during heater setup. This allows future extras to register additional IDs beyond B, and T#. Signed-off-by: John Jardine <john@gprime.net>
* heater: Add PrinterHeaters class that stores all sensors and heatersKevin O'Connor2018-04-041-0/+8
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>