-
-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Power on gcode #71
Comments
This isn't possible. Klipper cannot execute gcode macros when it is in the shutdown state, this is part of the reason why Moonraker has a "power" plugin. You will have to toggle power from Fluidd. |
Would it be possible for the power plug-in to issue a restart command after a short delay when the printer is powered on? |
It could perhaps be made an option. I'll look into it. |
That would be great. Maybe also a shutdown command :) |
Klipper will automatically enter shutdown when the mcu is disconnected |
This would be really helpful - firmware_restart is required after switching
on the printer to ensure the TMC drivers are initialised properly.
I believe klipperscreen does something similar.
Regards
…On Sun, 24 Jan 2021, 16:45 Eric Callahan, ***@***.***> wrote:
It could perhaps be made an option. I'll look into it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQ6SCITIHFSA2YJFDXSQCLS3P6NHANCNFSM4WNINXYQ>
.
|
It is now possible to configure a |
That's great. Thanks a lot.
…On Wed, 27 Jan 2021, 17:40 Eric Callahan, ***@***.***> wrote:
Closed #71 <#71>.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#71 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQ6SCPQOZJUOL4TNWAE23LS377C3ANCNFSM4WNINXYQ>
.
|
My printer uses UART communication with the drivers which means that klipper has to be restarted after a power cycle. Further the printer is not powered from USB so the port dissapears when the printer is off.
It would be great if this could be included in the startup code from my slicer, e.g. by using a macro. I tried the following macro:
[gcode_macro POWER_ON_PRINTER]
gcode:
{action_call_remote_method("set_device_power",
device="printer",
state="on")}
RESTART
However when I try issuing the command I get a response that moonraker cannot connect to klippy and therefrore neither fluid or moonsail allows me to issue the command.
The text was updated successfully, but these errors were encountered: