Automatically keeps bed leveling on after G28 (Auto Home).
Marlin code G28 disables bed leveling. The plugin restores the prior state:
- Before the
G28command aM420 Vis send to check if leveling is enabled or not. - If leveling was enabled: After the
G28command aM420 S1is send to enable leveling.
That same behaviour can be enabled in the Marlin firmware via RESTORE_LEVELING_AFTER_G28.
Install via the bundled Plugin Manager or manually using this URL:
https://github.com/Xennis/OctoPrint-RestoreLevelingAfterG28/archive/master.zip
The plugin does not adjust the UI. It has the following settings:
zFadeHeight: If set the Z fade high parameter in the M420 command is set. The value should be a number (integer, float).
For details checkout the official documentation.
plugins:
restorelevelingafterg28:
zFadeHeight: 2