Bed Tramming controls for Ender 3D Printers via Octoprint

During my times of using Octoprint and my Ender printers, I have found the LCD on them very lacking especially so while doing bed tramming.

In Octoprint you can actually define custom controls that show up under the “Control” tab in the web interface.

There is a plugin but it is sadly no longer being developed (mind you there is a patched fork, however why depend on a plugin to do something that takes a few minutes in Vim to do?)

Below you'll find my current controls entry for both my printers, the “Corner” positions are directly above the bed level screws on most Ender Printers who's bed size is 220x220.

controls:
- children:
  layout: horizontal
  name: Leveling Help
  - command: G1 X30 Y30 Z5 F5000
    name: Left Front Corner
  - command: G1 X30 Y200 Z5 F5000
    name: Left Rear Corner
  - command: G1 X200 Y200 Z5 F5000
    name: Right Rear Corner
  - command: G1 X200 Y30 Z5 F5000
    name: Right Front Corner
  - command: G1 Z0 F200
    name: Drop Z
  - command: G1 Z5 F5000
    name: Raise Z

There's also this snippet if you want to have some control over the CLTouch, if your printer has one. This can be useful for finding the probe offset and ensuring your bed clips don't interfere with your ABL.

- children:
  layout: horizontal
  name: CLTouch
  - command: M280 P0 S90
    name: Probe Up
  - command: M280 P0 S10
    name: Probe Down
  - command: M280 P0 S120
    name: Self Test
  - command: G29 D
    name: Probe Bed Dry-Run