mmone / OctoprintKlipperPlugin

A plugin for a better integration of Klipper into OctoPrint.
GNU General Public License v3.0
83 stars 62 forks source link

Feature Request Timed PSU control #55

Open cybertza opened 4 years ago

cybertza commented 4 years ago

Before submitting your issue please make sure to provide the following information

About your environment:

Hi I currently use the GPIO to handle the power via PSU plugin. my problem is that i need to execute the following and i can't find a way to do it: using G4 doesnt work, since it sends it to the printer, printer replies as offline, print job fails. seems the only way to delay Octoprint at the moment is via plugin, otherwise i would use the gcode scripts. but there is no !local.delay that i can find.

Here is what i need to achieve to get back to "auto start printing from Cura"

;start power via power on plugin or via GPIO7 M80 ;delay octoprint 3 Seconds Delay S3 ;Restart Firmware to reset ADC/Stepper Comms. FIRMWARE_RESTART ;delay octoprint 7 seconds as it normally takes 6 seconds for the printer to restart DELAY S7 ;Printer Ready