aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
Commit message (Collapse)AuthorAgeFilesLines
* Revert "bme280: Rename sensor_type from BME280 to bme280"Kevin O'Connor2021-02-201-1/+1
| | | | | | | | | This reverts commit ac61f8b72603e9d08832250026e48093dd66aec4. Many temperature sensors are capitalized, so don't make this chaneg to the bme280. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: Default menu should check extruders have heaters (#3969)Janar Sööt2021-02-201-2/+2
| | | | | | For the hotend targets check also available heaters. It'll solve crash when using shared heaters. Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* menu: redesigned name scroller & menu rendering (#3837)Janar Sööt2021-02-202-93/+95
| | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* bme280: Rename sensor_type from BME280 to bme280Kevin O'Connor2021-02-201-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_host: Rename "path" config to "sensor_path"Kevin O'Connor2021-02-201-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_host: Improve backwards compatibility checkKevin O'Connor2021-02-191-2/+5
| | | | | | Don't register two names for the same instance of the sensor. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_host: Rename rpi_temperature and add support for custom pathsEvgenii2021-02-192-13/+16
| | | | | Signed-off-by: Evgenii Shavrin <shavrin0591@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Add last_z_result to get the latest z result in an Macro (#3835)Christian S2021-02-181-1/+4
| | | Signed-off-by: Christian Schnellrieder <schnello.android@gmail.com>
* idle_timeout: Add help to SET_IDLE_TIMEOUT (#3945)Arjan Mels2021-02-181-1/+3
| | | Signed-off-by: Arjan Mels <github@mels.email>
* ds18b20: new module for 1-wire temperature sensor (#3462)Alan Lord2021-02-022-1/+79
| | | | | | | | | 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>
* temperature_fan: Add MAX_SPEED and MIN_SPEED to SET_TEMPERATURE_FAN_TARGET ↵Lane Roberts2021-02-021-6/+34
| | | | | | | command (#3873) Allows setting min_speed and max_speed at runtime, rather than updating the config and restarting. Signed-off-by Lane Roberts <nolatari@vandarin.net>
* resonance_tester: Increase test max_accel to 10K and max_freq to 133 HzDmitry Butyugin2021-02-021-2/+3
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Disable input shaping for resonance testingDmitry Butyugin2021-02-021-0/+11
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* adxl345: Add accelerometer chip name to the raw data file nameDmitry Butyugin2021-02-021-6/+9
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* htu21d: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-1/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Improve handling of min_temp/max_temp overflowsKevin O'Connor2021-02-011-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lm75: Implement support for min_temp/max_temp checksKevin O'Connor2021-02-011-2/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lm75: Use getfloat() for reading the lm75_report_time parameterKevin O'Connor2021-02-011-10/+4
| | | | | | Reported by @theopensourcer. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hd44780: Add hd44780 protocol init configThomas Kroll2021-01-311-1/+6
| | | | | | | LDO OLED needs a different init string. Fixes: #3722 Signed-off-by: Thomas Kroll <t.kroll@outlook.com>
* htu21d: Fix time reporting of temperature measurementsKevin O'Connor2021-01-241-1/+2
| | | | | | The temperature callback takes a "print time" not a "system time". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Fix time reporting of temperature measurementsKevin O'Connor2021-01-241-1/+2
| | | | | | The temperature callback takes a "print time" not a "system time". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Improve handling when in debug output modeKevin O'Connor2021-01-241-0/+2
| | | | | | | Call mcu_adc.setup_minmax() even in debug output mode so that the debugging output contains a more accurate configuration. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bme280: Disable bme280 when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Fix missing get_report_time_delta() callbackKevin O'Connor2021-01-241-0/+3
| | | | | | Reported by @ronald5555. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Disable rpi_temperature when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rpi_temperature: Minor formatting changesKevin O'Connor2021-01-241-19/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Disable the temperature_mcu when using debug outputKevin O'Connor2021-01-241-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: Update menu.cfg sd_card menu enable condition (#3826)Chip2021-01-241-5/+35
| | | | | Change SD card enable condition and add Cancel printing option. Signed-off-by: John Smith <login721@gmail.com>
* hall_filament_width_sensor: Fix race condition (#3790)Pascal P2021-01-222-2/+10
| | | | | | Fix race condition of filament width sensor Added fix to similar code of TSL1401CL filament width sensor Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
* gcode_macro: Use deepcopy() on get_status() resultsKevin O'Connor2021-01-204-9/+8
| | | | | | | | | 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>
* save_variables: Import ConfigParser as configparser for better Python3 supportKevin O'Connor2021-01-171-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: Update menu.cfg (#3778)Alex Zellner2021-01-171-21/+21
| | | | | Update min/max in move menu to printer variables. Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
* webhooks: Fix use of deprecated Exception.message attribute (#3781)Maël Kerbiriou2021-01-171-2/+2
| | | | | | | | Since Python 2.6, the BaseException.message attribute is deprecated (PEP-352[1]) in favor of e.args[0] or str(e). This commit replaces e.message with str(e). [1] https://www.python.org/dev/peps/pep-0352/ Signed-off-by: Maël Kerbiriou <m431.kerbiriou@gmail.com>
* homing: Fix references to CommandError()Kevin O'Connor2021-01-111-6/+7
| | | | | | | | Commit ea85d419 moved CommandError from homing.py to gcode.py, but failed to fix the references to CommandError within homing.py. Fix that. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Make homing.py an "extras" moduleKevin O'Connor2021-01-086-24/+199
| | | | | | | Move klippy/homing.py to klippy/extras/homing.py and convert the code to an "extras" modules. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Move definition of CommandError and Coord from homing.py to gcode.pyKevin O'Connor2021-01-081-4/+5
| | | | 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>
* shaper_calibrate: Choose input shapers accounting smoothingDmitry Butyugin2020-12-222-68/+99
| | | | | | | | | Improved algorithm to choose the 'optimal' shaper frequency taking shaper smoothing into account. This may choose a frequency with slightly more vibrations but less smoothing. Also allow users to limit the maximum input shaper smoothing. Signed-off-by: Dmitry Butyugin <dmbutyugin@google.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>
* temperature_mcu: Fix slope on stm32f070Kevin O'Connor2020-12-191-1/+1
| | | | | | The stm32f070 has a negative temperature slope. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_mcu: Fix slope on stm32f1Kevin O'Connor2020-12-191-1/+1
| | | | | | The stm32f103 has a negative temperature slope. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* endstop_phase: Obtain phases directly from stepper microsteps configKevin O'Connor2020-12-182-37/+42
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Calculate step_distance from rotation_distanceKevin O'Connor2020-12-181-3/+9
| | | | | | | | Add support for automatically calculating the internal step_distance from new config parameters - rotation_distance, microsteps, full_steps_per_rotation, and gear_ratio. 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>
* tmc: Use configfile note_valid=False when inspecting stepper step_distanceKevin O'Connor2020-12-131-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* safe_z_home: Use configfile note_valid=False when inspecting z position_maxKevin O'Connor2020-12-131-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Use configfile note_valid=False when inspecting z position_minKevin O'Connor2020-12-131-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>