• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Retrieve duration of Finished Print when reconnecting

Scheduled Pinned Locked Moved
Duet Web Control wishlist
5
6
317
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    r123
    last edited by 2 Nov 2020, 17:08

    I run prints overnight and when return laptop will Webcontrol will inevitably have to reconnect (laptop sleep).

    It would be GREAT (and give a much better impression of a fully integrated system) if at that point Webcontrol could retrieve the duration of the print that just finished. That's invariably something I'd like to know!

    Would also be nice to have print end time (a real time) just as we are all hoping for "estimated finish time" to make it's way back in to webcontrol!

    undefined 1 Reply Last reply 3 Nov 2020, 15:07 Reply Quote 2
    • undefined
      Stephen6309 @r123
      last edited by 3 Nov 2020, 15:07

      @r123 When a print is finished, the time it took is in the Console in DWC.

      undefined 1 Reply Last reply 3 Nov 2020, 16:18 Reply Quote 0
      • undefined
        Phaedrux Moderator @Stephen6309
        last edited by 3 Nov 2020, 16:18

        @Stephen6309 said in Retrieve duration of Finished Print when reconnecting:

        @r123 When a print is finished, the time it took is in the Console in DWC.

        Only if DWC was open when it finishes. His laptop is going to sleep and it's not getting collected.

        @r123 I think this could be solved by the addition of writting the total print time to the gcode file itself, which is on the list.

        Z-Bot CoreXY Build | Thingiverse Profile

        undefined 1 Reply Last reply 3 Nov 2020, 17:50 Reply Quote 0
        • undefined
          Stephen6309 @Phaedrux
          last edited by 3 Nov 2020, 17:50

          @Phaedrux
          @r123

          Do a similation before printing to get the close to correct print time added to the gcode.

          1 Reply Last reply Reply Quote 1
          • undefined
            dc42 administrators
            last edited by 3 Nov 2020, 22:49

            If you enable logging using M929 then the start and finish times will be written to the log file.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • undefined
              achrn
              last edited by 7 Nov 2020, 12:30

              If you connect to http://<ip address>/machine/status you get the machine model, and that has an entry 'job' 'lastDuration' which looks to me to be duration in seconds of the last print job. (At least, it does on mine - MB6HX + Pi firmware 3.1.1 - I don't know what combinations of hardware are needed for this to be true.)

              1 Reply Last reply Reply Quote 0
              4 out of 6
              • First post
                4/6
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA