Using GPIO Pins for Power Control in Moonraker

Moonraker is a powerful web API service commonly used with Klipper in 3D printing. One of its useful features is the ability to control GPIO pins directly for managing power devices. This guide explains how to set up raspberry GPIO pins in Moonraker and use them for power control, including handling button inputs. Configure GPIO power switch in Moonraker To use a GPIO pin for power control, you must define it as a power_device in the Moonraker configuration file (moonraker....

January 1, 2025 · 2 min · 4ib3r

How to Use Different Configurations in Klipper

How to Use Different Configurations in Klipper Without Copying Files If you use Klipper and want to manage multiple configurations easily, you can use the KCONFIG_CONFIG environment variable. This allows you to compile the project with a selected configuration file without copying it to .config. In this article, I’ll walk you through how to do this and also show an alternative method using file copying. Creating a Configuration A configuration file for later use can be obtained in two ways: by creating a new configuration or by copying an existing one from the default ....

December 31, 2024 · 2 min · 4ib3r