-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Add POWER_OFF_DELAY option #19987
Add POWER_OFF_DELAY option #19987
Conversation
Doesn't a G4 in PSU_POWEROFF_GCODE work? |
i tried to search for PSU_POWEROFF_GCODE in both config files and could not find it |
No not really: the printer won´t report a finish to e.g. octoprint with the added G-Code, because it is still "printing". |
This is slightly problematic, because there's no way to cancel the power-down, but you could go ahead and start a new print job while waiting for a long shutdown delay, and then the power would turn off at some point during the print job. It would be better to piggyback off of the lastPowerOn = millis() - (POWER_TIMEOUT) + (POWER_OFF_TIMEOUT); |
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Co-authored-by: Scott Lahteine <[email protected]>
Description
Added a power off timeout before the printer/mainboard is shut off to enable a cooldown fan or other appliances to be powered even if the print has finished. The delay can be given in seconds.
Benefits
Power off delay not existing.
Configurations
POWER_OFF_DELAY
added inConfiguration.h
underPSU_CONTROL
section.Related Issues