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

    Timelapses, are they possible?

    Scheduled Pinned Locked Moved
    Third-party software
    4
    44
    2.6k
    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.
    • A Former User?
      A Former User
      last edited by

      I've tried to use this as well: https://dr-b.io/post/Duet-3D-Printer-TimeLapse

      But it doesn't work for me because of a parsing error with the JSON given by the Duet webserver I suppose...I can't contact the author of the procedure (my questions haven't been moderated yet)....does anyone use this? In case not does anyone know if in the latest version of the Duet webserver somehing has been changed in the JSON mentioned in the above link?

      Thanks
      Andrea

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        have you tried Danal's version?
        https://github.com/DanalEstes/DuetLapse

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        A Former User? 1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User @jay_s_uk
          last edited by

          @jay_s_uk said in Timelapses, are they possible?:

          have you tried Danal's version?
          https://github.com/DanalEstes/DuetLapse

          no, not yet

          1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk
            last edited by

            That handles both versions of responses from RRF

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            A Former User? 2 Replies Last reply Reply Quote 0
            • A Former User?
              A Former User @jay_s_uk
              last edited by

              @jay_s_uk said in Timelapses, are they possible?:

              That handles both versions of responses from RRF

              I'll give it a try so! Thanks for he advice

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User @jay_s_uk
                last edited by

                @jay_s_uk said in Timelapses, are they possible?:

                That handles both versions of responses from RRF

                a mess...:

                f52d9746-c7c9-4e07-999a-ec90cdf64382-image.png

                5ded8a86-3b61-4ef3-bbf0-20c2be4a69e2-image.png

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @resam
                  last edited by

                  @resam said in Timelapses, are they possible?:

                  I'm the author of https://github.com/kriechi/DuetRRF-timelapse - Ask me Anything 😃

                  Generating timelapse videos is quiet an opinionated topic in 3D-printing - everybody has a slightly different setup and preferred way of doing it. This is how I currently run my printer setup:

                  There are two things needed to make print-synced timelapses:

                  • your slicer needs to insert the M118 commands on every layer change
                  • your raspberry pi needs to run the timelapse.py script

                  You need to enable Telnet support in your Duet board with M586 P2 S1.
                  You can start the timelapse script on your RaspberryPi like this:
                  ./timelapse.py some-folder-for-all-images/ 192.168.1.42 http://127.0.0.1:8080/?action=snapshot
                  (with the IP address of the Duet printer, and the URL is in my case mjpg-streamer returning a single jpg image)

                  Hi, I've seen that you have updated the scripts and I've installed them....following the instruction nothing works, tho enly way to make it take snapshot is, on putty, to insert manually the command:
                  python3 /usr/local/bin/duet_timelapse.py /home/pi/timelapse_tmp 192.168.1.7 "http://192.168.1.13:8081?action=snapshot"
                  but in this way it captures the snapshot but doesn't produce the final rendering...without python3 it doesn't work at all, so I've changed duet_timelapse.service in this way:

                  [Unit]
                  Description=Duet Printer Timelapse
                  Wants=network-online.target
                  After=network-online.target
                  StartLimitIntervalSec=0

                  [Service]
                  ExecStart=python3 /usr/local/bin/duet_timelapse.py /home/pi/timelapse_tmp 192.168.1.7 "http://192.168.1.13:8081?action=snapshot"
                  User=pi
                  Group=pi
                  Restart=always
                  RestartSec=1s
                  Environment=PYTHONUNBUFFERED=1

                  [Install]
                  WantedBy=multi-user.target

                  but it doesn't work, I've tried to insert python3 /usr/local/bin/duet_timelapse.py /home/pi/timelapse_tmp 192.168.1.7 even in crontab but it doesn't work....what am I missing?

                  1 Reply Last reply Reply Quote 0
                  • resamundefined
                    resam
                    last edited by

                    You should not need the python3 ... prefix.
                    What does systemctl status duet_timelapse.service say?

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @resam
                      last edited by

                      @resam said in Timelapses, are they possible?:

                      systemctl status duet_timelapse.service

                      it looks ok

                      68c67c70-927a-448c-bd76-d8c01bc4de1b-image.png

                      1 Reply Last reply Reply Quote 0
                      • resamundefined
                        resam
                        last edited by

                        Nope - "auto-restart" means it crashed somewhere...

                        What does journalctl -t duet_timelapse.service say?

                        A Former User? 1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User @resam
                          last edited by

                          @resam said in Timelapses, are they possible?:

                          journalctl -t duet_timelapse.service

                          a1bbc6f1-9b02-4ac2-a3b0-d2526cbd62ec-image.png

                          1 Reply Last reply Reply Quote 0
                          • resamundefined
                            resam
                            last edited by

                            Whats your current ExecStart line? I think you might have messed around with it a bit too much 😃

                            A Former User? 1 Reply Last reply Reply Quote 0
                            • A Former User?
                              A Former User @resam
                              last edited by

                              @resam said in Timelapses, are they possible?:

                              Whats your current ExecStart line? I think you might have messed around with it a bit too much 😃

                              uh surely, how can I see the ExecStart?

                              A Former User? 1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @A Former User
                                last edited by

                                @the_dragonlord said in Timelapses, are they possible?:

                                @resam said in Timelapses, are they possible?:

                                Whats your current ExecStart line? I think you might have messed around with it a bit too much 😃

                                uh surely, how can I see the ExecStart?

                                Thanks for everything....it didn't create the video at all

                                1 Reply Last reply Reply Quote 0
                                • resamundefined
                                  resam
                                  last edited by

                                  I've pushed another update - turns out I had the ffmpeg option disabled instead of enabled.

                                  With the latest update you need to pass in this extra command line argument: --run-ffmpeg

                                  A Former User? 2 Replies Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @resam
                                    last edited by

                                    @resam said in Timelapses, are they possible?:

                                    I've pushed another update - turns out I had the ffmpeg option disabled instead of enabled.

                                    With the latest update you need to pass in this extra command line argument: --run-ffmpeg

                                    execellent!! Have yoy solved the auto start issue too?

                                    1 Reply Last reply Reply Quote 0
                                    • A Former User?
                                      A Former User @resam
                                      last edited by A Former User

                                      @resam said in Timelapses, are they possible?:

                                      --run-ffmpeg

                                      IT WWWWWWOOOOORRRRKKKKKKSSSSSSSSSSSSSSSS!!!!!!! Great jon my friend, great job!!! Thanks a lot for everything!!!

                                      ok, it works with the example print but not with mine....I've inserted the GCODE in the layer change but it doesn't take the pictures...tha GCODE works because when the layer changes I see the nozzle stopping for a while....I'm using Ideamaker as slicer....any idea?
                                      EDIT:
                                      It started to wokr after about 6-7 layers....they are not so small layers, it take about 30-40 secs each to complete

                                      1 Reply Last reply Reply Quote 1
                                      • First post
                                        Last post
                                      Unless otherwise noted, all forum content is licensed under CC-BY-SA