Available in: Extended firmware
The enable-klipper-includes overlay adds support for custom Klipper and Moonraker configuration files.
This overlay modifies the default Klipper and Moonraker configurations to include user-defined configuration files from specific directories:
extended/klipper/*.cfgextended/moonraker/*.cfghttp://<printer-ip>).cfg).cfg)In the Configuration tab, go to the klipper folder and create .cfg files with your custom Klipper configuration.
Example custom-macros.cfg:
[gcode_macro CUSTOM_MACRO]
gcode:
G28
G1 Z10 F600
In the Configuration tab, go to the moonraker folder and create .cfg files with your custom Moonraker configuration.
Example usb-camera.cfg for USB camera support:
[webcam webcam2]
service: webrtc-camerastreamer
stream_url: /webcam2/webrtc
snapshot_url: /webcam2/snapshot.jpg
aspect_ratio: 16:9
.cfg files in the extended/klipper/ folder are automatically included.cfg files in the extended/moonraker/ folder are automatically included00_keep.cfg placeholder filesIf you break Moonraker with an invalid configuration, the printer will not connect to WiFi on next boot.
To recover:
extended-recover.txt on a USB stickextended.bakextended-recover.txt file will be automatically deleted