Auto Resume after Pause
-
@stuartofmt Please find the config file data:
-duet 192.168.29.90
-port 8082
-basedir /opt/dsf/sd/DuetLapse3
-camera1 stream
-weburl1 http://DP500:8081/0/stream
-seconds 20
-detect pause
-verbose
-keepfiles
-restart -
Looks like DuetLapse3 is working as it should. The
-detect pause
is telling DuetLapse3 that if the print job is paused, capture an image, then unpause. The pause can come from DWC or be embedded in gcode. That option is based on the printer state.If you remove
-detect pause
your current config will capture an image every 20 secondsIf, otherwise DuetLapse3 is working as you like, I'd also consider removing
-verbose
Full descriptions of the options are on the github site. Also documented are gcode commands that you can include in your gcode (typically using slicer pre and post print) to turn DuetLapse on / of on a per print basis. So the whole process can be automated.
-
@stuartofmt We have changed the DuetLapse3.config as recommended, still auto resume is occurring.
-
@techworld said in Auto Resume after Pause:
@stuartofmt We have changed the DuetLapse3.config as recommended, still auto resume is occurring.
Let me take a look. I re-arranged some code in that area as part of the "tidy-up' for the plugin and may have introduced a bug.
I will get to it quickly.
-
DuetLapse3-5.2.x.zip.txt @techworld said in Auto Resume after Pause:
@stuartofmt We have changed the DuetLapse3.config as recommended, still auto resume is occurring.
I looks like it was a pretty obvious "one-liner" (silly on my part). I do not have time to test it for a couple of days. If you would like to try:
Here is a new Zip file for the plugin - you'll need to remove.txt
from the filename:
DuetLapse3-5.2.x.zip.txt -
Hi @stuartofmt I'm trying to install the plugin, got this error while installing.
Couldn't install Plugintechworld
-
I cannot reproduce the issue on my machine. Here's what I suggest:
- Use DWC --> plugins --> external. If DuetLapse3 plugin is there: stop the plugin, refresh the browser and uninstall the plugin.
- Remove traces of DuetLapse from prior installs etc. with
sudo rm -f /opt/dsf/dwc/js/DuetLapse3.*
- Remove the
-restart
from your DuetLapse3.conf file. Its possible that DuetLapse 3 is still running in the background even though the plugin is stopped. I have not checked that behavior. In any case, when running as a plugin,-restart
may not have any utility. - Reboot the pi
- Install the plugin.
As an aside - when I downloaded the plugin from the post above I ended up (windows 11) with a file called
1682005550329-duetlapse3-5.2.x.zip.zip
versus.txt
at the end. In any case (out of curiosity) - I tried installing with the.zip.zip
file and by removiing the last.zip
... BOTH worked ! -
Any update? I was able to test at my end and it seems to work fine. But I want to make sure its working OK for you before I assume success.
-
@stuartofmt I am not sure what has happened.
Automatically the plugin got installed. Now it is working fine.
We have the 'DuetPi Management Plugin' installed. Is it the one which made the installation?
Another question:
- Can we make the auto pause at every layer change and take a pic? (The famous one with Octoprint)
Thanks for the support
-
@techworld Glad you got it working.
The answer is "yes" you can auto-pause on layer change (using
- pause yes
and-detect layer
). I encourage you to read the documentation as there are additional things to consider (see-rest
and also the use of-seconds
with-detect
). Note that depending on your printer the resultant model may not be "great" - cooling between layers etc.Lets close this discussion (about DuetLapse3) in this thread and continue future ones in the DuetLapse specific thread.
Do you have a link to "the famous one with Octoprint"? I'm curious