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

issues installing on PI 3 B+

Scheduled Pinned Locked Moved
Third-party software
4
58
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.
  • undefined
    stuartofmt @sankafola
    last edited by 27 Dec 2023, 17:48

    @sankafola

    Please read the instructions. Duetlapse will create a video for you.

    The Duetlapse documentation describes options for moving the head out of the way before a picture is taken.

    The same for M3291. It has many uses.

    undefined 1 Reply Last reply 28 Dec 2023, 18:25 Reply Quote 0
    • undefined
      sankafola @stuartofmt
      last edited by 28 Dec 2023, 18:25

      @stuartofmt

      am looking for these documents how to do that movie because none is created at the end of the print , so i need to change some setting maybe in the Duet
      Lapse config file or in the M3291 if you can just point me where to get these info to start to use it right way , thanks

      undefined 1 Reply Last reply 30 Dec 2023, 10:52 Reply Quote 0
      • undefined
        stuartofmt @sankafola
        last edited by stuartofmt 30 Dec 2023, 10:52

        @sankafola

        To help I need some more information, usually the video will be created at the end of the print job (unless somehow you have told DuetLapse not to).

        Using a small print job (say 5 minutes)

        Please post (better as file attachments)

        1. your duetlapse config file
        2. the M3291 commands you are using (if any) - usuallly these will be in the "start print" "end print" of your slicer.
        3. The complete log file.

        After several minutes (but before the end) of printing please capture:
        A screenshot of the status tab
        A screenshot of the video tab
        A screenshot of the files tab

        As a side note - it is best to start off with something simple until you get the hang of it. For exampe:

        1. you do not need to use M3291.
        2. from memory, I have included a simple test configuration / approach in the documentation.
        undefined 1 Reply Last reply 30 Dec 2023, 15:41 Reply Quote 0
        • undefined
          sankafola @stuartofmt
          last edited by sankafola 30 Dec 2023, 15:41

          @stuartofmt

          hi

          1- my config file

          -basedir /home/pi/DuetLapse
          -duet 10.0.1.126
          -port 8082
          -seconds 30
          -detect none
          -weburl1 http://10.0.1.110/stream
          -camera1 stream

          the command i use is python3 ./DuetLapse3.py -file DuetLapse3.config
          and my command for the videostream as follow
          sudo python3 ./videostream.py -port 80 -camera 0 -size 4 -format MJPG -host 10.0.1.110 -rotate 180![Screenshot 2023-12-30 at
          2- am not sure how to use the M3291 yet am only using the config file above

          3- i tried to attach the complete log file but its giving me error here is a part of it

          2023-12-30 10:18:26,574 - mainLoop - Time - Camera1: capturing frame 109 at layer 82 after 30 seconds
          2023-12-30 10:18:32,448 - mainLoop - Error Processing message queue
          2023-12-30 10:18:32,450 - mainLoop - 'global'
          2023-12-30 10:18:37,516 - mainLoop - Error Processing message queue
          2023-12-30 10:18:37,520 - mainLoop - 'global'
          2023-12-30 10:18:42,783 - mainLoop - Error Processing message queue
          2023-12-30 10:18:42,785 - mainLoop - 'global'
          2023-12-30 10:18:47,997 - mainLoop - Error Processing message queue
          2023-12-30 10:18:47,999 - mainLoop - 'global'
          2023-12-30 10:18:53,531 - mainLoop - Error Processing message queue
          2023-12-30 10:18:53,532 - mainLoop - 'global'
          2023-12-30 10:18:58,663 - mainLoop - Error Processing message queue
          2023-12-30 10:18:58,664 - mainLoop - 'global'
          2023-12-30 10:18:58,728 - mainLoop - Error Processing message queue
          2023-12-30 10:18:58,728 - mainLoop - 'global'
          2023-12-30 10:18:58,729 - mainLoop - Time - Camera1: capturing frame 110 at layer 83 after 30 seconds
          2023-12-30 10:19:04,721 - mainLoop - Error Processing message queue
          2023-12-30 10:19:04,722 - mainLoop - 'global'
          2023-12-30 10:19:09,811 - mainLoop - Error Processing message queue
          2023-12-30 10:19:09,812 - mainLoop - 'global'
          2023-12-30 10:19:14,931 - mainLoop - Error Processing message queue
          2023-12-30 10:19:14,934 - mainLoop - 'global'
          2023-12-30 10:19:20,064 - mainLoop - Error Processing message queue
          2023-12-30 10:19:20,067 - mainLoop - 'global'
          2023-12-30 10:19:25,205 - mainLoop - Error Processing message queue
          2023-12-30 10:19:25,208 - mainLoop - 'global'
          2023-12-30 10:19:30,296 - mainLoop - Error Processing message queue
          2023-12-30 10:19:30,297 - mainLoop - 'global'
          2023-12-30 10:19:30,298 - mainLoop - ****** Duet status changed to: idle from processing *****
          2023-12-30 10:19:30,299 - mainLoop - ****** Print State changed to: Completed from Capturing*****
          2023-12-30 10:19:30,300 - mainLoop - Print Job Completed
          2023-12-30 10:19:30,301 - mainLoop - nextAction is available
          2023-12-30 10:19:30,302 - nextAction - ++++++ completed state requested ++++++
          2023-12-30 10:19:30,303 - mainLoop - Exiting captureLoop
          2023-12-30 10:19:32,806 - makeVideo - Create Video from /home/pi/DuetLapse/raspberrypi/10-0-1-126/1829_1_Body4
          2023-12-30 10:19:32,807 - terminate - Terminating
          2023-12-30 10:19:32,808 - nextAction - ++++++ Entering terminate state ++++++
          2023-12-30 10:19:32,809 - terminate - captureLoop is not running
          2023-12-30 10:19:32,809 - nextAction - nextAction exiting normally
          2023-12-30 10:19:32,810 - terminate - Wait for video to complete
          2023-12-30 10:19:32,811 - makeVideo - Error: Camera1: Cannot create video shorter than 5 second(s).
          Length would have been 3.6666666666666665 second(s).
          2023-12-30 10:19:32,812 - makeVideo - frame = 110 thisfps = 30.0 fps = 30 maxvideo = 0 minvideo = 5
          2023-12-30 10:19:36,442 - Thread-361 - !!!!! http call: {'displayStatus': ['true']} !!!!!
          2023-12-30 10:19:37,817 - terminate - ********* Waiting for makeVideo thread to finish *********
          2023-12-30 10:19:37,817 - terminate - makeVideo is not running
          2023-12-30 10:19:37,818 - terminate - nextAction is available
          2023-12-30 10:19:37,818 - terminate - ***** Cleaning up files for phase: terminate *****
          2023-12-30 10:19:37,904 - terminate - mainLoop is not running
          2023-12-30 10:19:37,943 - terminate - !!!!! http listener stopped !!!!!
          2023-12-30 10:19:37,944 - terminate - Program Terminated
          2023-12-30 10:19:37,945 - terminate - isPlugin ignored - only valid for SBC
          2023-12-30 10:19:37,945 - terminate - !!!!! Forced Termination !!!!!

          i did print a small part and got 100 pic but no video was made , how to turn that on to make a video at the end ? because i see only that i can press on snapshot before the end of the print , how do i change my setting to make a video at the end ? you see this in the log " make video is not running "

          another question how can i make the camera take a pic only when the head is moved to the postion in the config file

          -basedir /home/pi/DuetLapse
          -duet 10.0.1.126
          -port 8082
          -seconds 30
          -extratime 5
          -minvideo 3
          -maxvideo 30
          -pause yes
          -movehead 10 10
          -weburl1 http://10.0.1.110/stream
          -camera1 stream
          -detect layer
          -keepfiles
          Screenshot 2023-12-30 at 10.39.56 AM.png

          undefined 1 Reply Last reply 30 Dec 2023, 22:59 Reply Quote 0
          • undefined
            stuartofmt @sankafola
            last edited by 30 Dec 2023, 22:59

            @sankafola

            Again - please read the documentation.

            There is nothing wrong.

            2023-12-30 10:19:32,811 - makeVideo - Error: Camera1: Cannot create video shorter than 5 second(s).
            Length would have been 3.6666666666666665 second(s).

            You have video min duration set to 5 seconds.

            This is all explained in the documentation.

            I suspect that you also did not replace your M3291 macro with my original (which would explain the errors about M3291 (they are being handled in the code and are not affecting anything).

            undefined 1 Reply Last reply 31 Dec 2023, 00:37 Reply Quote 0
            • undefined
              sankafola @stuartofmt
              last edited by sankafola 31 Dec 2023, 00:37

              @stuartofmt

              I didn’t know that I need to edit the M3291 I will check that out

              One question is the editing of the M3291 will make the camera take the pic when the printer head is moved and paused or it’s another setting because I search for that part in the document but couldn’t find it

              i only want it to take the pic while the printer head is moved to postion as in the config and paused

              Thanks for your patience

              undefined 1 Reply Last reply 31 Dec 2023, 10:29 Reply Quote 0
              • undefined
                stuartofmt @sankafola
                last edited by 31 Dec 2023, 10:29

                @sankafola said in issues installing on PI 3 B+:

                @stuartofmt

                I didn’t know that I need to edit the M3291 I will check that out

                One question is the editing of the M3291 will make the camera take the pic when the printer head is moved and paused or it’s another setting because I search for that part in the document but couldn’t find it

                i only want it to take the pic while the printer head is moved to postion as in the config and paused

                Thanks for your patience

                You must not edit the M3291 macro. Just replace the version you made with the one in github. There is something wrong with your edited version (perhaps the name - perhaps something else)

                To move the head to a given position before taking the picture - read the section about -detect -pause and -movehead .

                There is also an example in the useage examples documentation.

                undefined 1 Reply Last reply 31 Dec 2023, 14:30 Reply Quote 0
                • undefined
                  sankafola @stuartofmt
                  last edited by 31 Dec 2023, 14:30

                  @stuartofmt

                  happy new year

                  1-i copied the M3291 macro from the post you made if you have a link to download it from github please provide
                  2-so the normal operation is the cam will take let say 100 pic and at the end it will make a mp4 video , what setting in the duetlapse.config that ask for that ?
                  minivideo and max video ?
                  3-am able to move the head and pause no issue but the camera takes the pic not while the head in pause or moved to the place i asked to be moved to its random so i wonder if am missing a setting in the config

                  -basedir /home/pi/DuetLapse
                  -duet 10.0.1.126
                  -port 8082
                  -seconds 30
                  -extratime 500
                  -minvideo 3
                  -maxvideo 30
                  -pause yes
                  -movehead 10 10
                  -weburl1 http://10.0.1.110/stream
                  -camera1 stream
                  -detect layer
                  -keepfiles

                  undefined 1 Reply Last reply 1 Jan 2024, 10:39 Reply Quote 0
                  • undefined
                    stuartofmt @sankafola
                    last edited by 1 Jan 2024, 10:39

                    @sankafola

                    I do not mean to be rude, so please do not take it that way but:

                    The last few weeks started out because you jumped into the middle of an installation without reading the instructions.

                    https://github.com/stuartofmt/DuetLapse3/blob/main/Documents/Getting Started.md

                    In particular (1) trying to install on an unsupported release and (2) not following the pre-installation checks. As it turned out, the plugin version (the only version tested on 3.5 beta of the software) works, without change, on a standalone setup.

                    The weeks in between have been a mix of "jumping around" and, to be fair, wresting to get some of the 3rd party software libraries installed but again, this is covered in the installation instructions.

                    To be successful with this sort of software, you need to be methodical and avoid "spot reading". I have put a lot of time and effort into the documentation and appreciate feedback where it is unclea, outdated or requires editing. That way, together, we can make it better. What I cannot do is "read" it for you.

                    Please read through documentation, then if anything is unclear, report that and I can improve the documentation for everyone.

                    Answers below:

                    1-i copied the M3291 macro from the post you made if you have a link to download it from github please provide

                    Have a look in this document (its elsewhere as well but this will explain what M3291 is about)
                    https://github.com/stuartofmt/DuetLapse3/blob/main/Documents/Controlling with gcode.md

                    2-so the normal operation is the cam will take let say 100 pic and at the end it will make a mp4 video , what setting in the duetlapse.config that ask for that ?
                    minivideo and max video ?

                    The answer is in the documentation.
                    https://github.com/stuartofmt/DuetLapse3/blob/main/Documents/DuetLapse3.md

                    3-am able to move the head and pause no issue but the camera takes the pic not while the head in pause or moved to the place i asked to be moved to its random so i wonder if am missing a setting in the config

                    The answer is in the documentation.
                    https://github.com/stuartofmt/DuetLapse3/blob/main/Documents/DuetLapse3.md

                    -basedir /home/pi/DuetLapse
                    -duet 10.0.1.126
                    -port 8082
                    -seconds 30
                    -extratime 500
                    -minvideo 3
                    -maxvideo 30
                    -pause yes
                    -movehead 10 10
                    -weburl1 http://10.0.1.110/stream
                    -camera1 stream
                    -detect layer
                    -keepfiles

                    undefined 1 Reply Last reply 1 Jan 2024, 20:08 Reply Quote 1
                    • undefined
                      sankafola @stuartofmt
                      last edited by 1 Jan 2024, 20:08

                      @stuartofmt

                      ok thanks

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