| 
									
										
										
										
											2018-12-27 18:57:17 -05:00
										 |  |  | This document covers recent software changes to the config file that | 
					
						
							|  |  |  | are not backwards compatible. It is a good idea to review this | 
					
						
							|  |  |  | document when upgrading the Klipper software. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | All dates in this document are approximate. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Changes
 | 
					
						
							| 
									
										
										
										
											2020-06-06 12:48:35 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-20 19:37:57 -04:00
										 |  |  | 20201020: Klipper v0.9.0 released. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-02 06:32:30 -07:00
										 |  |  | 20200902: The RTD resistance-to-temperature calculation for MAX31865 | 
					
						
							|  |  |  | converters has been corrected to not read low.  If you are using such a | 
					
						
							|  |  |  | device, you should recalibrate your print temperature and PID settings. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-05 11:43:45 -04:00
										 |  |  | 20200816: The gcode macro `printer.gcode` object has been renamed to | 
					
						
							|  |  |  | `printer.gcode_move`.  Several undocumented variables in | 
					
						
							|  |  |  | `printer.toolhead` and `printer.gcode` have been removed.  See | 
					
						
							|  |  |  | docs/Command_Templates.md for a list of available template variables. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-16 15:39:30 -04:00
										 |  |  | 20200816: The gcode macro "action_" system has changed.  Replace any | 
					
						
							|  |  |  | calls to `printer.gcode.action_emergency_stop()` with | 
					
						
							|  |  |  | `action_emergency_stop()`, `printer.gcode.action_respond_info()` with | 
					
						
							|  |  |  | `action_respond_info()`, and `printer.gcode.action_respond_error()` | 
					
						
							|  |  |  | with `action_raise_error()`. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-09 09:37:54 -04:00
										 |  |  | 20200809: The menu system has been rewritten. If the menu has been | 
					
						
							|  |  |  | customized then it will be necessary to update to the new | 
					
						
							|  |  |  | configuration. See config/example-menu.cfg for configuration details | 
					
						
							|  |  |  | and see klippy/extras/display/menu.cfg for examples. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-31 18:10:31 -04:00
										 |  |  | 20200731:  The behavior of the `progress` attribute reported by | 
					
						
							|  |  |  | the `virtual_sdcard` printer object has changed.  Progress is no | 
					
						
							|  |  |  | longer reset to 0 when a print is paused.  It will now always report | 
					
						
							|  |  |  | progress based on the internal file position, or 0 if no file is | 
					
						
							|  |  |  | currently loaded. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-16 14:45:48 -04:00
										 |  |  | 20200725: The servo `enable` config parameter and the SET_SERVO | 
					
						
							|  |  |  | `ENABLE` parameter have been removed.  Update any macros to use | 
					
						
							|  |  |  | `SET_SERVO SERVO=my_servo WIDTH=0` to disable a servo. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-08 16:53:47 -04:00
										 |  |  | 20200608: The LCD display support has changed the name of some | 
					
						
							|  |  |  | internal "glyphs".  If a custom display layout was implemented it may | 
					
						
							|  |  |  | be necessary to update to the latest glyph names (see | 
					
						
							|  |  |  | klippy/extras/display/display.cfg for a list of available glyphs). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-06 12:48:35 -04:00
										 |  |  | 20200606: The pin names on linux mcu have changed. Pins now have names | 
					
						
							|  |  |  | of the form `gpiochip<chipid>/gpio<gpio>`.  For gpiochip0 you can also | 
					
						
							|  |  |  | use a short `gpio<gpio>`.  For example, what was previously referred | 
					
						
							|  |  |  | to as `P20` now becomes `gpio20` or `gpiochip0/gpio20`. | 
					
						
							| 
									
										
										
										
											2018-12-27 18:57:17 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-06-04 14:53:18 -04:00
										 |  |  | 20200603: The default 16x4 LCD layout will no longer show the | 
					
						
							|  |  |  | estimated time remaining in a print.  (Only the elapsed time will be | 
					
						
							|  |  |  | shown.)  If the old behavior is desired one can customize the menu | 
					
						
							|  |  |  | display with that information (see the description of display_data in | 
					
						
							|  |  |  | config/example-extras.cfg for details). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-31 20:44:22 -04:00
										 |  |  | 20200531: The default USB vendor/product id is now 0x1d50/0x614e. | 
					
						
							|  |  |  | These new ids are reserved for Klipper (thanks to the openmoko | 
					
						
							|  |  |  | project). This change should not require any config changes, but the | 
					
						
							|  |  |  | new ids may appear in system logs. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-05-24 11:49:56 -04:00
										 |  |  | 20200524: The default value for the tmc5160 pwm_freq field is now zero | 
					
						
							|  |  |  | (instead of one). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-26 17:30:57 -04:00
										 |  |  | 20200425: The gcode_macro command template variable `printer.heater` | 
					
						
							|  |  |  | was renamed to `printer.heaters`. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-04 19:20:04 -05:00
										 |  |  | 20200313: The default lcd layout for multi-extruder printers with a | 
					
						
							|  |  |  | 16x4 screen has changed.  The single extruder screen layout is now the | 
					
						
							|  |  |  | default and it will show the currently active extruder.  To use the | 
					
						
							|  |  |  | previous display layout set "display_group: _multiextruder_16x4" in | 
					
						
							|  |  |  | the [display] section of the printer.cfg file. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-04-18 12:08:57 -04:00
										 |  |  | 20200308: The default `__test` menu item was removed. If the config | 
					
						
							|  |  |  | file has a custom menu then be sure to remove all references to this | 
					
						
							|  |  |  | `__test` menu item. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-08 17:42:22 -04:00
										 |  |  | 20200308: The menu "deck" and "card" options were removed. To | 
					
						
							| 
									
										
										
										
											2020-03-03 21:09:52 -05:00
										 |  |  | customize the layout of an lcd screen use the new display_data config | 
					
						
							|  |  |  | sections (see config/example-extras.cfg for the details). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-09 14:17:34 -05:00
										 |  |  | 20200109:  The bed_mesh module now references the probe's location | 
					
						
							| 
									
										
										
										
											2019-12-20 17:19:43 -05:00
										 |  |  | in for the mesh configuration.  As such, some configuration options | 
					
						
							|  |  |  | have been renamed to more accurately reflect their intended | 
					
						
							|  |  |  | functionality.  For rectangular beds, `min_point` and `max_point` | 
					
						
							|  |  |  | have been renamed to `mesh_min` and `mesh_max` respectively.  For | 
					
						
							|  |  |  | round beds, `bed_radius` has been renamed to `mesh_radius`.  A new | 
					
						
							|  |  |  | `mesh_origin` option has also been added for round beds.  Note that | 
					
						
							|  |  |  | these changes are also incompatible with previously saved mesh profiles. | 
					
						
							|  |  |  | If an incompatible profile is detected it will be ignored and scheduled | 
					
						
							|  |  |  | for removal.  The removal process can be completed by issuing the | 
					
						
							|  |  |  | SAVE_CONFIG command. The user will need to re-calibrate each profile. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-12-18 12:23:09 -05:00
										 |  |  | 20191218: The display config section no longer supports "lcd_type: | 
					
						
							|  |  |  | st7567".  Use the "uc1701" display type instead - set "lcd_type: | 
					
						
							|  |  |  | uc1701" and change the "rs_pin: some_pin" to "rst_pin: some_pin".  It | 
					
						
							|  |  |  | may also be necessary to add a "contrast: 60" config setting. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-24 19:59:36 -05:00
										 |  |  | 20191210: The builtin T0, T1, T2, ... commands have been removed.  The | 
					
						
							|  |  |  | extruder activate_gcode and deactivate_gcode config options have been | 
					
						
							|  |  |  | removed.  If these commands (and scripts) are needed then define | 
					
						
							|  |  |  | individual [gcode_macro T0] style macros that call the | 
					
						
							| 
									
										
										
										
											2019-12-13 12:33:13 -05:00
										 |  |  | ACTIVATE_EXTRUDER command.  See the config/sample-idex.cfg and | 
					
						
							|  |  |  | sample-multi-extruder.cfg files for examples. | 
					
						
							| 
									
										
										
										
											2019-11-24 19:59:36 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-24 21:10:51 -05:00
										 |  |  | 20191210: Support for the M206 command has been removed.  Replace with | 
					
						
							|  |  |  | calls to SET_GCODE_OFFSET.  If support for M206 is needed, add a | 
					
						
							|  |  |  | [gcode_macro M206] config section that calls SET_GCODE_OFFSET.  (For | 
					
						
							|  |  |  | example "SET_GCODE_OFFSET Z=-{params.Z}".) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-24 21:16:53 -05:00
										 |  |  | 20191202: Support for the undocumented "S" parameter of the "G4" | 
					
						
							|  |  |  | command has been removed.  Replace any occurrences of S with the | 
					
						
							|  |  |  | standard "P" parameter (the delay specified in milliseconds). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-25 21:08:51 -05:00
										 |  |  | 20191126: The USB names have changed on micro-controllers with native | 
					
						
							|  |  |  | USB support.  They now use a unique chip id by default (where | 
					
						
							| 
									
										
										
										
											2019-12-01 10:29:15 -05:00
										 |  |  | available).  If an "mcu" config section uses a "serial" setting that | 
					
						
							|  |  |  | starts with "/dev/serial/by-id/" then it may be necessary to update | 
					
						
							| 
									
										
										
										
											2019-12-01 14:25:40 -05:00
										 |  |  | the config.  Run "ls /dev/serial/by-id/*" in an ssh terminal to | 
					
						
							| 
									
										
										
										
											2019-12-01 10:29:15 -05:00
										 |  |  | determine the new id. | 
					
						
							| 
									
										
										
										
											2019-11-21 11:48:36 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-05 16:21:06 -05:00
										 |  |  | 20191121: The pressure_advance_lookahead_time parameter has been | 
					
						
							|  |  |  | removed.  See example.cfg for alternate configuration settings. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-12 18:18:32 -05:00
										 |  |  | 20191112: The tmc stepper driver virtual enable capability is now | 
					
						
							|  |  |  | automatically enabled if the stepper does not have a dedicated stepper | 
					
						
							|  |  |  | enable pin.  Remove references to tmcXXXX:virtual_enable from the | 
					
						
							| 
									
										
										
										
											2019-11-12 18:34:32 -05:00
										 |  |  | config.  The ability to control multiple pins in the stepper | 
					
						
							|  |  |  | enable_pin config has been removed.  If multiple pins are needed then | 
					
						
							|  |  |  | use a multi_pin config section. | 
					
						
							| 
									
										
										
										
											2019-11-12 18:18:32 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-07 16:24:52 -05:00
										 |  |  | 20191107: The primary extruder config section must be specified as | 
					
						
							|  |  |  | "extruder" and may no longer be specified as "extruder0". Gcode | 
					
						
							|  |  |  | command templates that query the extruder status are now accessed via | 
					
						
							|  |  |  | "{printer.extruder}". | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 20191021: Klipper v0.8.0 released | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-03 18:09:01 -04:00
										 |  |  | 20191003: The move_to_previous option in [safe_z_homing] now defaults | 
					
						
							|  |  |  | to False.  (It was effectively False prior to 20190918.) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-09-18 15:37:33 +02:00
										 |  |  | 20190918: The zhop option in [safe_z_homing] is always re-applied | 
					
						
							|  |  |  | after Z axis homing completed. This might need users to update custom | 
					
						
							|  |  |  | scripts based on this module. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-06 19:30:48 -04:00
										 |  |  | 20190806: The SET_NEOPIXEL command has been renamed to SET_LED. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-07-26 10:59:07 -04:00
										 |  |  | 20190726: The mcp4728 digital-to-analog code has changed. The default | 
					
						
							|  |  |  | i2c_address is now 0x60 and the voltage reference is now relative to | 
					
						
							|  |  |  | the mcp4728's internal 2.048 volt reference. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-07-10 19:25:56 -04:00
										 |  |  | 20190710: The z_hop option was removed from the [firmware_retract] | 
					
						
							|  |  |  | config section. The z_hop support was incomplete and could cause | 
					
						
							|  |  |  | incorrect behavior with several common slicers. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-07-10 15:11:11 -04:00
										 |  |  | 20190710: The optional parameters of the PROBE_ACCURACY command have | 
					
						
							|  |  |  | changed. It may be necessary to update any macros or scripts that use | 
					
						
							|  |  |  | that command. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-28 15:40:00 -04:00
										 |  |  | 20190628: All configuration options have been removed from the | 
					
						
							|  |  |  | [skew_correction] section.  Configuration for skew_correction | 
					
						
							|  |  |  | is now done via the SET_SKEW gcode.  See skew_correction.md | 
					
						
							|  |  |  | for recommended usage. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-07 19:30:17 -04:00
										 |  |  | 20190607: The "variable_X" parameters of gcode_macro (along with the | 
					
						
							|  |  |  | VALUE parameter of SET_GCODE_VARIABLE) are now parsed as Python | 
					
						
							|  |  |  | literals. If a value needs to be assigned a string then wrap the value | 
					
						
							|  |  |  | in quotes so that it is evaluated as a string. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-06 10:15:47 -04:00
										 |  |  | 20190606: The "samples", "samples_result", and "sample_retract_dist" | 
					
						
							|  |  |  | config options have been moved to the "probe" config section. These | 
					
						
							|  |  |  | options are no longer supported in the "delta_calibrate", "bed_tilt", | 
					
						
							|  |  |  | "bed_mesh", "screws_tilt_adjust", "z_tilt", or "quad_gantry_level" | 
					
						
							|  |  |  | config sections. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-28 10:59:12 -04:00
										 |  |  | 20190528: The magic "status" variable in gcode_macro template | 
					
						
							|  |  |  | evaluation has been renamed to "printer". | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-20 22:36:57 -04:00
										 |  |  | 20190520: The SET_GCODE_OFFSET command has changed; update any g-code | 
					
						
							|  |  |  | macros accordingly. The command will no longer apply the requested | 
					
						
							|  |  |  | offset to the next G1 command. The old behavior may be approximated by | 
					
						
							|  |  |  | using the new "MOVE=1" parameter. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-05 11:18:46 -04:00
										 |  |  | 20190404: The Python host software packages were updated. Users will | 
					
						
							|  |  |  | need to rerun the ~/klipper/scripts/install-octopi.sh script (or | 
					
						
							|  |  |  | otherwise upgrade the python dependencies if not using a standard | 
					
						
							|  |  |  | OctoPi installation). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-01 00:34:01 -04:00
										 |  |  | 20190404: The i2c_bus and spi_bus parameters (in various config | 
					
						
							|  |  |  | sections) now take a bus name instead of a number. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-31 19:08:05 -04:00
										 |  |  | 20190404: The sx1509 config parameters have changed. The 'address' | 
					
						
							|  |  |  | parameter is now 'i2c_address' and it must be specified as a decimal | 
					
						
							|  |  |  | number. Where 0x3E was previously used, specify 62. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-28 14:07:40 -04:00
										 |  |  | 20190328: The min_speed value in [temperature_fan] config | 
					
						
							|  |  |  | will now be respected and the fan will always run at this | 
					
						
							|  |  |  | speed or higher in PID mode. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-22 20:41:32 -04:00
										 |  |  | 20190322: The default value for "driver_HEND" in [tmc2660] config | 
					
						
							| 
									
										
										
										
											2019-03-22 22:40:42 -04:00
										 |  |  | sections was changed from 6 to 3. The "driver_VSENSE" field was | 
					
						
							|  |  |  | removed (it is now automatically calculated from run_current). | 
					
						
							| 
									
										
										
										
											2019-03-22 20:41:32 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-10 13:57:01 -04:00
										 |  |  | 20190310: The [controller_fan] config section now always takes a name | 
					
						
							|  |  |  | (such as [controller_fan my_controller_fan]). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-08 11:25:19 -05:00
										 |  |  | 20190308: The "driver_BLANK_TIME_SELECT" field in [tmc2130] and | 
					
						
							|  |  |  | [tmc2208] config sections has been renamed to "driver_TBL". | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-08 11:08:24 -05:00
										 |  |  | 20190308: The [tmc2660] config section has changed. A new | 
					
						
							|  |  |  | sense_resistor config parameter must now be provided. The meaning of | 
					
						
							|  |  |  | several of the driver_XXX parameters has changed. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-19 00:32:37 -05:00
										 |  |  | 20190228: Users of SPI or I2C on SAMD21 boards must now specify the | 
					
						
							|  |  |  | bus pins via a [samd_sercom] config section. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-12 19:50:10 -05:00
										 |  |  | 20190224: The bed_shape option has been removed from bed_mesh.  The | 
					
						
							|  |  |  | radius option has been renamed to bed_radius.  Users with round beds | 
					
						
							|  |  |  | should supply the bed_radius and round_probe_count options. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-27 19:11:46 -05:00
										 |  |  | 20190107: The i2c_address parameter in the mcp4451 config section | 
					
						
							|  |  |  | changed. This is a common setting on Smoothieboards. The new value is | 
					
						
							|  |  |  | half the old value (88 should be changed to 44, and 90 should be | 
					
						
							|  |  |  | changed to 45). | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-27 18:57:17 -05:00
										 |  |  | 20181220: Klipper v0.7.0 released |