-
I am using Mainsail and want to start a delayed_gcode macro timer immediately after the printer has been powered on. Printer power switch | Mainsail https://moonraker.readthedocs.io/en/latest/configuration/#gpio-device-configuration How do I automatically trigger a macro when the printer is turned on? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
you can only execute a "delayed_gcode" when klipper is ready (or at least every macro can only be executed, when klipper is ready): https://www.klipper3d.org/Config_Reference.html#delayed_gcode |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply, as this makes sense. Would it be possible to create a Klipper startup trigger that can be used to trigger a macro immediately after Klipper becomes ready after startup? |
Beta Was this translation helpful? Give feedback.
yes. pls read the link above. you have only to add
initial_duration
to your delayed_gcode.