DuetLapse3
-
See the post above. You will need to change M117 control messages to the M291 equivalent.
Note that there is no need for a delay after each message -
@stuartofmt said in DuetLapse3:
Note that there is no need for a delay after each message
Sweet! Appreciate your work. Great stuff.
-
-
First of all, many thanks to @chrishamm @Falcounet @MintyTrebor and @T3P3Tony for all helping in progressing this plugin. Withouth their combined efforts it would still be where I left it late last year i.e. abandoned.
I'm very pleased to announce the pluging version of DuetLapse3.
The plugin uses the same source as the standalone version of DuetLapse3 but is easier to install than the standalone version. Other than that the standalone and plugin version have the same functionality.
https://github.com/stuartofmt/DuetLapse3/tree/main/plugin
The instructions for installing DuetLapse3 as a plugin are here:
https://github.com/stuartofmt/DuetLapse3/blob/main/plugin/plugin installation guide.md -
VERSION - 5.2.0 Released
[1] Fixed snapshot when called from gcode
[2] Process all M291 messages without delay
[3] Refactored loop control to prevent thread blocking
[4] Prevent first layer capture if -pause yes
[5] Added -password option to support passwords
[6] Released as a plugin for SBC -
https://i.postimg.cc/5tGyZb6j/duetlapse.png SBC installation doesnt work.
-
@LuniLAB said in DuetLapse3:
https://i.postimg.cc/5tGyZb6j/duetlapse.png SBC installation doesnt work.
It's currently set to require R3.4.5 because that is the latest stable release and the release I tested on.
I'm not sure if it would even work on the 3.5 beta releases. I'll rebuild it (likely tonight) with a requirement of > 3.4.5 and make a note on the tested release.
I'll let you know when its done.
-
@stuartofmt I think things have changed a fair bit between 3.4.5 and 3.5. @MintyTrebor can probably comment more
-
@stuartofmt You will probably have to re-compile based on the 3.5 src at the very least - there were significant changes from 3.4.5 to 3.5. You may also have to make some changes to your code to make it 3.5 compatible, and it's likely the 3.5 version you make will not be backwards compatible with 3.4.5.
-
@MintyTrebor said in DuetLapse3:
@stuartofmt You will probably have to re-compile based on the 3.5 src at the very least - there were significant changes from 3.4.5 to 3.5. You may also have to make some changes to your code to make it 3.5 compatible, and it's likely the 3.5 version you make will not be backwards compatible with 3.4.5.
Thanks - I'll leave the current verson as-is and upgrade to a beta version when I can.
@LuniLAB Its unlikely that I can get to this for a while. You can run DuetLapse3 independently i.e. not as a plugin if you like.
-
DuetLapse3 plugin is now available for 3.5.0.beta.3.
This due to the generous assistance of @MintyTreborhttps://github.com/stuartofmt/DuetLapse3/tree/main/plugin
Note that the plugins are specific to the DWC version and are not interchangeable.
-
Hi, if I understand correctly, the plugin is only compatible with Duet board with SBC? Not the standalone boards?
-
@JonasBaleine said in DuetLapse3:
Hi, if I understand correctly, the plugin is only compatible with Duet board with SBC? Not the standalone boards?
DuetLapse3 can be used either standalone or as a plugin. The code is common to both. The functionality is the same.
See the documentation here:
https://github.com/stuartofmt/DuetLapse3/blob/main/Documents/Getting Started.mdStandalone
DuetLapse3 can be installed (not as a plugin) on a linux or windows machine. DuetLapse uses python and its not possible / practical to run as a plugin on a standalone board.I recently changed a few file locations for better identification of versions. I just noticed that I have not updated a couple of links in the documentation.
For standale on version 3.4.5 DuetLapse3 is here:
https://github.com/stuartofmt/DuetLapse3/tree/main/Release 3.4.5
For standalone on version 3.5.0-beta.4, DuetLapse3 is here:
https://github.com/stuartofmt/DuetLapse3/tree/main/plugin/3.5.0-beta.4/dsf -
Also - if you are using the beta.4 version as standalone, you should copy this macro into your /sys folder
https://github.com/stuartofmt/DuetLapse3/tree/main/plugin/3.5.0-beta.4/sd/sys
-
@stuartofmt Hi, thanks for the reply. I saw that there are 2 versions, the plugin and standalone version. What I meant was: does the plugin version only works when using the duet board in SBC mode? That's what the documentation would lead me to believe. Just wanted to make sure I understood correctly.
-
@JonasBaleine said in DuetLapse3:
does the plugin version only works when using the duet board in SBC mode?
The plugin version only works for SBC. The reason is that the "heavy lifting" of DuetLapse3 is all done with Python code. Its not possible / practical to run that code on a standalone board. For standalone, you need to install DuetLapse3 on some computer with network access to the printer. I used to run it this way when I had a Duet2 using a Pi to run DuetLapse3.
You can install not-as-a-plugin with either standalone or SBC. The main advantage of using the plugin (if you are running SBC) is that it simplifies the installation and integrates the UI with DWC. Otherwise the functionality is identical.
-
Hi, is there a plugin version for DSF version 3.4.6? I tried 3.4.5 and 3.5.0-beta.4 and both would not install with 3.4.6. Thanks.
-
@JonasBaleine said in DuetLapse3:
Hi, is there a plugin version for DSF version 3.4.6? I tried 3.4.5 and 3.5.0-beta.4 and both would not install with 3.4.6. Thanks.
I have not created a specific version for 3.4.6, quite busy right now
I suspect it might "just work" if I edit the required version in the plugin.json file. There is a way to set a version range (I think) but figuring that out could take time.
Can you try this and let me know if it installs ok?
(remove .txt extension)
[DuetLapse3-5.2.2.1-3.4.6.zip.txt]P.S. 3.5.0-beta.4 definitely will not work.
-
@stuartofmt Hi, I will try it this weekend and come back to you. Do not worry, I understand being busy. Thanks for all you've done already.
-
@stuartofmt Hi, I installed the plugin and tried to run DuetLapse through terminal using this command:
python3 ./plugins/DuetLapse3/dsf/DuetLapse3.py -file ./sd/DuetLapse3/DuetLapse3.config
from the
/opt/dsf
directory on my pi.Here is the log that was produced startup.txt , saying "The printer at (IP address) needs to be at version 3.4.5".
Let me know if you need more information. Thanks!
Edit:
I changed the duet3DVersion to '3.4.6' in DuetLapse3.py and when I run the same command, I get the following startup.txt
In the DWC, I get partially started as Status when I press the start:
If I run the command above in the terminal, I get this in the DWC, but still only partially started:
-
This post is deleted!