DWC wishlist



  • I tend to print large pieces which take typically 4-12 hours each. I regulalry kick this off when I leave for work so while I'm working hard my printer is too!

    I've been using octoprint prior to moving to DUET, and this has some features that allow me to monitor the print while I am at work, including an embedded webcam stream in octotpint webpage and cancel or emergency stop in the octoprint controls page should I see any problems on the webcam stream during printing.

    There are some features I use regularly via octoprint that are already in DWC like ability to cancel and emergency stop the print, but there is some others that would be great if they could be added to DWC/DUET, they are:

    1) Secure login, I think I saw this on a list of things coming, but its probably the biggest thing for me atm, given I regulalry have the printer running while I am at work I login to the control page and can cancel a print remotely if I see a problem. Currently with no login control if I setup a port forward on my router to the DWC page anyone could mess with my printer should they stumble onto it. I have no problem with having others see what I am printing though, and often give a link to family or friends to watch (particularly nice if I am printing something for them).. so ability to see printer operating and see a cam stream is good, but ability to control printer without logging in.. not so good.

    2) Total time to print. On octoprint, one very handy stat is once a gcode is printed, it records the total time it took to print. This is handy for times when you may need to print the same object again in the future, rather than the guesswork from your slicer or DUET, you can see the actual time required to print it next time.

    3) Date/time file view I see it mentioned in other threads, a file date/time view would be nice, it doesn't need to be any time referenced from DUET itself from my perspective, a simple file creation/modified time from the file itself would be handy. not a big deal really, but being able to sort the view by newest created file would be great especially as the list of files stored on DUET grows.

    4) Webcam stream.. Octoprint setup has two webcam streams in the setup, one is a mjpeg stream from the camera, which is simply embedded into the equivalent of the "print status" screen. I don't really understand how it works so I could be wrong, but I believe this simply adds the stream URL as an embedded window inside the page presented to the browser, so all the processing of the stream is done on the browser, I am fairly sure this is the case as to make it work outside my home through my router I had to port forward to the camera stream as well as octoprint - this way there is minimal or no processing required on the octoprint (or DUET in this case) processor. Whilst the current idea in DWC is a static image every 10s or so, having a live stream is nicer. BTW Octorpint is often used with USB webcams, but the way it does this is by having a seperate app loaded on the rpi which presents the USB webcam input as a live ip mjpeg stream, and the mjpeg stream URL is then added to octoprint setup - many IP cameras supply an IP mjpeg stream anyway so by having an IP camera you can avoid all the hardware/application requirements and just have an IP webcam streamed directly in an embedded window.
    EDIT: Turns out this request is un-necessary, I misunderstood how it worked/displayed based on the refresh time option, and in fact after playing around realise it already shows a live stream!

    5) Timelapse. not really a big deal, but it is cool having this in octoprint. As i mentioned above in octorpint there is 2 streams you need to add into the setup, the 2nd one is identical I think to how DWC currently works, it is a static image refreshed every 10-30s, which is used to create the timelapse video. Given the static image at regular intervals is already in the DWC, it may be not that hard to add this feature? if it is then its not a real concern as although its cool, in reality I dont use it that often in octorpint, and I'd forego this feature in prefernce of having a live stream embedded in the page with secure login to access print controls so I can monitor the print from work.



  • That's also the kind of features I would like to use but I don't think it's duet main cpu's job to do all that.

    In that case i love the KISS concept:

    • duet drives the printer
    • rpi does the rest.

    1, 4 and 5, rpi could be a reverse authenticating ssl proxy doing extra jobs; allowing your guests to emergency stop your prints if they detect something is wrong for example.

    2, if you consider the exact same gcode file, it could be possible to store and associate some kind of hash of the gcode file (md5, sha1, sha256) with the elapsed time of the previous print. that's also something an overlay rpi could do as well.

    3, I guess DWC needs to know how to get time from local network and/or from internet (ntp, getting time off an http server, ….)



  • @lolorc:

    That's also the kind of features I would like to use but I don't think it's duet main cpu's job to do all that.

    In that case i love the KISS concept:

    • duet drives the printer
    • rpi does the rest.

    1, 4 and 5, rpi could be a reverse authenticating ssl proxy doing extra jobs; allowing your guests to emergency stop your prints if they detect something is wrong for example.

    2, if you consider the exact same gcode file, it could be possible to store and associate some kind of hash of the gcode file (md5, sha1, sha256) with the elapsed time of the previous print. that's also something an overlay rpi could do as well.

    3, I guess DWC needs to know how to get time from local network and/or from internet (ntp, getting time off an http server, ….)

    I probably should have stated, my wishlist is based on never needing a seperate rpi. Even now I already have my DUET based printer just use DWC & a cheap wifi IP cam (got it for $30 on aliexpress) - it seems uneccessary to consider adding a rpi into the mix.

    I'm running two delta's right now, one has a smoothiboard connected to Ocotprint via USB - I use octorpint to run the prints / web based controls and webcam view.

    The other printer runs Duet with the cheap IP cam sitting next to it, and I can use the DWC web controls to run the prints /web based controls and and I can see the webcam view as well, Really The main thing DWC is missing (Item 1 on my wishlist) is login control so I can open up port forwarding on my router and have the ability to monitor/stop the print while I am at work without the risk of someone else controlling it

    For 3) maybe I am missing something, but if I look at the gcode file on my pc, it already has a date/time of creation from when my slicer created it - can't that be used?
    In addition to the file creation time, with Simplify 3D gcode the 2nd line includes date/time of creation, so that potentially could be used? although I doubt that would be consistent across slicers..


  • administrators

    The current firmware and DWC already maintain and display time stamps on uploaded gcode files. It shouldn't be hard to make DWC sort by time stamp.

    Secure login is on the firmware work list. Logging print jobs to a file on the SD card is also planned. Btw you can use simulation mode (M37) if you need to know the print time in advance.



  • Can we have an option to disable the webcam refresh timer? I am using a webcam with mjpg support which do not need refreshing.


  • administrators

    @Jackal:

    Can we have an option to disable the webcam refresh timer? I am using a webcam with mjpg support which do not need refreshing.

    Can you tell us the make and model?



  • @Jackal:

    Can we have an option to disable the webcam refresh timer? I am using a webcam with mjpg support which do not need refreshing.

    mine is working with mjpeg stream as well, I just set the interval to 60 seconds so its not trying to refresh too often, but you could probably set it to something crazy like 7200s (2 hours) or even more if you really want to avoid constant refresh triggers?



  • David, I am using mjpg-streamer on my raspberry pi and Logitech C920.

    Crash69, currently I have mine set to 5s.
    It is just a 'nice to have' function, actually if we can disable the auto refresh, I would also like to have a manual refresh button. Because when I switch between streaming mode and time lapse, it will show a corrupted image until then next refresh is up.

    Edit: I think the easiest way would be to have the refresh time set to -1 or 0 to disable, and clicking the webcam image to manual refresh



  • Any chance to get a G-Code viewer? I'd love to be able to see the print printing like the octoprint does.



  • I was thinking about check boxes for your files, so that you could for example delete several items at once by checking them using a check box, then pressing one button for delete. Would save a bit of time.



  • @Qdeathstar:

    I was thinking about check boxes for your files, so that you could for example delete several items at once by checking them using a check box, then pressing one button for delete. Would save a bit of time.

    +1 for this, I was cleaning up a few files the other day and it was a bit tedious deleting one at a time.


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.