aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/heaters.py
Commit message (Collapse)AuthorAgeFilesLines
* temperature_host: Rename rpi_temperature and add support for custom pathsEvgenii2021-02-191-1/+1
| | | | | Signed-off-by: Evgenii Shavrin <shavrin0591@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ds18b20: new module for 1-wire temperature sensor (#3462)Alan Lord2021-02-021-1/+2
| | | | | | | | | Initial commit of code to support 1-wire (Dallas) sensors such as the DS18B20. Requires Linux kernel drivers to create a file in /sysfs which is read by this module, and temperature typically returned to a temperature_fan. Signed-off-by: Alan Lord <alanslists@gmail.com> Signed-off-by: Josh Headapohl <joshhead@gmail.com>
* gcode_macro: Use deepcopy() on get_status() resultsKevin O'Connor2021-01-201-2/+2
| | | | | | | | | If a get_status() method returns a mutable object (such as a list or dict) then it would be possible for a gcode command template to incorrectly alter the program's internal state. Perform a deepcopy() operation on all get_status() return results to avoid that. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Make MINIMUM optional for TEMPERATURE_WAIT command (#3674)Justin Schuh2020-12-241-1/+4
| | | Signed-off-by: Justin Schuh <code@justinschuh.com>
* heaters: Add MAXIMUM option to TEMPERATURE_WAIT commandJustin Schuh2020-12-231-1/+2
| | | | Signed-off-by: Justin Schuh <code@justinschuh.com>
* heaters: Fix TEMPERATURE_WAIT command with extruder and heater_bedKevin O'Connor2020-12-221-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Always register heater pin as a pwm pinKevin O'Connor2020-12-151-7/+4
| | | | | | | There's no need to sometimes register the pin as a 'digital_out' pin instead of as a 'pwm' pin. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: add last pwm value to heater.get_status (#3621)Stefan Dej2020-12-131-1/+3
| | | Signed-off-by: Stefan Dej <meteyou@gmail.com>
* temperature_mcu: Add enhanced support for monitoring mcu temperatureKevin O'Connor2020-12-101-1/+2
| | | | | | | Add a "temperature_mcu" tool that can monitor builtin micro-controller temperature sensors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Add a TEMPERATURE_WAIT commandKevin O'Connor2020-12-071-2/+23
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: New module to monitor RPi temperature (#3587)Al2020-12-031-1/+1
| | | | | Module to monitor RPi cpu temperature Signed-off-by: Al Crate <aleph@al3ph.org>
* heaters: Add sensors to printer.heaters.available_sensors even if no gcode_idKevin O'Connor2020-11-011-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Don't raise an error if PID Ki is set to zeroKevin O'Connor2020-10-171-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Disable unused pwm output debugging infoKevin O'Connor2020-09-171-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lm75: Added support for LM75/LM75A I2C connected temperature sensors (#3101)combolek2020-07-191-1/+1
| | | Signed-off-by: Boleslaw Ciesielski <combolek@users.noreply.github.com>
* klippy: Rename try_load_module() to load_object()Kevin O'Connor2020-05-081-7/+6
| | | | | | | | 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>
* gcode: Move "ok" tracking to GCodeCommand classKevin O'Connor2020-05-051-2/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heaters: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-10/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* htu21d: Support for HTI21D family sensor on I2C bus (#2803)Lucio Tarantino2020-05-031-0/+1
| | | Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
* heaters: Make heater.py an "extras" moduleKevin O'Connor2020-04-251-0/+327
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>