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.
    • sankafolaundefined
      sankafola
      last edited by sankafola

      Re: DuetLapse3
      hi @stuartofmt am trying to install the DuetLapse on the PI 3 , am on this step
      wget https://github.com/stuartofmt/DuetLapse3/raw/main/DuetLapse3.py

      but i get this error
      2023-12-18-092823_655x417_scrot.png

      and if i do this like that
      wget https://github.com/stuartofmt/DuetLapse3/raw/main/DuetLapse3

      2023-12-18-093137_655x417_scrot.png

      and i find only one file in the DuetLapse dir
      which is DuetLapse3

      so i add to it the DuetLapse.config
      2023-12-18-093342_900x600_scrot.png

      then try to install like that
      2023-12-18-093459_655x417_scrot.png

      but i get this error

      2023-12-18-093531_655x417_scrot.png

      update
      i placed the DuetLapse3.py in the folder which i took from the ver 5.3 and i put this config with it

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

      and it seem to run but it terminate

      2023-12-18-121051_1023x929_scrot.png

      what am i doing wrong now ?

      and am getting this error in the DWC
      2023-12-18-133956_837x123_scrot.png

      updated the macro to fix the spaces and now getting this

      2023-12-18-153008_770x738_scrot.png

      and the DWC

      2023-12-18-153027_880x301_scrot.png

      stuartofmtundefined 1 Reply Last reply Reply Quote 0
      • stuartofmtundefined
        stuartofmt @sankafola
        last edited by

        @sankafola

        I can help you but I need some information.

        1. Are you trying to install on a Pi that is used in SBC mode with a Duet3d board?
        2. What version of Duet are you using?
        3. What Duet3d board ?
        4. What version of Raspberry Pi are you using?
        sankafolaundefined 1 Reply Last reply Reply Quote 0
        • sankafolaundefined
          sankafola @stuartofmt
          last edited by sankafola

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

          Are you trying to install on a Pi that is used in SBC mode with a Duet3d board?
          What version of Duet are you using?
          What Duet3d board ?
          What version of Raspberry Pi are you using?

          hi , here are the answers

          Are you trying to install on a Pi that is used in SBC mode with a Duet3d board? not SBC mode am trying to do a standalone on pi 3 b+
          What version of Duet are you using? 3.5.0-rc.1+102
          What Duet3d board ? am using SKR PRO on a predator
          What version of Raspberry Pi are you using? PI 3 B+

          and i just noticed the file i copied was from the plugin 3.5 do i need to copy the one under 3.4 release instead ?

          when i do that i get this

          2023-12-18-165516_800x761_scrot.png

          But the interface don’t open at 10.0.1.126:8082 it says refused connection

          stuartofmtundefined 1 Reply Last reply Reply Quote 0
          • stuartofmtundefined
            stuartofmt @sankafola
            last edited by

            @sankafola

            Hi -
            A couple of things.
            1- I have not released a standalone version for 3.5.0-rc.1 yet only the plug-in for SBC. The reason is because (a) it’s still a beta release and (b) I don’t have a standalone version to test with.

            Having said that, the 3.5.0-Rc.1 version should work.
            As you saw - the 3.4 version fails a version comparison test (this is expected).

            I’m happy to work with you but you need to only use the 3.5.0-rc.1 version.

            Please install that version, set -verbose in the config file and post a complete log file. That way we can see what’s happening in detail.

            As an aside - I see that you have a low voltage warning. This is common for raspberry pi’s with a power supply that is not adequate. It’s best to fix that as it can cause all sorts of strange behavior.

            sankafolaundefined 1 Reply Last reply Reply Quote 0
            • sankafolaundefined
              sankafola @stuartofmt
              last edited by sankafola

              @stuartofmt
              hi , yes i will fix that issue , in the sametime i want to show you what i have now
              2023-12-18-213726_484x264_scrot.png

              the printer is running but no video maybe at the end ?
              here is the other screens

              you notice in this one it says connected and down it says printer not connected !!

              startup log
              2023-12-18 21:36:32,175 - MainThread - DuetLapse3 Version --- 5.2.3
              2023-12-18 21:36:32,176 - MainThread - Process Id --- 3529
              2023-12-18 21:36:32,177 - MainThread - -------------------------------------------------------------------------------

              2023-12-18 21:36:32,179 - MainThread - dontwait has been changed to True
              2023-12-18 21:36:32,180 - MainThread - ################### Options at start of this print job #####################
              2023-12-18 21:36:32,182 - MainThread - # Environment
              2023-12-18 21:36:32,183 - MainThread - -duet = 10.0.1.126
              2023-12-18 21:36:32,184 - MainThread - -basedir = /home/pi/DuetLapse
              2023-12-18 21:36:32,185 - MainThread - -poll = 10
              2023-12-18 21:36:32,186 - MainThread - -instances = single
              2023-12-18 21:36:32,187 - MainThread - -logtype = both
              2023-12-18 21:36:32,188 - MainThread - -nolog = False
              2023-12-18 21:36:32,188 - MainThread - -verbose = False
              2023-12-18 21:36:32,189 - MainThread - -host = 0.0.0.0
              2023-12-18 21:36:32,190 - MainThread - -port = 8082
              2023-12-18 21:36:32,190 - MainThread - -keeplogs = False
              2023-12-18 21:36:32,191 - MainThread - -novideo = False
              2023-12-18 21:36:32,192 - MainThread - -deletepics = False
              2023-12-18 21:36:32,192 - MainThread - -maxffmpeg = 2
              2023-12-18 21:36:32,193 - MainThread - -keepfiles = False
              2023-12-18 21:36:32,194 - MainThread - # Execution
              2023-12-18 21:36:32,195 - MainThread - -dontwait = True
              2023-12-18 21:36:32,195 - MainThread - -seconds = 30
              2023-12-18 21:36:32,196 - MainThread - -detect = none
              2023-12-18 21:36:32,197 - MainThread - -pause = no
              2023-12-18 21:36:32,198 - MainThread - -movehead = [0, 0]
              2023-12-18 21:36:32,199 - MainThread - -rest = 1
              2023-12-18 21:36:32,200 - MainThread - -standby = False
              2023-12-18 21:36:32,201 - MainThread - -restart = False
              2023-12-18 21:36:32,201 - MainThread - # Camera
              2023-12-18 21:36:32,202 - MainThread - -camera1 = stream
              2023-12-18 21:36:32,203 - MainThread - -camera2
              2023-12-18 21:36:32,203 - MainThread - -weburl1 = http://10.0.1.110/stream
              2023-12-18 21:36:32,204 - MainThread - -weburl2
              2023-12-18 21:36:32,205 - MainThread - # Video
              2023-12-18 21:36:32,206 - MainThread - -extratime = 0
              2023-12-18 21:36:32,207 - MainThread - -fps = 10
              2023-12-18 21:36:32,208 - MainThread - -minvideo = 5
              2023-12-18 21:36:32,209 - MainThread - -maxvideo = 0
              2023-12-18 21:36:32,211 - MainThread - # Overrides
              2023-12-18 21:36:32,212 - MainThread - -camparam1
              2023-12-18 21:36:32,213 - MainThread - -camparam2
              2023-12-18 21:36:32,214 - MainThread - -vidparam1
              2023-12-18 21:36:32,215 - MainThread - -vidparam2
              2023-12-18 21:36:32,216 - MainThread - # UI
              2023-12-18 21:36:32,218 - MainThread - -hidebuttons = False
              2023-12-18 21:36:32,219 - MainThread - # Special Functions
              2023-12-18 21:36:32,220 - MainThread - -execkey
              2023-12-18 21:36:32,221 - MainThread - -----------------------------------------------------------------------

              2023-12-18 21:36:32,223 - MainThread - ************************************************************************************
              2023-12-18 21:36:32,224 - MainThread - Warning: -seconds 30 and -detect none
              2023-12-18 21:36:32,225 - MainThread - This combination implies -dontwait and will be set automatically
              2023-12-18 21:36:32,226 - MainThread - ************************************************************************************

              2023-12-18 21:36:32,229 - MainThread - ##########################################################
              2023-12-18 21:36:32,230 - MainThread - Will start capturing images immediately
              2023-12-18 21:36:32,231 - MainThread - ##########################################################

              2023-12-18 21:36:32,232 - MainThread - ##########################################################
              2023-12-18 21:36:32,233 - MainThread - Video will be created when printing ends
              2023-12-18 21:36:32,233 - MainThread - or if requested from the UI or M291 "DuetLapse3.completed" S2
              2023-12-18 21:36:32,234 - MainThread - ##########################################################

              2023-12-18 21:36:32,235 - MainThread - ##########################################################
              2023-12-18 21:36:32,236 - MainThread - If running from a console using the command line
              2023-12-18 21:36:32,236 - MainThread - Press Ctrl+C one time to stop the program and create a video.
              2023-12-18 21:36:32,237 - MainThread - ##########################################################

              2023-12-18 21:36:32,240 - MainThread - ##########################################################
              2023-12-18 21:36:32,242 - MainThread - ***** Started http listener *****
              2023-12-18 21:36:32,243 - MainThread - ##########################################################

              2023-12-18 21:36:32,245 - MainThread - Logging in to Printer
              2023-12-18 21:36:32,470 - MainThread - !!!!! Checking for firmware version 3.4 !!!!!
              2023-12-18 21:36:32,525 - MainThread - ###############################################################
              2023-12-18 21:36:32,527 - MainThread - The printer at 10.0.1.126 needs to be at version 3.4
              2023-12-18 21:36:32,528 - MainThread - The version on this printer is 3.5.0-rc.1+102
              2023-12-18 21:36:32,529 - MainThread - ###############################################################

              2023-12-18-214107_514x279_scrot.png
              2023-12-18-214329_557x152_scrot.png

              2023-12-18-215530_387x307_scrot.png

              i just saw that you want me to use the ver 3.5 do you mean the DuetLapse3.py under the folder plugin 3.5 ? which was giving me errors before ? so now i did and i added the -vebrose here is the log file

              2023-12-19 06:44:19,549 - MainThread - DuetLapse3 Version --- 5.3.3
              2023-12-19 06:44:19,549 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
              2023-12-19 06:44:19,550 - MainThread - Process Id --- 3042
              2023-12-19 06:44:19,551 - MainThread - -------------------------------------------------------------------------------

              2023-12-19 06:44:19,552 - MainThread - seconds has been changed to 30
              2023-12-19 06:44:19,553 - MainThread - poll has been changed to 10
              2023-12-19 06:44:19,554 - MainThread - dontwait has been changed to True
              2023-12-19 06:44:19,556 - MainThread - ################### Options at start of this print job #####################
              2023-12-19 06:44:19,557 - MainThread - # Simulate
              2023-12-19 06:44:19,557 - MainThread - -simulate = off
              2023-12-19 06:44:19,558 - MainThread - # Environment
              2023-12-19 06:44:19,558 - MainThread - -duet = 10.0.1.126
              2023-12-19 06:44:19,559 - MainThread - -password = reprap
              2023-12-19 06:44:19,559 - MainThread - -basedir = /home/pi/DuetLapse
              2023-12-19 06:44:19,560 - MainThread - -poll = 10
              2023-12-19 06:44:19,561 - MainThread - -instances = single
              2023-12-19 06:44:19,561 - MainThread - -logtype = both
              2023-12-19 06:44:19,562 - MainThread - -nolog = False
              2023-12-19 06:44:19,562 - MainThread - -verbose = True
              2023-12-19 06:44:19,563 - MainThread - -host = 0.0.0.0
              2023-12-19 06:44:19,563 - MainThread - -port = 8082
              2023-12-19 06:44:19,564 - MainThread - -keeplogs = False
              2023-12-19 06:44:19,564 - MainThread - -novideo = False
              2023-12-19 06:44:19,565 - MainThread - -deletepics = False
              2023-12-19 06:44:19,566 - MainThread - -maxffmpeg = 2
              2023-12-19 06:44:19,566 - MainThread - -keepfiles = False
              2023-12-19 06:44:19,567 - MainThread - # Execution
              2023-12-19 06:44:19,567 - MainThread - -dontwait = True
              2023-12-19 06:44:19,568 - MainThread - -seconds = 30
              2023-12-19 06:44:19,569 - MainThread - -detect = none
              2023-12-19 06:44:19,569 - MainThread - -pause = no
              2023-12-19 06:44:19,570 - MainThread - -numlayers = 1
              2023-12-19 06:44:19,570 - MainThread - -movehead = [0, 0]
              2023-12-19 06:44:19,571 - MainThread - -rest = 1
              2023-12-19 06:44:19,572 - MainThread - -standby = False
              2023-12-19 06:44:19,572 - MainThread - -restart = False
              2023-12-19 06:44:19,573 - MainThread - # Camera
              2023-12-19 06:44:19,574 - MainThread - -camera1 = stream
              2023-12-19 06:44:19,574 - MainThread - -camera2
              2023-12-19 06:44:19,575 - MainThread - -weburl1 = http://10.0.1.110/stream
              2023-12-19 06:44:19,575 - MainThread - -weburl2
              2023-12-19 06:44:19,576 - MainThread - # Video
              2023-12-19 06:44:19,577 - MainThread - -extratime = 0
              2023-12-19 06:44:19,577 - MainThread - -fps = 10
              2023-12-19 06:44:19,578 - MainThread - -minvideo = 5
              2023-12-19 06:44:19,578 - MainThread - -maxvideo = 0
              2023-12-19 06:44:19,579 - MainThread - # Overrides
              2023-12-19 06:44:19,579 - MainThread - -camparam1
              2023-12-19 06:44:19,580 - MainThread - -camparam2
              2023-12-19 06:44:19,580 - MainThread - -vidparam1
              2023-12-19 06:44:19,581 - MainThread - -vidparam2
              2023-12-19 06:44:19,581 - MainThread - # UI
              2023-12-19 06:44:19,582 - MainThread - -hidebuttons = False
              2023-12-19 06:44:19,583 - MainThread - # Special Functions
              2023-12-19 06:44:19,583 - MainThread - -execkey
              2023-12-19 06:44:19,584 - MainThread - -M3291 = M3291
              2023-12-19 06:44:19,584 - MainThread - -----------------------------------------------------------------------

              2023-12-19 06:44:19,585 - MainThread - ************************************************************************************
              2023-12-19 06:44:19,586 - MainThread - Warning: -seconds 30 and -detect none
              2023-12-19 06:44:19,586 - MainThread - This combination implies -dontwait and will be set automatically
              2023-12-19 06:44:19,587 - MainThread - ************************************************************************************

              2023-12-19 06:44:19,589 - MainThread - ##########################################################
              2023-12-19 06:44:19,590 - MainThread - Will start capturing images immediately
              2023-12-19 06:44:19,591 - MainThread - ##########################################################

              2023-12-19 06:44:19,592 - MainThread - ##########################################################
              2023-12-19 06:44:19,593 - MainThread - Video will be created when printing ends
              2023-12-19 06:44:19,593 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
              2023-12-19 06:44:19,594 - MainThread - ##########################################################

              2023-12-19 06:44:19,596 - MainThread - ##########################################################
              2023-12-19 06:44:19,597 - MainThread - If running from a console using the command line
              2023-12-19 06:44:19,597 - MainThread - Press Ctrl+C one time to stop the program and create a video.
              2023-12-19 06:44:19,598 - MainThread - ##########################################################

              2023-12-19 06:44:19,599 - MainThread - ***** Initializing state and counters *****
              2023-12-19 06:44:19,602 - MainThread - ##########################################################
              2023-12-19 06:44:19,603 - MainThread - ***** Started http listener *****
              2023-12-19 06:44:19,604 - MainThread - ##########################################################

              2023-12-19 06:44:19,604 - MainThread - Logging in to Printer
              2023-12-19 06:44:19,605 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
              2023-12-19 06:44:19,931 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
              2023-12-19 06:44:20,289 - MainThread - !!!!! Connected to printer Standalone !!!!!
              2023-12-19 06:44:20,290 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
              2023-12-19 06:44:20,291 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
              2023-12-19 06:44:20,326 - MainThread - ###############################################################
              2023-12-19 06:44:20,327 - MainThread - Connected to printer at 10.0.1.126
              2023-12-19 06:44:20,328 - MainThread - Using Duet version 3.5.0-rc.1+102
              2023-12-19 06:44:20,328 - MainThread - Using API interface rr_model
              2023-12-19 06:44:20,329 - MainThread - ###############################################################

              2023-12-19 06:44:20,330 - MainThread - isPlugin ignored - only valid for SBC
              2023-12-19 06:44:20,331 - MainThread - Initializing DL3msg queue
              2023-12-19 06:44:20,332 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
              2023-12-19 06:44:20,386 - mainLoop - ###########################
              2023-12-19 06:44:20,387 - MainThread - Initiating with action set to start
              2023-12-19 06:44:20,387 - mainLoop - Starting mainLoop
              2023-12-19 06:44:20,388 - MainThread - Calling nextaction start from main --> startup --> nextAction
              2023-12-19 06:44:20,389 - mainLoop - ###########################

              2023-12-19 06:44:20,390 - MainThread - ++++++ start state requested ++++++
              2023-12-19 06:44:20,390 - mainLoop - Calling Status from run --> mainLoop --> getDuet
              2023-12-19 06:44:20,391 - MainThread - nextAction requested stopCaptureLoop
              2023-12-19 06:44:20,392 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
              2023-12-19 06:44:20,392 - MainThread - captureLoop is not running
              2023-12-19 06:44:20,400 - MainThread - nextAction satisfied waitforCaptureLoop
              2023-12-19 06:44:20,409 - MainThread - ++++++ Determining next logical action ++++++
              2023-12-19 06:44:20,411 - MainThread - ++++++ Entering start state ++++++
              2023-12-19 06:44:20,412 - MainThread - nextAction exiting normally
              2023-12-19 06:44:20,435 - mainLoop - Status is idle
              2023-12-19 06:44:20,437 - mainLoop - !!!!! UNRECOVERABLE ERROR ENCOUNTERED IN MAIN LOOP -- 'global'
              2023-12-19 06:44:20,437 - mainLoop - !!!!! Forced Termination !!!!!

              sankafolaundefined 1 Reply Last reply Reply Quote 0
              • sankafolaundefined
                sankafola @sankafola
                last edited by

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

                @stuartofmt now am running the 5.3 file which i found in the plugin dir 5.3 see the log below
                2023-12-19 10:37:31,784 - MainThread - DuetLapse3 Version --- 5.3.3
                2023-12-19 10:37:31,785 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
                2023-12-19 10:37:31,786 - MainThread - Process Id --- 2323
                2023-12-19 10:37:31,786 - MainThread - -------------------------------------------------------------------------------

                2023-12-19 10:37:31,787 - MainThread - seconds has been changed to 30
                2023-12-19 10:37:31,788 - MainThread - poll has been changed to 10
                2023-12-19 10:37:31,790 - MainThread - dontwait has been changed to True
                2023-12-19 10:37:31,791 - MainThread - ################### Options at start of this print job #####################
                2023-12-19 10:37:31,791 - MainThread - # Simulate
                2023-12-19 10:37:31,791 - MainThread - -simulate = off
                2023-12-19 10:37:31,792 - MainThread - # Environment
                2023-12-19 10:37:31,792 - MainThread - -duet = 10.0.1.126
                2023-12-19 10:37:31,792 - MainThread - -password = reprap
                2023-12-19 10:37:31,792 - MainThread - -basedir = /home/pi/DuetLapse
                2023-12-19 10:37:31,793 - MainThread - -poll = 10
                2023-12-19 10:37:31,793 - MainThread - -instances = single
                2023-12-19 10:37:31,793 - MainThread - -logtype = both
                2023-12-19 10:37:31,793 - MainThread - -nolog = False
                2023-12-19 10:37:31,794 - MainThread - -verbose = True
                2023-12-19 10:37:31,794 - MainThread - -host = 10.0.1.110
                2023-12-19 10:37:31,794 - MainThread - -port = 8082
                2023-12-19 10:37:31,794 - MainThread - -keeplogs = False
                2023-12-19 10:37:31,795 - MainThread - -novideo = False
                2023-12-19 10:37:31,795 - MainThread - -deletepics = False
                2023-12-19 10:37:31,795 - MainThread - -maxffmpeg = 2
                2023-12-19 10:37:31,795 - MainThread - -keepfiles = False
                2023-12-19 10:37:31,796 - MainThread - # Execution
                2023-12-19 10:37:31,796 - MainThread - -dontwait = True
                2023-12-19 10:37:31,796 - MainThread - -seconds = 30
                2023-12-19 10:37:31,797 - MainThread - -detect = none
                2023-12-19 10:37:31,797 - MainThread - -pause = no
                2023-12-19 10:37:31,797 - MainThread - -numlayers = 1
                2023-12-19 10:37:31,797 - MainThread - -movehead = [0, 0]
                2023-12-19 10:37:31,798 - MainThread - -rest = 1
                2023-12-19 10:37:31,798 - MainThread - -standby = False
                2023-12-19 10:37:31,798 - MainThread - -restart = False
                2023-12-19 10:37:31,798 - MainThread - # Camera
                2023-12-19 10:37:31,799 - MainThread - -camera1 = stream
                2023-12-19 10:37:31,799 - MainThread - -camera2
                2023-12-19 10:37:31,799 - MainThread - -weburl1 = http://10.0.1.110:8081
                2023-12-19 10:37:31,800 - MainThread - -weburl2
                2023-12-19 10:37:31,800 - MainThread - # Video
                2023-12-19 10:37:31,800 - MainThread - -extratime = 0
                2023-12-19 10:37:31,801 - MainThread - -fps = 10
                2023-12-19 10:37:31,801 - MainThread - -minvideo = 5
                2023-12-19 10:37:31,802 - MainThread - -maxvideo = 0
                2023-12-19 10:37:31,802 - MainThread - # Overrides
                2023-12-19 10:37:31,803 - MainThread - -camparam1
                2023-12-19 10:37:31,803 - MainThread - -camparam2
                2023-12-19 10:37:31,804 - MainThread - -vidparam1
                2023-12-19 10:37:31,804 - MainThread - -vidparam2
                2023-12-19 10:37:31,805 - MainThread - # UI
                2023-12-19 10:37:31,805 - MainThread - -hidebuttons = False
                2023-12-19 10:37:31,806 - MainThread - # Special Functions
                2023-12-19 10:37:31,806 - MainThread - -execkey
                2023-12-19 10:37:31,806 - MainThread - -M3291 = M3291
                2023-12-19 10:37:31,807 - MainThread - -----------------------------------------------------------------------

                2023-12-19 10:37:31,807 - MainThread - ************************************************************************************
                2023-12-19 10:37:31,808 - MainThread - Warning: -seconds 30 and -detect none
                2023-12-19 10:37:31,809 - MainThread - This combination implies -dontwait and will be set automatically
                2023-12-19 10:37:31,810 - MainThread - ************************************************************************************

                2023-12-19 10:37:31,815 - MainThread - ##########################################################
                2023-12-19 10:37:31,817 - MainThread - Will start capturing images immediately
                2023-12-19 10:37:31,819 - MainThread - ##########################################################

                2023-12-19 10:37:31,819 - MainThread - ##########################################################
                2023-12-19 10:37:31,820 - MainThread - Video will be created when printing ends
                2023-12-19 10:37:31,820 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
                2023-12-19 10:37:31,821 - MainThread - ##########################################################

                2023-12-19 10:37:31,821 - MainThread - ##########################################################
                2023-12-19 10:37:31,821 - MainThread - If running from a console using the command line
                2023-12-19 10:37:31,822 - MainThread - Press Ctrl+C one time to stop the program and create a video.
                2023-12-19 10:37:31,822 - MainThread - ##########################################################

                2023-12-19 10:37:31,822 - MainThread - ***** Initializing state and counters *****
                2023-12-19 10:37:31,853 - MainThread - ##########################################################
                2023-12-19 10:37:31,854 - MainThread - ***** Started http listener *****
                2023-12-19 10:37:31,854 - MainThread - ##########################################################

                2023-12-19 10:37:31,854 - MainThread - Logging in to Printer
                2023-12-19 10:37:31,855 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
                2023-12-19 10:37:35,005 - MainThread - Cannot connect to the printer

                2023-12-19 10:37:35,006 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75c87538>: Failed to establish a new connection: [Errno 113] No route to host'))
                2023-12-19 10:37:35,007 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                2023-12-19 10:37:36,008 - MainThread - 1 url: http://10.0.1.126/rr_disconnect post: False
                2023-12-19 10:37:37,761 - MainThread - Terminating because of Ctl + C (SIGINT)
                2023-12-19 10:37:37,762 - MainThread - !!!!! Forced Termination !!!!!

                and here is my config

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

                my printer is 10.0.1.126 and my pi is on 10.0.1.110

                sankafolaundefined 1 Reply Last reply Reply Quote 0
                • sankafolaundefined
                  sankafola @sankafola
                  last edited by sankafola

                  @stuartofmt

                  and here is my config

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

                  my printer is 10.0.1.126 and my pi is on 10.0.1.110

                  i tried to stop the printer and start it while the DuetPalse is running so it was running a bet no video

                  here is the log

                  2023-12-19 10:45:42,698 - MainThread - DuetLapse3 Version --- 5.3.3
                  2023-12-19 10:45:42,699 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
                  2023-12-19 10:45:42,699 - MainThread - Process Id --- 2856
                  2023-12-19 10:45:42,700 - MainThread - -------------------------------------------------------------------------------

                  2023-12-19 10:45:42,701 - MainThread - seconds has been changed to 30
                  2023-12-19 10:45:42,702 - MainThread - poll has been changed to 10
                  2023-12-19 10:45:42,703 - MainThread - dontwait has been changed to True
                  2023-12-19 10:45:42,704 - MainThread - ################### Options at start of this print job #####################
                  2023-12-19 10:45:42,705 - MainThread - # Simulate
                  2023-12-19 10:45:42,705 - MainThread - -simulate = off
                  2023-12-19 10:45:42,705 - MainThread - # Environment
                  2023-12-19 10:45:42,705 - MainThread - -duet = 10.0.1.126
                  2023-12-19 10:45:42,706 - MainThread - -password = reprap
                  2023-12-19 10:45:42,706 - MainThread - -basedir = /home/pi/DuetLapse
                  2023-12-19 10:45:42,706 - MainThread - -poll = 10
                  2023-12-19 10:45:42,706 - MainThread - -instances = single
                  2023-12-19 10:45:42,707 - MainThread - -logtype = both
                  2023-12-19 10:45:42,707 - MainThread - -nolog = False
                  2023-12-19 10:45:42,707 - MainThread - -verbose = True
                  2023-12-19 10:45:42,707 - MainThread - -host = 0.0.0.0
                  2023-12-19 10:45:42,708 - MainThread - -port = 8082
                  2023-12-19 10:45:42,708 - MainThread - -keeplogs = False
                  2023-12-19 10:45:42,708 - MainThread - -novideo = False
                  2023-12-19 10:45:42,708 - MainThread - -deletepics = False
                  2023-12-19 10:45:42,709 - MainThread - -maxffmpeg = 2
                  2023-12-19 10:45:42,709 - MainThread - -keepfiles = False
                  2023-12-19 10:45:42,709 - MainThread - # Execution
                  2023-12-19 10:45:42,709 - MainThread - -dontwait = True
                  2023-12-19 10:45:42,709 - MainThread - -seconds = 30
                  2023-12-19 10:45:42,710 - MainThread - -detect = none
                  2023-12-19 10:45:42,710 - MainThread - -pause = no
                  2023-12-19 10:45:42,710 - MainThread - -numlayers = 1
                  2023-12-19 10:45:42,710 - MainThread - -movehead = [0, 0]
                  2023-12-19 10:45:42,711 - MainThread - -rest = 1
                  2023-12-19 10:45:42,711 - MainThread - -standby = False
                  2023-12-19 10:45:42,711 - MainThread - -restart = False
                  2023-12-19 10:45:42,711 - MainThread - # Camera
                  2023-12-19 10:45:42,712 - MainThread - -camera1 = stream
                  2023-12-19 10:45:42,712 - MainThread - -camera2
                  2023-12-19 10:45:42,712 - MainThread - -weburl1 = http://10.0.1.110/stream
                  2023-12-19 10:45:42,712 - MainThread - -weburl2
                  2023-12-19 10:45:42,713 - MainThread - # Video
                  2023-12-19 10:45:42,713 - MainThread - -extratime = 0
                  2023-12-19 10:45:42,713 - MainThread - -fps = 10
                  2023-12-19 10:45:42,714 - MainThread - -minvideo = 5
                  2023-12-19 10:45:42,714 - MainThread - -maxvideo = 0
                  2023-12-19 10:45:42,714 - MainThread - # Overrides
                  2023-12-19 10:45:42,714 - MainThread - -camparam1
                  2023-12-19 10:45:42,715 - MainThread - -camparam2
                  2023-12-19 10:45:42,715 - MainThread - -vidparam1
                  2023-12-19 10:45:42,716 - MainThread - -vidparam2
                  2023-12-19 10:45:42,716 - MainThread - # UI
                  2023-12-19 10:45:42,716 - MainThread - -hidebuttons = False
                  2023-12-19 10:45:42,717 - MainThread - # Special Functions
                  2023-12-19 10:45:42,717 - MainThread - -execkey
                  2023-12-19 10:45:42,717 - MainThread - -M3291 = M3291
                  2023-12-19 10:45:42,717 - MainThread - -----------------------------------------------------------------------

                  2023-12-19 10:45:42,718 - MainThread - ************************************************************************************
                  2023-12-19 10:45:42,718 - MainThread - Warning: -seconds 30 and -detect none
                  2023-12-19 10:45:42,718 - MainThread - This combination implies -dontwait and will be set automatically
                  2023-12-19 10:45:42,718 - MainThread - ************************************************************************************

                  2023-12-19 10:45:42,720 - MainThread - ##########################################################
                  2023-12-19 10:45:42,720 - MainThread - Will start capturing images immediately
                  2023-12-19 10:45:42,721 - MainThread - ##########################################################

                  2023-12-19 10:45:42,721 - MainThread - ##########################################################
                  2023-12-19 10:45:42,722 - MainThread - Video will be created when printing ends
                  2023-12-19 10:45:42,722 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
                  2023-12-19 10:45:42,722 - MainThread - ##########################################################

                  2023-12-19 10:45:42,723 - MainThread - ##########################################################
                  2023-12-19 10:45:42,723 - MainThread - If running from a console using the command line
                  2023-12-19 10:45:42,723 - MainThread - Press Ctrl+C one time to stop the program and create a video.
                  2023-12-19 10:45:42,724 - MainThread - ##########################################################

                  2023-12-19 10:45:42,724 - MainThread - ***** Initializing state and counters *****
                  2023-12-19 10:45:42,727 - MainThread - ##########################################################
                  2023-12-19 10:45:42,729 - MainThread - ***** Started http listener *****
                  2023-12-19 10:45:42,731 - MainThread - ##########################################################

                  2023-12-19 10:45:42,733 - MainThread - Logging in to Printer
                  2023-12-19 10:45:42,736 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
                  2023-12-19 10:45:47,756 - MainThread - Cannot connect to the printer

                  2023-12-19 10:45:47,757 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d364a8>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
                  2023-12-19 10:45:47,758 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                  2023-12-19 10:45:48,760 - MainThread - 1 url: http://10.0.1.126/rr_disconnect post: False
                  2023-12-19 10:45:53,776 - MainThread - Cannot connect to the printer

                  2023-12-19 10:45:53,777 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d368c8>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
                  2023-12-19 10:45:53,778 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                  2023-12-19 10:45:54,780 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
                  2023-12-19 10:45:59,794 - MainThread - Cannot connect to the printer

                  2023-12-19 10:45:59,795 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_connect?password=reprap (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d36d60>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
                  2023-12-19 10:45:59,795 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                  2023-12-19 10:46:00,797 - MainThread - 1 url: http://10.0.1.126/rr_connect?password=reprap post: False
                  2023-12-19 10:46:05,812 - MainThread - Cannot connect to the printer

                  2023-12-19 10:46:05,813 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_connect?password=reprap (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7549b1a8>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
                  2023-12-19 10:46:05,814 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                  2023-12-19 10:46:06,816 - MainThread - !!!!! Could not connect. code = 9999 reason = Connection Error !!!!!
                  2023-12-19 10:46:06,816 - MainThread - 0 url: http://10.0.1.126/machine/disconnect post: False
                  2023-12-19 10:46:11,832 - MainThread - Cannot connect to the printer

                  2023-12-19 10:46:11,833 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /machine/disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7549b628>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
                  2023-12-19 10:46:11,833 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                  2023-12-19 10:46:12,836 - MainThread - 1 url: http://10.0.1.126/machine/disconnect post: False
                  2023-12-19 10:46:17,854 - MainThread - Cannot connect to the printer

                  2023-12-19 10:46:17,855 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /machine/disconnect (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x75d36f88>, 'Connection to 10.0.1.126 timed out. (connect timeout=5)'))
                  2023-12-19 10:46:17,855 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                  2023-12-19 10:46:18,857 - MainThread - 0 url: http://10.0.1.126/machine/connect?password=reprap post: False
                  2023-12-19 10:46:19,039 - MainThread - !!!!! Connected to SBC printer !!!!!
                  2023-12-19 10:46:44,088 - Thread-1 - !!!!! http call: {} !!!!!
                  2023-12-19 10:46:44,422 - Thread-2 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:46:54,357 - Thread-4 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:46:54,417 - Thread-5 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:46:56,365 - Thread-6 - !!!!! http call: {'displayControls': ['true']} !!!!!
                  2023-12-19 10:46:58,255 - Thread-7 - !!!!! http call: {'displayVideo': ['true']} !!!!!
                  2023-12-19 10:46:59,793 - Thread-8 - !!!!! http call: {'displayFiles': ['true']} !!!!!
                  2023-12-19 10:46:59,794 - Thread-8 - list_dir called with path = /home/pi/DuetLapse/raspberrypi/10-0-1-126
                  2023-12-19 10:46:59,795 - Thread-8 - Finished parsing the files directory
                  2023-12-19 10:47:01,597 - Thread-9 - !!!!! http call: {'displayInfo': ['true']} !!!!!
                  2023-12-19 10:47:11,116 - Thread-10 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:47:21,119 - Thread-11 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:47:29,449 - Thread-12 - !!!!! http call: {'displayFiles': ['true']} !!!!!
                  2023-12-19 10:47:29,450 - Thread-12 - list_dir called with path = /home/pi/DuetLapse/raspberrypi/10-0-1-126
                  2023-12-19 10:47:29,452 - Thread-12 - Finished parsing the files directory
                  2023-12-19 10:47:30,556 - Thread-13 - !!!!! http call: {'displayInfo': ['true']} !!!!!
                  2023-12-19 10:47:31,976 - Thread-14 - !!!!! http call: {'displayVideo': ['true']} !!!!!
                  2023-12-19 10:47:33,620 - Thread-15 - !!!!! http call: {'displayControls': ['true']} !!!!!
                  2023-12-19 10:47:36,322 - Thread-16 - !!!!! http call: {'command': ['restart']} !!!!!
                  2023-12-19 10:47:36,323 - Thread-16 - nextAction is available
                  2023-12-19 10:47:36,324 - nextAction - Calling nextaction restart from _bootstrap_inner --> run --> nextAction
                  2023-12-19 10:47:36,325 - nextAction - ++++++ restart state requested ++++++
                  2023-12-19 10:47:36,326 - nextAction - nextAction requested stopCaptureLoop
                  2023-12-19 10:47:36,327 - nextAction - captureLoop is not running
                  2023-12-19 10:47:36,327 - nextAction - nextAction satisfied waitforCaptureLoop
                  2023-12-19 10:47:36,328 - nextAction - nextaction aborted because connectionState is False
                  2023-12-19 10:47:38,880 - Thread-17 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:47:48,866 - Thread-18 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:47:49,996 - Thread-19 - !!!!! http call: {'displayControls': ['true']} !!!!!
                  2023-12-19 10:47:51,311 - Thread-20 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:48:01,378 - Thread-21 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:48:11,376 - Thread-22 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:48:21,374 - Thread-23 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:48:31,376 - Thread-24 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:48:41,373 - Thread-25 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:48:51,375 - Thread-26 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:49:50,376 - Thread-27 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:50:37,430 - Thread-28 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:50:38,026 - Thread-29 - !!!!! http call: {} !!!!!
                  2023-12-19 10:50:38,203 - Thread-30 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                  2023-12-19 10:50:41,892 - Thread-32 - !!!!! http call: {'displayControls': ['true']} !!!!!
                  2023-12-19 10:50:43,290 - Thread-33 - !!!!! http call: {'displayVideo': ['true']} !!!!!
                  2023-12-19 10:50:45,193 - Thread-34 - !!!!! http call: {'snapshot': ['true']} !!!!!
                  2023-12-19 10:50:47,790 - Thread-35 - !!!!! http call: {'displayVideo': ['true']} !!!!!
                  2023-12-19 10:50:49,861 - Thread-36 - !!!!! http call: {'displayFiles': ['true']} !!!!!
                  2023-12-19 10:50:49,862 - Thread-36 - list_dir called with path = /home/pi/DuetLapse/raspberrypi/10-0-1-126
                  2023-12-19 10:50:49,862 - Thread-36 - Finished parsing the files directory
                  2023-12-19 10:50:54,814 - Thread-37 - !!!!! http call: {'getfile': ['/home/pi/DuetLapse/raspberrypi/10-0-1-126/startup.log']} !!!!!
                  2023-12-19 10:50:54,815 - Thread-37 - Trying to get file /home/pi/DuetLapse/raspberrypi/10-0-1-126/startup.log
                  2023-12-19 10:50:54,874 - Thread-37 - application/octet-stream

                  2023-12-19-105430_493x322_scrot.png 2023-12-19-105416_541x280_scrot.png 2023-12-19-105402_388x314_scrot.png

                  bare in mind the following :

                  1-i dont have a password on the printer not sure why it says password is reprap
                  2-that was taking while the printer is printing
                  3-noticed this too in the log "SBC "
                  4-do i need to install motion ? i have ffmpeg installed

                  after it run 5 min then it give me same error again forced terminated

                  2023-12-19-110153_642x430_scrot.png

                  so basicly the DuetLapse runs while the printer is OFF when the printer comes online the !!! forced Termination !!! comes on

                  2023-12-19-112339_669x263_scrot.png

                  stuartofmtundefined 1 Reply Last reply Reply Quote 0
                  • stuartofmtundefined
                    stuartofmt @sankafola
                    last edited by stuartofmt

                    @sankafola
                    For clarity - we will be using Version 5.3.3 of DuetLapse3.py found here:

                    https://github.com/stuartofmt/DuetLapse3/blob/main/plugin 3.5.0-rc.1/dsf/DuetLapse3.py

                    This is what you have in the last logfile. So that part is good.

                    The default password is reprap - so that part is fine.

                    The printer should be on when DuetLapse starts. The Log indicates that this was not the case because it could not connect to the printer with:
                    http://10.0.1.126/rr_connect?password=reprap

                    I'm not sure why it reported success with the SBC connection. I will need to look into that (This is a symptom, not the problem).

                    The main problem is that it is not actually connecting to the printer.2023-12-19 10:47:36,328 - nextAction - nextaction aborted because connectionState is False

                    From a browser, with the printer on (it does not need to be printing) What output do you get from this url

                    http://10.0.1.126//rr_model?key=boards (this is just to check connectivity).

                    Are you successfully streaming the video from http://10.0.1.110/stream?

                    If you enter that url into a browser - do you see the video? If not then you need to resolve that issue.

                    Unfortunately - the screenshot of the log output when the error occured did not use -verbose

                    sankafolaundefined 1 Reply Last reply Reply Quote 0
                    • sankafolaundefined
                      sankafola @stuartofmt
                      last edited by sankafola

                      @stuartofmt

                      when i open http://10.0.1.126//rr_model?key=boards i get this

                      2023-12-19-133502_826x667_scrot.png

                      for the camera i dont get stream do i need to install , fswebcam and ffmpeg and motion and set it to 8081 ?

                      stuartofmtundefined 1 Reply Last reply Reply Quote 0
                      • stuartofmtundefined
                        stuartofmt @sankafola
                        last edited by

                        @sankafola

                        A couple of things I just noticed.

                        1. You are using an SKF PRO - not a Duet Board - correct ?.
                          Can you show me a screen shot of the object model with the following object:
                          boards

                        Does the Duet3d firmware support the SKF board ?

                        From a browser - what output do you get from:
                        http://10.0.1.126//machine/status

                        To stream video you need something to stream it. If you have not set up a streaming service, you can use something like motion or videostream
                        https://github.com/stuartofmt/videostream

                        sankafolaundefined 1 Reply Last reply Reply Quote 0
                        • sankafolaundefined
                          sankafola @stuartofmt
                          last edited by

                          @stuartofmt

                          1-am using the SKR PRO and yes running rerap

                          not sure about the object model but i do have a file under the system called boards.txt

                          // Board Hardware configuration file for SKR Pro
                          // generated by RepRapFirmware Configuration Tool (LPC Version) v3.1.10+1-LPC
                          // on Tue Dec 22 2020 13:55:26 GMT-0500 (Eastern Standard Time)

                          //Note: Each line should be less than 120 characters.
                          // : Unwanted options can be commented out or set to NoPin. Lines commented out will get default values
                          // : for pins the default is NoPin.
                          // : Values for Arrays need to be contained within { and }
                          // : Comments can be defined with // or # (comments are not supported inside arrays)
                          // : Each config entry must be all on a single line.

                          lpc.board = biquskrpro_1.1;

                          //LED blinks to indicate Platform is spinning or other diagnostic
                          //Comment out or set to NoPin if not wanted.
                          leds.diagnostic = NoPin;

                          //Internal SDCard SPI Frequency.
                          lpc.internalSDCard.spiFrequencyHz = 25000000;

                          //Only supports 1 External SDCard
                          //externalSDCard.csPin = NoPin;
                          //externalSDCard.cardDetectPin = NoPin;
                          //lpc.externalSDCard.spiFrequencyHz = 4000000;
                          //lpc.externalSDCard.spiChannel = 0;

                          heat.tempSensePins = {bedtemp, e0temp}; //Max of 3 entries
                          //heat.spiTempSensorCSPins = { }; //Max of 2 entries

                          //Analogue to Digital prefilter
                          adc.prefilter.enable = true

                          //ESP Settings
                          

                          //8266wifi.espDataReadyPin = A.8;
                          //8266wifi.lpcTfrReadyPin = G.4;
                          //8266wifi.espResetPin = F.12;
                          //ESP RX/TX Settings
                          //8266wifi.serialRxTxPins = { C.7, C.6 } ;
                          //serial.aux.rxTxPins = {NoPin, NoPin};
                          //serial.aux.rxTxPins = {PA.10, PA.9}

                          //WiFi pins
                          8266wifi.espDataReadyPin = PG_10
                          8266wifi.TfrReadyPin = PF_11
                          8266wifi.espResetPin = PF_12

                          //ESP32 RX/TX Settings
                          8266wifi.serialRxTxPins = { PD_9, PD_8 }
                          serial.aux.rxTxPins = { PA_10, PA_9 }
                          heat.tempSensePins = { PF_6, PF_3, PF_4, PF_5 }

                          			//TMC Smart Drivers
                          

                          stepper.numSmartDrivers = 4;
                          accelerometer.spiChannel = 2

                          //heat.spiTempSensorCSPins = {NoPin, NoPin, NoPin, NoPin, NoPin, NoPin, NoPin, NoPin}

                          as for the http://10.0.1.126//machine/status i get the same results as before which is above when i open the rr...

                          sankafolaundefined 1 Reply Last reply Reply Quote 0
                          • sankafolaundefined
                            sankafola @sankafola
                            last edited by

                            @stuartofmt
                            hi , some update

                            1-i fixed the video stream so i do have now http://10.0.1.110/stream giving a pic

                            the DuetLapse running a bet more now here is the log

                            2023-12-19 17:03:20,353 - MainThread - DuetLapse3 Version --- 5.3.3
                            2023-12-19 17:03:20,354 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
                            2023-12-19 17:03:20,354 - MainThread - Process Id --- 2393
                            2023-12-19 17:03:20,355 - MainThread - -------------------------------------------------------------------------------

                            2023-12-19 17:03:20,357 - MainThread - seconds has been changed to 30
                            2023-12-19 17:03:20,358 - MainThread - poll has been changed to 10
                            2023-12-19 17:03:20,360 - MainThread - dontwait has been changed to True
                            2023-12-19 17:03:20,361 - MainThread - ################### Options at start of this print job #####################
                            2023-12-19 17:03:20,361 - MainThread - # Simulate
                            2023-12-19 17:03:20,362 - MainThread - -simulate = off
                            2023-12-19 17:03:20,363 - MainThread - # Environment
                            2023-12-19 17:03:20,363 - MainThread - -duet = 10.0.1.126
                            2023-12-19 17:03:20,364 - MainThread - -password = reprap
                            2023-12-19 17:03:20,364 - MainThread - -basedir = /home/pi/DuetLapse
                            2023-12-19 17:03:20,364 - MainThread - -poll = 10
                            2023-12-19 17:03:20,364 - MainThread - -instances = single
                            2023-12-19 17:03:20,365 - MainThread - -logtype = both
                            2023-12-19 17:03:20,365 - MainThread - -nolog = False
                            2023-12-19 17:03:20,365 - MainThread - -verbose = True
                            2023-12-19 17:03:20,366 - MainThread - -host = 0.0.0.0
                            2023-12-19 17:03:20,366 - MainThread - -port = 8081
                            2023-12-19 17:03:20,366 - MainThread - -keeplogs = False
                            2023-12-19 17:03:20,366 - MainThread - -novideo = False
                            2023-12-19 17:03:20,367 - MainThread - -deletepics = False
                            2023-12-19 17:03:20,367 - MainThread - -maxffmpeg = 2
                            2023-12-19 17:03:20,367 - MainThread - -keepfiles = False
                            2023-12-19 17:03:20,367 - MainThread - # Execution
                            2023-12-19 17:03:20,368 - MainThread - -dontwait = True
                            2023-12-19 17:03:20,368 - MainThread - -seconds = 30
                            2023-12-19 17:03:20,368 - MainThread - -detect = none
                            2023-12-19 17:03:20,369 - MainThread - -pause = no
                            2023-12-19 17:03:20,369 - MainThread - -numlayers = 1
                            2023-12-19 17:03:20,369 - MainThread - -movehead = [0, 0]
                            2023-12-19 17:03:20,369 - MainThread - -rest = 1
                            2023-12-19 17:03:20,370 - MainThread - -standby = False
                            2023-12-19 17:03:20,370 - MainThread - -restart = False
                            2023-12-19 17:03:20,370 - MainThread - # Camera
                            2023-12-19 17:03:20,371 - MainThread - -camera1 = web
                            2023-12-19 17:03:20,371 - MainThread - -camera2
                            2023-12-19 17:03:20,371 - MainThread - -weburl1 = http://10.0.1.110/stream
                            2023-12-19 17:03:20,371 - MainThread - -weburl2
                            2023-12-19 17:03:20,372 - MainThread - # Video
                            2023-12-19 17:03:20,372 - MainThread - -extratime = 0
                            2023-12-19 17:03:20,372 - MainThread - -fps = 10
                            2023-12-19 17:03:20,373 - MainThread - -minvideo = 5
                            2023-12-19 17:03:20,374 - MainThread - -maxvideo = 0
                            2023-12-19 17:03:20,374 - MainThread - # Overrides
                            2023-12-19 17:03:20,374 - MainThread - -camparam1
                            2023-12-19 17:03:20,374 - MainThread - -camparam2
                            2023-12-19 17:03:20,375 - MainThread - -vidparam1
                            2023-12-19 17:03:20,375 - MainThread - -vidparam2
                            2023-12-19 17:03:20,375 - MainThread - # UI
                            2023-12-19 17:03:20,376 - MainThread - -hidebuttons = False
                            2023-12-19 17:03:20,376 - MainThread - # Special Functions
                            2023-12-19 17:03:20,376 - MainThread - -execkey
                            2023-12-19 17:03:20,377 - MainThread - -M3291 = M3291
                            2023-12-19 17:03:20,377 - MainThread - -----------------------------------------------------------------------

                            2023-12-19 17:03:20,378 - MainThread - ************************************************************************************
                            2023-12-19 17:03:20,378 - MainThread - Warning: -seconds 30 and -detect none
                            2023-12-19 17:03:20,379 - MainThread - This combination implies -dontwait and will be set automatically
                            2023-12-19 17:03:20,379 - MainThread - ************************************************************************************

                            2023-12-19 17:03:20,381 - MainThread - ##########################################################
                            2023-12-19 17:03:20,381 - MainThread - Will start capturing images immediately
                            2023-12-19 17:03:20,382 - MainThread - ##########################################################

                            2023-12-19 17:03:20,382 - MainThread - ##########################################################
                            2023-12-19 17:03:20,383 - MainThread - Video will be created when printing ends
                            2023-12-19 17:03:20,383 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
                            2023-12-19 17:03:20,384 - MainThread - ##########################################################

                            2023-12-19 17:03:20,384 - MainThread - ##########################################################
                            2023-12-19 17:03:20,384 - MainThread - If running from a console using the command line
                            2023-12-19 17:03:20,385 - MainThread - Press Ctrl+C one time to stop the program and create a video.
                            2023-12-19 17:03:20,386 - MainThread - ##########################################################

                            2023-12-19 17:03:20,386 - MainThread - ***** Initializing state and counters *****
                            2023-12-19 17:03:20,402 - MainThread - ##########################################################
                            2023-12-19 17:03:20,403 - MainThread - ***** Started http listener *****
                            2023-12-19 17:03:20,404 - MainThread - ##########################################################

                            2023-12-19 17:03:20,405 - MainThread - Logging in to Printer
                            2023-12-19 17:03:20,405 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
                            2023-12-19 17:03:23,554 - MainThread - Cannot connect to the printer

                            2023-12-19 17:03:23,555 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75cd3988>: Failed to establish a new connection: [Errno 113] No route to host'))
                            2023-12-19 17:03:23,555 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                            2023-12-19 17:03:24,557 - MainThread - 1 url: http://10.0.1.126/rr_disconnect post: False
                            2023-12-19 17:03:26,675 - MainThread - Cannot connect to the printer

                            2023-12-19 17:03:26,676 - MainThread - HTTPConnectionPool(host='10.0.1.126', port=80): Max retries exceeded with url: /rr_disconnect (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75cd3da8>: Failed to establish a new connection: [Errno 113] No route to host'))
                            2023-12-19 17:03:26,677 - MainThread - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                            2023-12-19 17:03:27,680 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
                            2023-12-19 17:03:28,415 - MainThread - Terminating because of Ctl + C (SIGINT)
                            2023-12-19 17:03:28,416 - MainThread - !!!!! Forced Termination !!!!!

                            stuartofmtundefined 1 Reply Last reply Reply Quote 0
                            • stuartofmtundefined
                              stuartofmt @sankafola
                              last edited by

                              @sankafola

                              I think you are out of luck.

                              Duetlapse3 was developed to run with duet hardware and firmware. Part of this means that it needs to support the DWC/ DSF api framework.
                              I’m away from my printer and test-bed. But it’s failing to log on and likely unable to resolve basic information from the object model.

                              If all is as it should be - you should have an object model menu item (left hand pane) in DWC and be able to get object model information.

                              There is not much I can do if this is not the case.

                              Maybe the SKF pro is fully supported. I do not know. Perhaps @T3P3Tony can clarify.

                              sankafolaundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
                              • sankafolaundefined
                                sankafola @stuartofmt
                                last edited by

                                @stuartofmt

                                no no dont give up i found it here it is i had to start a plugin to see it on the left

                                screen shot.jpg

                                now what i need to do ,

                                stuartofmtundefined 1 Reply Last reply Reply Quote 0
                                • stuartofmtundefined
                                  stuartofmt @sankafola
                                  last edited by

                                  @sankafola
                                  Great ! I can see now see that it should be returning a vaild version. The question is why it is not?

                                  Try this version. Its just got a bit more error checking in it.

                                  For this check:
                                  Make sure the printer is on but not printing.
                                  Start DuetLapse3 Make sure you are running with -verbose .
                                  Send me the log file.

                                  Something strange is happening with the connection to the printer. I need to understand what is happening.

                                  DuetLapse3.py

                                  sankafolaundefined 1 Reply Last reply Reply Quote 0
                                  • sankafolaundefined
                                    sankafola @stuartofmt
                                    last edited by sankafola

                                    @stuartofmt
                                    hi , the printer is on not printing , the 10.0.1.110:8082 not opening

                                    2023-12-20 07:53:33,364 - MainThread - DuetLapse3 Version --- 5.3.4
                                    2023-12-20 07:53:33,365 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
                                    2023-12-20 07:53:33,366 - MainThread - Process Id --- 3438
                                    2023-12-20 07:53:33,366 - MainThread - -------------------------------------------------------------------------------

                                    2023-12-20 07:53:33,368 - MainThread - seconds has been changed to 30
                                    2023-12-20 07:53:33,369 - MainThread - poll has been changed to 10
                                    2023-12-20 07:53:33,370 - MainThread - dontwait has been changed to True
                                    2023-12-20 07:53:33,371 - MainThread - ################### Options at start of this print job #####################
                                    2023-12-20 07:53:33,372 - MainThread - # Simulate
                                    2023-12-20 07:53:33,373 - MainThread - -simulate = off
                                    2023-12-20 07:53:33,373 - MainThread - # Environment
                                    2023-12-20 07:53:33,374 - MainThread - -duet = 10.0.1.126
                                    2023-12-20 07:53:33,375 - MainThread - -password = reprap
                                    2023-12-20 07:53:33,375 - MainThread - -basedir = /home/pi/DuetLapse
                                    2023-12-20 07:53:33,376 - MainThread - -poll = 10
                                    2023-12-20 07:53:33,377 - MainThread - -instances = single
                                    2023-12-20 07:53:33,377 - MainThread - -logtype = both
                                    2023-12-20 07:53:33,378 - MainThread - -nolog = False
                                    2023-12-20 07:53:33,379 - MainThread - -verbose = True
                                    2023-12-20 07:53:33,379 - MainThread - -host = 0.0.0.0
                                    2023-12-20 07:53:33,380 - MainThread - -port = 8082
                                    2023-12-20 07:53:33,381 - MainThread - -keeplogs = False
                                    2023-12-20 07:53:33,382 - MainThread - -novideo = False
                                    2023-12-20 07:53:33,383 - MainThread - -deletepics = False
                                    2023-12-20 07:53:33,383 - MainThread - -maxffmpeg = 2
                                    2023-12-20 07:53:33,384 - MainThread - -keepfiles = False
                                    2023-12-20 07:53:33,384 - MainThread - # Execution
                                    2023-12-20 07:53:33,385 - MainThread - -dontwait = True
                                    2023-12-20 07:53:33,386 - MainThread - -seconds = 30
                                    2023-12-20 07:53:33,386 - MainThread - -detect = none
                                    2023-12-20 07:53:33,387 - MainThread - -pause = no
                                    2023-12-20 07:53:33,387 - MainThread - -numlayers = 1
                                    2023-12-20 07:53:33,388 - MainThread - -movehead = [0, 0]
                                    2023-12-20 07:53:33,389 - MainThread - -rest = 1
                                    2023-12-20 07:53:33,389 - MainThread - -standby = False
                                    2023-12-20 07:53:33,390 - MainThread - -restart = False
                                    2023-12-20 07:53:33,391 - MainThread - # Camera
                                    2023-12-20 07:53:33,391 - MainThread - -camera1 = stream
                                    2023-12-20 07:53:33,393 - MainThread - -camera2
                                    2023-12-20 07:53:33,393 - MainThread - -weburl1 = http://10.0.1.110/stream
                                    2023-12-20 07:53:33,394 - MainThread - -weburl2
                                    2023-12-20 07:53:33,395 - MainThread - # Video
                                    2023-12-20 07:53:33,395 - MainThread - -extratime = 0
                                    2023-12-20 07:53:33,396 - MainThread - -fps = 10
                                    2023-12-20 07:53:33,396 - MainThread - -minvideo = 5
                                    2023-12-20 07:53:33,397 - MainThread - -maxvideo = 0
                                    2023-12-20 07:53:33,398 - MainThread - # Overrides
                                    2023-12-20 07:53:33,398 - MainThread - -camparam1
                                    2023-12-20 07:53:33,399 - MainThread - -camparam2
                                    2023-12-20 07:53:33,399 - MainThread - -vidparam1
                                    2023-12-20 07:53:33,401 - MainThread - -vidparam2
                                    2023-12-20 07:53:33,402 - MainThread - # UI
                                    2023-12-20 07:53:33,403 - MainThread - -hidebuttons = False
                                    2023-12-20 07:53:33,404 - MainThread - # Special Functions
                                    2023-12-20 07:53:33,405 - MainThread - -execkey
                                    2023-12-20 07:53:33,407 - MainThread - -M3291 = M3291
                                    2023-12-20 07:53:33,408 - MainThread - -----------------------------------------------------------------------

                                    2023-12-20 07:53:33,409 - MainThread - ************************************************************************************
                                    2023-12-20 07:53:33,410 - MainThread - Warning: -seconds 30 and -detect none
                                    2023-12-20 07:53:33,411 - MainThread - This combination implies -dontwait and will be set automatically
                                    2023-12-20 07:53:33,412 - MainThread - ************************************************************************************

                                    2023-12-20 07:53:33,416 - MainThread - ##########################################################
                                    2023-12-20 07:53:33,417 - MainThread - Will start capturing images immediately
                                    2023-12-20 07:53:33,418 - MainThread - ##########################################################

                                    2023-12-20 07:53:33,419 - MainThread - ##########################################################
                                    2023-12-20 07:53:33,419 - MainThread - Video will be created when printing ends
                                    2023-12-20 07:53:33,421 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
                                    2023-12-20 07:53:33,422 - MainThread - ##########################################################

                                    2023-12-20 07:53:33,422 - MainThread - ##########################################################
                                    2023-12-20 07:53:33,422 - MainThread - If running from a console using the command line
                                    2023-12-20 07:53:33,423 - MainThread - Press Ctrl+C one time to stop the program and create a video.
                                    2023-12-20 07:53:33,423 - MainThread - ##########################################################

                                    2023-12-20 07:53:33,423 - MainThread - ***** Initializing state and counters *****
                                    2023-12-20 07:53:33,425 - MainThread - ##########################################################
                                    2023-12-20 07:53:33,426 - MainThread - ***** Started http listener *****
                                    2023-12-20 07:53:33,426 - MainThread - ##########################################################

                                    2023-12-20 07:53:33,427 - MainThread - Logging in to Printer
                                    2023-12-20 07:53:33,427 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
                                    2023-12-20 07:53:33,486 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
                                    2023-12-20 07:53:33,522 - MainThread - !!!!! Connected to printer Standalone !!!!!
                                    2023-12-20 07:53:33,523 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
                                    2023-12-20 07:53:33,524 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
                                    2023-12-20 07:53:33,545 - MainThread - Version Check returned --> 3.5.0-rc.1+102
                                    2023-12-20 07:53:33,545 - MainThread - ###############################################################
                                    2023-12-20 07:53:33,546 - MainThread - Connected to printer at 10.0.1.126
                                    2023-12-20 07:53:33,546 - MainThread - Using Duet version 3.5.0-rc.1+102
                                    2023-12-20 07:53:33,546 - MainThread - Using API interface rr_model
                                    2023-12-20 07:53:33,547 - MainThread - ###############################################################

                                    2023-12-20 07:53:33,547 - MainThread - isPlugin ignored - only valid for SBC
                                    2023-12-20 07:53:33,547 - MainThread - Initializing DL3msg queue
                                    2023-12-20 07:53:33,547 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
                                    2023-12-20 07:53:33,578 - mainLoop - ###########################
                                    2023-12-20 07:53:33,579 - mainLoop - Starting mainLoop
                                    2023-12-20 07:53:33,579 - MainThread - Initiating with action set to start
                                    2023-12-20 07:53:33,579 - mainLoop - ###########################

                                    2023-12-20 07:53:33,580 - MainThread - Calling nextaction start from main --> startup --> nextAction
                                    2023-12-20 07:53:33,580 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:53:33,581 - MainThread - ++++++ start state requested ++++++
                                    2023-12-20 07:53:33,581 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:53:33,581 - MainThread - nextAction requested stopCaptureLoop
                                    2023-12-20 07:53:33,583 - MainThread - captureLoop is not running
                                    2023-12-20 07:53:33,589 - MainThread - nextAction satisfied waitforCaptureLoop
                                    2023-12-20 07:53:33,592 - MainThread - ++++++ Determining next logical action ++++++
                                    2023-12-20 07:53:33,593 - MainThread - ++++++ Entering start state ++++++
                                    2023-12-20 07:53:33,593 - MainThread - nextAction exiting normally
                                    2023-12-20 07:53:33,617 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:53:33,618 - mainLoop - Error Processing message queue
                                    2023-12-20 07:53:33,618 - mainLoop - 'global'
                                    2023-12-20 07:53:38,624 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:53:38,625 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:53:38,720 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:53:38,721 - mainLoop - Error Processing message queue
                                    2023-12-20 07:53:38,721 - mainLoop - 'global'
                                    2023-12-20 07:53:43,727 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:53:43,728 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:53:43,823 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:53:43,824 - mainLoop - Error Processing message queue
                                    2023-12-20 07:53:43,824 - mainLoop - 'global'
                                    2023-12-20 07:53:43,825 - mainLoop - ****** Duet status changed to: idle from unknown *****
                                    2023-12-20 07:53:43,826 - mainLoop - ****** stateMachine:
                                    2023-12-20 07:53:43,827 - mainLoop - newstate = Capturing
                                    2023-12-20 07:53:43,827 - mainLoop - currentState = Waiting
                                    2023-12-20 07:53:43,827 - mainLoop - duetStatus = idle
                                    2023-12-20 07:53:43,828 - mainLoop - lastDuetStatus = unknown
                                    2023-12-20 07:53:43,828 - mainLoop - dontwait = True
                                    2023-12-20 07:53:43,829 - mainLoop - detect = none
                                    2023-12-20 07:53:43,829 - mainLoop - terminateState = -1
                                    2023-12-20 07:53:43,830 - mainLoop - ******
                                    2023-12-20 07:53:43,831 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
                                    2023-12-20 07:53:43,831 - mainLoop - Calling oneInterval for Camera 1
                                    2023-12-20 07:53:43,832 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
                                    2023-12-20 07:53:43,832 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
                                    2023-12-20 07:53:43,855 - mainLoop - Current Layer is -1
                                    2023-12-20 07:53:43,856 - mainLoop - elapsed: 10.432576417922974
                                    2023-12-20 07:53:43,857 - mainLoop - ****** stateMachine:
                                    2023-12-20 07:53:43,858 - mainLoop - newstate = Waiting
                                    2023-12-20 07:53:43,858 - mainLoop - currentState = Capturing
                                    2023-12-20 07:53:43,859 - mainLoop - duetStatus = idle
                                    2023-12-20 07:53:43,859 - mainLoop - lastDuetStatus = unknown
                                    2023-12-20 07:53:43,859 - mainLoop - dontwait = True
                                    2023-12-20 07:53:43,860 - mainLoop - detect = none
                                    2023-12-20 07:53:43,861 - mainLoop - terminateState = -1
                                    2023-12-20 07:53:43,861 - mainLoop - ******
                                    2023-12-20 07:53:43,861 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
                                    2023-12-20 07:53:48,868 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:53:48,869 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:53:48,944 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:53:48,945 - mainLoop - Error Processing message queue
                                    2023-12-20 07:53:48,945 - mainLoop - 'global'
                                    2023-12-20 07:53:53,951 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:53:53,952 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:53:54,074 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:53:54,075 - mainLoop - Error Processing message queue
                                    2023-12-20 07:53:54,075 - mainLoop - 'global'
                                    2023-12-20 07:53:54,075 - mainLoop - ****** stateMachine:
                                    2023-12-20 07:53:54,076 - mainLoop - newstate = Capturing
                                    2023-12-20 07:53:54,076 - mainLoop - currentState = Waiting
                                    2023-12-20 07:53:54,076 - mainLoop - duetStatus = idle
                                    2023-12-20 07:53:54,077 - mainLoop - lastDuetStatus = idle
                                    2023-12-20 07:53:54,077 - mainLoop - dontwait = True
                                    2023-12-20 07:53:54,077 - mainLoop - detect = none
                                    2023-12-20 07:53:54,077 - mainLoop - terminateState = -1
                                    2023-12-20 07:53:54,078 - mainLoop - ******
                                    2023-12-20 07:53:54,078 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
                                    2023-12-20 07:53:54,079 - mainLoop - Calling oneInterval for Camera 1
                                    2023-12-20 07:53:54,079 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
                                    2023-12-20 07:53:54,080 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
                                    2023-12-20 07:53:54,107 - mainLoop - Current Layer is -1
                                    2023-12-20 07:53:54,108 - mainLoop - elapsed: 20.684492111206055
                                    2023-12-20 07:53:54,110 - mainLoop - ****** stateMachine:
                                    2023-12-20 07:53:54,110 - mainLoop - newstate = Waiting
                                    2023-12-20 07:53:54,111 - mainLoop - currentState = Capturing
                                    2023-12-20 07:53:54,111 - mainLoop - duetStatus = idle
                                    2023-12-20 07:53:54,112 - mainLoop - lastDuetStatus = idle
                                    2023-12-20 07:53:54,112 - mainLoop - dontwait = True
                                    2023-12-20 07:53:54,113 - mainLoop - detect = none
                                    2023-12-20 07:53:54,113 - mainLoop - terminateState = -1
                                    2023-12-20 07:53:54,114 - mainLoop - ******
                                    2023-12-20 07:53:54,114 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
                                    2023-12-20 07:53:59,120 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:53:59,121 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:53:59,184 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:53:59,185 - mainLoop - Error Processing message queue
                                    2023-12-20 07:53:59,185 - mainLoop - 'global'
                                    2023-12-20 07:54:04,191 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                    2023-12-20 07:54:04,192 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                    2023-12-20 07:54:04,311 - mainLoop - Standalone Status is idle
                                    2023-12-20 07:54:04,311 - mainLoop - Error Processing message queue
                                    2023-12-20 07:54:04,312 - mainLoop - 'global'
                                    2023-12-20 07:54:04,312 - mainLoop - ****** stateMachine:
                                    2023-12-20 07:54:04,312 - mainLoop - newstate = Capturing
                                    2023-12-20 07:54:04,313 - mainLoop - currentState = Waiting
                                    2023-12-20 07:54:04,313 - mainLoop - duetStatus = idle
                                    2023-12-20 07:54:04,313 - mainLoop - lastDuetStatus = idle
                                    2023-12-20 07:54:04,314 - mainLoop - dontwait = True
                                    2023-12-20 07:54:04,314 - mainLoop - detect = none
                                    2023-12-20 07:54:04,314 - mainLoop - terminateState = -1
                                    2023-12-20 07:54:04,314 - mainLoop - ******
                                    2023-12-20 07:54:04,314 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
                                    2023-12-20 07:54:04,315 - mainLoop - Calling oneInterval for Camera 1
                                    2023-12-20 07:54:04,315 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
                                    2023-12-20 07:54:04,315 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
                                    2023-12-20 07:54:04,332 - mainLoop - Current Layer is -1
                                    2023-12-20 07:54:04,333 - mainLoop - elapsed: 30.909065008163452
                                    2023-12-20 07:54:04,333 - mainLoop - Time - Camera1: capturing frame 1 at layer None after 30 seconds
                                    2023-12-20 07:54:04,333 - mainLoop - Calling stack oneInterval --> onePhoto --> createworkingDir
                                    2023-12-20 07:54:04,334 - mainLoop - Created working directory: /home/pi/DuetLapse/raspberrypi/10-0-1-126/3438_1
                                    2023-12-20 07:54:04,334 - mainLoop - Calling stack onePhoto --> createworkingDir --> renamelogfile
                                    2023-12-20 07:54:04,336 - mainLoop - Calling Jobname from onePhoto --> renameworkingDir --> getDuet
                                    2023-12-20 07:54:04,336 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.file.fileName post: False
                                    2023-12-20 07:54:04,360 - mainLoop - jobname was not available
                                    2023-12-20 07:54:06,054 - mainLoop - Command Exception: ffmpeg -threads 1 -loglevel quiet -y -i http://10.0.1.110/stream -vframes 1 -threads 1 /home/pi/DuetLapse/raspberrypi/10-0-1-126/3438_1/Camera1_00000001.jpeg
                                    2023-12-20 07:54:06,055 - mainLoop - Exception = Command 'ffmpeg -threads 1 -loglevel quiet -y -i http://10.0.1.110/stream -vframes 1 -threads 1 /home/pi/DuetLapse/raspberrypi/10-0-1-126/3438_1/Camera1_00000001.jpeg' returned non-zero exit status 1.
                                    2023-12-20 07:54:06,056 - mainLoop - !!!!! There was a problem capturing an image !!!!!
                                    2023-12-20 07:54:06,057 - mainLoop - ****** stateMachine:
                                    2023-12-20 07:54:06,058 - mainLoop - newstate = Waiting
                                    2023-12-20 07:54:06,059 - mainLoop - currentState = Capturing
                                    2023-12-20 07:54:06,061 - mainLoop - duetStatus = idle
                                    2023-12-20 07:54:06,062 - mainLoop - lastDuetStatus = idle
                                    2023-12-20 07:54:06,063 - mainLoop - dontwait = True
                                    2023-12-20 07:54:06,064 - mainLoop - detect = none
                                    2023-12-20 07:54:06,065 - mainLoop - terminateState = -1
                                    2023-12-20 07:54:06,065 - mainLoop - ******
                                    2023-12-20 07:54:06,066 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
                                    2023-12-20 07:54:08,702 - MainThread - Terminating because of Ctl + C (SIGINT)
                                    2023-12-20 07:54:08,704 - MainThread - !!!!! Forced Termination !!!!!

                                    and when i open manualy that address i get this

                                    2023-12-20-081317_1346x163_scrot.png

                                    stuartofmtundefined 1 Reply Last reply Reply Quote 0
                                    • stuartofmtundefined
                                      stuartofmt @sankafola
                                      last edited by

                                      @sankafola

                                      Broadly speaking. It's working ... up to a point. Note that I did not change anything other than some additional debugging.
                                      Notwithstanding the error calling the M3291 macro (which we will tackle last) - tha main error is that ffmpeg is unable to get an image from your image stream.

                                      This could be a problem with your version of ffmpeg or the stream.

                                      Can you repeat the test with this version (just some more instrumentation).
                                      Can you verify that http://10.0.1.110/stream displays a video stream in your browser?
                                      what is the output from ffmpeg -version

                                      DuetLapse3.py

                                      sankafolaundefined 1 Reply Last reply Reply Quote 0
                                      • sankafolaundefined
                                        sankafola @stuartofmt
                                        last edited by sankafola

                                        @stuartofmt

                                        the ffmpeg is as follow

                                        2023-12-20-114852_624x601_scrot.png

                                        as for the stream i have a real hard time to make the videostream works because of the failing link

                                        sudo pip3 install opencv-contrib-python==3.4.4.19

                                        i used the last file you gave me and here are the results seem to be working and connecting now but the main issue now maybe the videostream here are the screen shots and the log file
                                        2023-12-20-115604_988x345_scrot.png 2023-12-20-115550_486x386_scrot.png

                                        2023-12-20 11:58:45,832 - MainThread - DuetLapse3 Version --- 5.3.5
                                        2023-12-20 11:58:45,833 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
                                        2023-12-20 11:58:45,834 - MainThread - Process Id --- 2368
                                        2023-12-20 11:58:45,834 - MainThread - -------------------------------------------------------------------------------

                                        2023-12-20 11:58:45,835 - MainThread - seconds has been changed to 30
                                        2023-12-20 11:58:45,836 - MainThread - poll has been changed to 10
                                        2023-12-20 11:58:45,838 - MainThread - dontwait has been changed to True
                                        2023-12-20 11:58:45,839 - MainThread - ################### Options at start of this print job #####################
                                        2023-12-20 11:58:45,840 - MainThread - # Simulate
                                        2023-12-20 11:58:45,840 - MainThread - -simulate = off
                                        2023-12-20 11:58:45,841 - MainThread - # Environment
                                        2023-12-20 11:58:45,841 - MainThread - -duet = 10.0.1.126
                                        2023-12-20 11:58:45,842 - MainThread - -password = reprap
                                        2023-12-20 11:58:45,842 - MainThread - -basedir = /home/pi/DuetLapse
                                        2023-12-20 11:58:45,843 - MainThread - -poll = 10
                                        2023-12-20 11:58:45,843 - MainThread - -instances = single
                                        2023-12-20 11:58:45,843 - MainThread - -logtype = both
                                        2023-12-20 11:58:45,843 - MainThread - -nolog = False
                                        2023-12-20 11:58:45,844 - MainThread - -verbose = True
                                        2023-12-20 11:58:45,844 - MainThread - -host = 0.0.0.0
                                        2023-12-20 11:58:45,844 - MainThread - -port = 8082
                                        2023-12-20 11:58:45,844 - MainThread - -keeplogs = False
                                        2023-12-20 11:58:45,845 - MainThread - -novideo = False
                                        2023-12-20 11:58:45,845 - MainThread - -deletepics = False
                                        2023-12-20 11:58:45,845 - MainThread - -maxffmpeg = 2
                                        2023-12-20 11:58:45,846 - MainThread - -keepfiles = False
                                        2023-12-20 11:58:45,846 - MainThread - # Execution
                                        2023-12-20 11:58:45,846 - MainThread - -dontwait = True
                                        2023-12-20 11:58:45,846 - MainThread - -seconds = 30
                                        2023-12-20 11:58:45,847 - MainThread - -detect = none
                                        2023-12-20 11:58:45,847 - MainThread - -pause = no
                                        2023-12-20 11:58:45,848 - MainThread - -numlayers = 1
                                        2023-12-20 11:58:45,849 - MainThread - -movehead = [0, 0]
                                        2023-12-20 11:58:45,850 - MainThread - -rest = 1
                                        2023-12-20 11:58:45,850 - MainThread - -standby = False
                                        2023-12-20 11:58:45,851 - MainThread - -restart = False
                                        2023-12-20 11:58:45,851 - MainThread - # Camera
                                        2023-12-20 11:58:45,852 - MainThread - -camera1 = stream
                                        2023-12-20 11:58:45,852 - MainThread - -camera2
                                        2023-12-20 11:58:45,853 - MainThread - -weburl1 = http://10.0.1.110/stream
                                        2023-12-20 11:58:45,853 - MainThread - -weburl2
                                        2023-12-20 11:58:45,854 - MainThread - # Video
                                        2023-12-20 11:58:45,854 - MainThread - -extratime = 0
                                        2023-12-20 11:58:45,855 - MainThread - -fps = 10
                                        2023-12-20 11:58:45,855 - MainThread - -minvideo = 5
                                        2023-12-20 11:58:45,855 - MainThread - -maxvideo = 0
                                        2023-12-20 11:58:45,856 - MainThread - # Overrides
                                        2023-12-20 11:58:45,856 - MainThread - -camparam1
                                        2023-12-20 11:58:45,857 - MainThread - -camparam2
                                        2023-12-20 11:58:45,857 - MainThread - -vidparam1
                                        2023-12-20 11:58:45,858 - MainThread - -vidparam2
                                        2023-12-20 11:58:45,859 - MainThread - # UI
                                        2023-12-20 11:58:45,859 - MainThread - -hidebuttons = False
                                        2023-12-20 11:58:45,860 - MainThread - # Special Functions
                                        2023-12-20 11:58:45,860 - MainThread - -execkey
                                        2023-12-20 11:58:45,861 - MainThread - -M3291 = M3291
                                        2023-12-20 11:58:45,861 - MainThread - -----------------------------------------------------------------------

                                        2023-12-20 11:58:45,862 - MainThread - ************************************************************************************
                                        2023-12-20 11:58:45,862 - MainThread - Warning: -seconds 30 and -detect none
                                        2023-12-20 11:58:45,863 - MainThread - This combination implies -dontwait and will be set automatically
                                        2023-12-20 11:58:45,863 - MainThread - ************************************************************************************

                                        2023-12-20 11:58:45,865 - MainThread - ##########################################################
                                        2023-12-20 11:58:45,866 - MainThread - Will start capturing images immediately
                                        2023-12-20 11:58:45,867 - MainThread - ##########################################################

                                        2023-12-20 11:58:45,868 - MainThread - ##########################################################
                                        2023-12-20 11:58:45,869 - MainThread - Video will be created when printing ends
                                        2023-12-20 11:58:45,870 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
                                        2023-12-20 11:58:45,871 - MainThread - ##########################################################

                                        2023-12-20 11:58:45,873 - MainThread - ##########################################################
                                        2023-12-20 11:58:45,874 - MainThread - If running from a console using the command line
                                        2023-12-20 11:58:45,874 - MainThread - Press Ctrl+C one time to stop the program and create a video.
                                        2023-12-20 11:58:45,875 - MainThread - ##########################################################

                                        2023-12-20 11:58:45,877 - MainThread - ***** Initializing state and counters *****
                                        2023-12-20 11:58:45,880 - MainThread - ##########################################################
                                        2023-12-20 11:58:45,880 - MainThread - ***** Started http listener on port 8082*****
                                        2023-12-20 11:58:45,881 - MainThread - ##########################################################

                                        2023-12-20 11:58:45,882 - MainThread - Logging in to Printer
                                        2023-12-20 11:58:45,882 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
                                        2023-12-20 11:58:46,036 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
                                        2023-12-20 11:58:46,086 - MainThread - !!!!! Connected to printer Standalone !!!!!
                                        2023-12-20 11:58:46,087 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
                                        2023-12-20 11:58:46,087 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
                                        2023-12-20 11:58:46,151 - MainThread - Version Check returned --> 3.5.0-rc.1+102
                                        2023-12-20 11:58:46,152 - MainThread - ###############################################################
                                        2023-12-20 11:58:46,152 - MainThread - Connected to printer at 10.0.1.126
                                        2023-12-20 11:58:46,152 - MainThread - Using Duet version 3.5.0-rc.1+102
                                        2023-12-20 11:58:46,152 - MainThread - Using API interface rr_model
                                        2023-12-20 11:58:46,153 - MainThread - ###############################################################

                                        2023-12-20 11:58:46,153 - MainThread - isPlugin ignored - only valid for SBC
                                        2023-12-20 11:58:46,153 - MainThread - Initializing DL3msg queue
                                        2023-12-20 11:58:46,153 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
                                        2023-12-20 11:58:46,198 - mainLoop - ###########################
                                        2023-12-20 11:58:46,199 - MainThread - Initiating with action set to start
                                        2023-12-20 11:58:46,199 - mainLoop - Starting mainLoop
                                        2023-12-20 11:58:46,199 - MainThread - Calling nextaction start from main --> startup --> nextAction
                                        2023-12-20 11:58:46,200 - mainLoop - ###########################

                                        2023-12-20 11:58:46,200 - MainThread - ++++++ start state requested ++++++
                                        2023-12-20 11:58:46,200 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                        2023-12-20 11:58:46,201 - MainThread - nextAction requested stopCaptureLoop
                                        2023-12-20 11:58:46,201 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                        2023-12-20 11:58:46,201 - MainThread - captureLoop is not running
                                        2023-12-20 11:58:46,203 - MainThread - nextAction satisfied waitforCaptureLoop
                                        2023-12-20 11:58:46,209 - MainThread - ++++++ Determining next logical action ++++++
                                        2023-12-20 11:58:46,210 - MainThread - ++++++ Entering start state ++++++
                                        2023-12-20 11:58:46,210 - MainThread - nextAction exiting normally
                                        2023-12-20 11:58:46,227 - mainLoop - Standalone Status is busy
                                        2023-12-20 11:58:46,228 - mainLoop - Error Processing message queue
                                        2023-12-20 11:58:46,228 - mainLoop - 'global'
                                        2023-12-20 11:58:51,234 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                        2023-12-20 11:58:51,235 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                        2023-12-20 11:58:51,267 - mainLoop - Standalone Status is idle
                                        2023-12-20 11:58:51,267 - mainLoop - Error Processing message queue
                                        2023-12-20 11:58:51,268 - mainLoop - 'global'
                                        2023-12-20 11:58:56,273 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                        2023-12-20 11:58:56,273 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                        2023-12-20 11:58:56,529 - mainLoop - Standalone Status is idle
                                        2023-12-20 11:58:56,529 - mainLoop - Error Processing message queue
                                        2023-12-20 11:58:56,530 - mainLoop - 'global'
                                        2023-12-20 11:58:56,530 - mainLoop - ****** Duet status changed to: idle from unknown *****
                                        2023-12-20 11:58:56,530 - mainLoop - ****** stateMachine:
                                        2023-12-20 11:58:56,531 - mainLoop - newstate = Capturing
                                        2023-12-20 11:58:56,531 - mainLoop - currentState = Waiting
                                        2023-12-20 11:58:56,531 - mainLoop - duetStatus = idle
                                        2023-12-20 11:58:56,532 - mainLoop - lastDuetStatus = unknown
                                        2023-12-20 11:58:56,532 - mainLoop - dontwait = True
                                        2023-12-20 11:58:56,532 - mainLoop - detect = none
                                        2023-12-20 11:58:56,532 - mainLoop - terminateState = -1
                                        2023-12-20 11:58:56,533 - mainLoop - ******
                                        2023-12-20 11:58:56,533 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
                                        2023-12-20 11:58:56,533 - mainLoop - Calling oneInterval for Camera 1
                                        2023-12-20 11:58:56,533 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
                                        2023-12-20 11:58:56,534 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
                                        2023-12-20 11:58:56,612 - mainLoop - Current Layer is -1
                                        2023-12-20 11:58:56,613 - mainLoop - elapsed: 10.735199928283691
                                        2023-12-20 11:58:56,613 - mainLoop - ****** stateMachine:
                                        2023-12-20 11:58:56,613 - mainLoop - newstate = Waiting
                                        2023-12-20 11:58:56,614 - mainLoop - currentState = Capturing
                                        2023-12-20 11:58:56,614 - mainLoop - duetStatus = idle
                                        2023-12-20 11:58:56,614 - mainLoop - lastDuetStatus = unknown
                                        2023-12-20 11:58:56,614 - mainLoop - dontwait = True
                                        2023-12-20 11:58:56,615 - mainLoop - detect = none
                                        2023-12-20 11:58:56,615 - mainLoop - terminateState = -1
                                        2023-12-20 11:58:56,615 - mainLoop - ******
                                        2023-12-20 11:58:56,615 - mainLoop - ****** Print State changed to: Waiting from Capturing*****
                                        2023-12-20 11:59:01,621 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                        2023-12-20 11:59:01,622 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                        2023-12-20 11:59:01,783 - mainLoop - Standalone Status is idle
                                        2023-12-20 11:59:01,785 - mainLoop - Error Processing message queue
                                        2023-12-20 11:59:01,785 - mainLoop - 'global'
                                        2023-12-20 11:59:06,792 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                        2023-12-20 11:59:06,793 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                        2023-12-20 11:59:07,242 - mainLoop - Standalone Status is idle
                                        2023-12-20 11:59:07,243 - mainLoop - Error Processing message queue
                                        2023-12-20 11:59:07,244 - mainLoop - 'global'
                                        2023-12-20 11:59:07,245 - mainLoop - ****** stateMachine:
                                        2023-12-20 11:59:07,245 - mainLoop - newstate = Capturing
                                        2023-12-20 11:59:07,246 - mainLoop - currentState = Waiting
                                        2023-12-20 11:59:07,246 - mainLoop - duetStatus = idle
                                        2023-12-20 11:59:07,247 - mainLoop - lastDuetStatus = idle
                                        2023-12-20 11:59:07,247 - mainLoop - dontwait = True
                                        2023-12-20 11:59:07,248 - mainLoop - detect = none
                                        2023-12-20 11:59:07,249 - mainLoop - terminateState = -1
                                        2023-12-20 11:59:07,249 - mainLoop - ******
                                        2023-12-20 11:59:07,250 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
                                        2023-12-20 11:59:07,250 - mainLoop - Calling oneInterval for Camera 1
                                        2023-12-20 11:59:07,251 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
                                        2023-12-20 11:59:07,252 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
                                        2023-12-20 11:59:07,611 - mainLoop - Current Layer is -1
                                        2023-12-20 11:59:07,612 - mainLoop - elapsed: 21.73440194129944
                                        2023-12-20 11:59:07,613 - mainLoop - ****** stateMachine:
                                        2023-12-20 11:59:07,614 - mainLoop - newstate = Waiting
                                        2023-12-20 11:59:07,614 - mainLoop - currentState = Capturing
                                        2023-12-20 11:59:07,615 - mainLoop - duetStatus = idle
                                        2023-12-20 11:59:07,615 - mainLoop - lastDuetStatus = idle
                                        2023-12-20 11:59:07,616 - mainLoop - dontwait = True
                                        2023-12-20 11:59:07,616 - mainLoop - detect = none
                                        2023-12-20 11:59:07,617 - mainLoop - terminateState = -1
                                        2023-12-20 11:59:07,617 - mainLoop - ******
                                        2023-12-20 11:59:07,618 - mainLoop - ****** Print State changed to: Waiting from Capturing*****

                                        even though its giving this ( empty frame am using USB camera i have a ribbon camera too how to force videostream to use the ribbon camera ?

                                        2023-12-20-120647_1489x480_scrot.png

                                        stuartofmtundefined 1 Reply Last reply Reply Quote 0
                                        • stuartofmtundefined
                                          stuartofmt @sankafola
                                          last edited by

                                          @sankafola

                                          From memory - that version of ffmpeg is OK.
                                          As before, it looks like DuetLapse is working and the previous issues were installation / configuration.

                                          videostream uses opencv but that library is notorious for being difficult to install. Many of the guides simply do not work. That's not really the fault of the guides, mainly its to do with all the possible variations of operating systems etc that opencv has to deal with.

                                          There are several documents here that may help.
                                          https://github.com/stuartofmt/Pi-Notes
                                          but it all depends on the version if the pi operating system you are using.

                                          On my pi (using a pi camera and Debian Bullseye) I use a plugin that I've developed because it does not need to use opencv. It uses apis developed by the pi team BUT those do not support USB cameras.

                                          Having said all that - you might try Motion as that is a bit more self contained and may give you quicker success.

                                          What version of the pi operating system are you using?

                                          sankafolaundefined 1 Reply Last reply Reply Quote 0
                                          • sankafolaundefined
                                            sankafola @stuartofmt
                                            last edited by sankafola

                                            @stuartofmt

                                            see my PI os Ver below
                                            i will try motion but if videostream is better or a must i can try the plugin you mention if you dont mind

                                            2023-12-20-151607_504x391_scrot.png
                                            i tried motion and now i have video in the http//:localhost:8081/stream not on 10.0.1.110:8081/stream even though it should be the same but on the DuetLapse still no video
                                            here is my config for DuetLapse see if i need to change anything there

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

                                            2023-12-20-150807_616x456_scrot.png 2023-12-20-150752_779x388_scrot.png 2023-12-20-150736_1204x884_scrot.png

                                            log file

                                            2023-12-20 15:10:07,155 - MainThread - DuetLapse3 Version --- 5.3.5
                                            2023-12-20 15:10:07,156 - MainThread - Requires Duet3d Version --- 3.5.0-rc.1
                                            2023-12-20 15:10:07,157 - MainThread - Process Id --- 3116
                                            2023-12-20 15:10:07,157 - MainThread - -------------------------------------------------------------------------------

                                            2023-12-20 15:10:07,159 - MainThread - seconds has been changed to 30
                                            2023-12-20 15:10:07,161 - MainThread - poll has been changed to 10
                                            2023-12-20 15:10:07,162 - MainThread - dontwait has been changed to True
                                            2023-12-20 15:10:07,163 - MainThread - ################### Options at start of this print job #####################
                                            2023-12-20 15:10:07,164 - MainThread - # Simulate
                                            2023-12-20 15:10:07,165 - MainThread - -simulate = off
                                            2023-12-20 15:10:07,166 - MainThread - # Environment
                                            2023-12-20 15:10:07,166 - MainThread - -duet = 10.0.1.126
                                            2023-12-20 15:10:07,167 - MainThread - -password = reprap
                                            2023-12-20 15:10:07,168 - MainThread - -basedir = /home/pi/DuetLapse
                                            2023-12-20 15:10:07,169 - MainThread - -poll = 10
                                            2023-12-20 15:10:07,170 - MainThread - -instances = single
                                            2023-12-20 15:10:07,171 - MainThread - -logtype = both
                                            2023-12-20 15:10:07,171 - MainThread - -nolog = False
                                            2023-12-20 15:10:07,172 - MainThread - -verbose = True
                                            2023-12-20 15:10:07,172 - MainThread - -host = 0.0.0.0
                                            2023-12-20 15:10:07,173 - MainThread - -port = 8082
                                            2023-12-20 15:10:07,174 - MainThread - -keeplogs = False
                                            2023-12-20 15:10:07,175 - MainThread - -novideo = False
                                            2023-12-20 15:10:07,176 - MainThread - -deletepics = False
                                            2023-12-20 15:10:07,177 - MainThread - -maxffmpeg = 2
                                            2023-12-20 15:10:07,178 - MainThread - -keepfiles = False
                                            2023-12-20 15:10:07,179 - MainThread - # Execution
                                            2023-12-20 15:10:07,180 - MainThread - -dontwait = True
                                            2023-12-20 15:10:07,180 - MainThread - -seconds = 30
                                            2023-12-20 15:10:07,181 - MainThread - -detect = none
                                            2023-12-20 15:10:07,181 - MainThread - -pause = no
                                            2023-12-20 15:10:07,181 - MainThread - -numlayers = 1
                                            2023-12-20 15:10:07,182 - MainThread - -movehead = [0, 0]
                                            2023-12-20 15:10:07,182 - MainThread - -rest = 1
                                            2023-12-20 15:10:07,182 - MainThread - -standby = False
                                            2023-12-20 15:10:07,183 - MainThread - -restart = False
                                            2023-12-20 15:10:07,183 - MainThread - # Camera
                                            2023-12-20 15:10:07,183 - MainThread - -camera1 = stream
                                            2023-12-20 15:10:07,184 - MainThread - -camera2
                                            2023-12-20 15:10:07,184 - MainThread - -weburl1 = http://localhost:8081/stream
                                            2023-12-20 15:10:07,184 - MainThread - -weburl2
                                            2023-12-20 15:10:07,185 - MainThread - # Video
                                            2023-12-20 15:10:07,185 - MainThread - -extratime = 0
                                            2023-12-20 15:10:07,185 - MainThread - -fps = 10
                                            2023-12-20 15:10:07,186 - MainThread - -minvideo = 5
                                            2023-12-20 15:10:07,186 - MainThread - -maxvideo = 0
                                            2023-12-20 15:10:07,186 - MainThread - # Overrides
                                            2023-12-20 15:10:07,187 - MainThread - -camparam1
                                            2023-12-20 15:10:07,187 - MainThread - -camparam2
                                            2023-12-20 15:10:07,188 - MainThread - -vidparam1
                                            2023-12-20 15:10:07,188 - MainThread - -vidparam2
                                            2023-12-20 15:10:07,188 - MainThread - # UI
                                            2023-12-20 15:10:07,189 - MainThread - -hidebuttons = False
                                            2023-12-20 15:10:07,190 - MainThread - # Special Functions
                                            2023-12-20 15:10:07,190 - MainThread - -execkey
                                            2023-12-20 15:10:07,191 - MainThread - -M3291 = M3291
                                            2023-12-20 15:10:07,191 - MainThread - -----------------------------------------------------------------------

                                            2023-12-20 15:10:07,192 - MainThread - ************************************************************************************
                                            2023-12-20 15:10:07,192 - MainThread - Warning: -seconds 30 and -detect none
                                            2023-12-20 15:10:07,193 - MainThread - This combination implies -dontwait and will be set automatically
                                            2023-12-20 15:10:07,194 - MainThread - ************************************************************************************

                                            2023-12-20 15:10:07,195 - MainThread - ##########################################################
                                            2023-12-20 15:10:07,196 - MainThread - Will start capturing images immediately
                                            2023-12-20 15:10:07,197 - MainThread - ##########################################################

                                            2023-12-20 15:10:07,198 - MainThread - ##########################################################
                                            2023-12-20 15:10:07,199 - MainThread - Video will be created when printing ends
                                            2023-12-20 15:10:07,200 - MainThread - or if requested from the UI or M3291 P"DuetLapse3.completed"
                                            2023-12-20 15:10:07,200 - MainThread - ##########################################################

                                            2023-12-20 15:10:07,201 - MainThread - ##########################################################
                                            2023-12-20 15:10:07,201 - MainThread - If running from a console using the command line
                                            2023-12-20 15:10:07,202 - MainThread - Press Ctrl+C one time to stop the program and create a video.
                                            2023-12-20 15:10:07,202 - MainThread - ##########################################################

                                            2023-12-20 15:10:07,202 - MainThread - ***** Initializing state and counters *****
                                            2023-12-20 15:10:07,205 - MainThread - ##########################################################
                                            2023-12-20 15:10:07,207 - MainThread - ***** Started http listener on port 8082*****
                                            2023-12-20 15:10:07,210 - MainThread - ##########################################################

                                            2023-12-20 15:10:07,211 - MainThread - Logging in to Printer
                                            2023-12-20 15:10:07,213 - MainThread - 0 url: http://10.0.1.126/rr_disconnect post: False
                                            2023-12-20 15:10:07,335 - MainThread - 0 url: http://10.0.1.126/rr_connect?password=reprap post: False
                                            2023-12-20 15:10:07,393 - MainThread - !!!!! Connected to printer Standalone !!!!!
                                            2023-12-20 15:10:07,394 - MainThread - !!!!! Checking for firmware version 3.5.0-rc.1 !!!!!
                                            2023-12-20 15:10:07,395 - MainThread - 0 url: http://10.0.1.126/rr_model?key=boards post: False
                                            2023-12-20 15:10:07,442 - MainThread - Version Check returned --> 3.5.0-rc.1+102
                                            2023-12-20 15:10:07,444 - MainThread - ###############################################################
                                            2023-12-20 15:10:07,445 - MainThread - Connected to printer at 10.0.1.126
                                            2023-12-20 15:10:07,447 - MainThread - Using Duet version 3.5.0-rc.1+102
                                            2023-12-20 15:10:07,448 - MainThread - Using API interface rr_model
                                            2023-12-20 15:10:07,450 - MainThread - ###############################################################

                                            2023-12-20 15:10:07,451 - MainThread - isPlugin ignored - only valid for SBC
                                            2023-12-20 15:10:07,453 - MainThread - Initializing DL3msg queue
                                            2023-12-20 15:10:07,454 - MainThread - 0 url: http://10.0.1.126/rr_gcode?gcode=M3291 B"Clear" post: False
                                            2023-12-20 15:10:07,539 - mainLoop - ###########################
                                            2023-12-20 15:10:07,539 - MainThread - Initiating with action set to start
                                            2023-12-20 15:10:07,541 - mainLoop - Starting mainLoop
                                            2023-12-20 15:10:07,542 - MainThread - Calling nextaction start from main --> startup --> nextAction
                                            2023-12-20 15:10:07,544 - mainLoop - ###########################

                                            2023-12-20 15:10:07,545 - MainThread - ++++++ start state requested ++++++
                                            2023-12-20 15:10:07,546 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                            2023-12-20 15:10:07,547 - MainThread - nextAction requested stopCaptureLoop
                                            2023-12-20 15:10:07,548 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                            2023-12-20 15:10:07,549 - MainThread - captureLoop is not running
                                            2023-12-20 15:10:07,552 - MainThread - nextAction satisfied waitforCaptureLoop
                                            2023-12-20 15:10:07,553 - MainThread - ++++++ Determining next logical action ++++++
                                            2023-12-20 15:10:07,554 - MainThread - ++++++ Entering start state ++++++
                                            2023-12-20 15:10:07,555 - MainThread - nextAction exiting normally
                                            2023-12-20 15:10:07,614 - mainLoop - Standalone Status is processing
                                            2023-12-20 15:10:07,615 - mainLoop - Error Processing message queue
                                            2023-12-20 15:10:07,616 - mainLoop - 'global'
                                            2023-12-20 15:10:09,259 - Thread-1 - !!!!! http call: {'displayControls': ['true']} !!!!!
                                            2023-12-20 15:10:10,087 - Thread-2 - !!!!! http call: {'displayStatus': ['true']} !!!!!
                                            2023-12-20 15:10:12,623 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                            2023-12-20 15:10:12,624 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                            2023-12-20 15:10:12,654 - mainLoop - Standalone Status is processing
                                            2023-12-20 15:10:12,655 - mainLoop - Error Processing message queue
                                            2023-12-20 15:10:12,655 - mainLoop - 'global'
                                            2023-12-20 15:10:17,661 - mainLoop - Calling Status from run --> mainLoop --> getDuet
                                            2023-12-20 15:10:17,662 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=state post: False
                                            2023-12-20 15:10:17,710 - mainLoop - Standalone Status is processing
                                            2023-12-20 15:10:17,711 - mainLoop - Error Processing message queue
                                            2023-12-20 15:10:17,712 - mainLoop - 'global'
                                            2023-12-20 15:10:17,713 - mainLoop - ****** Duet status changed to: processing from unknown *****
                                            2023-12-20 15:10:17,713 - mainLoop - ****** stateMachine:
                                            2023-12-20 15:10:17,714 - mainLoop - newstate = Capturing
                                            2023-12-20 15:10:17,715 - mainLoop - currentState = Waiting
                                            2023-12-20 15:10:17,715 - mainLoop - duetStatus = processing
                                            2023-12-20 15:10:17,716 - mainLoop - lastDuetStatus = unknown
                                            2023-12-20 15:10:17,717 - mainLoop - dontwait = True
                                            2023-12-20 15:10:17,718 - mainLoop - detect = none
                                            2023-12-20 15:10:17,718 - mainLoop - terminateState = -1
                                            2023-12-20 15:10:17,719 - mainLoop - ******
                                            2023-12-20 15:10:17,720 - mainLoop - ****** Print State changed to: Capturing from Waiting*****
                                            2023-12-20 15:10:17,721 - mainLoop - Calling oneInterval for Camera 1
                                            2023-12-20 15:10:17,722 - mainLoop - Calling Layer from captureLoop --> oneInterval --> getDuet
                                            2023-12-20 15:10:17,723 - mainLoop - 0 url: http://10.0.1.126/rr_model?key=job.layer post: False
                                            2023-12-20 15:10:17,812 - mainLoop - Current Layer is 1
                                            2023-12-20 15:10:17,813 - mainLoop - elapsed: 10.610595464706421
                                            2023-12-20 15:10:17,814 - mainLoop - ****** stateMachine:
                                            2023-12-20 15:10:17,815 - mainLoop - newstate = Capturing
                                            2023-12-20 15:10:17,816 - mainLoop - currentState = Capturing
                                            2023-12-20 15:10:17,816 - mainLoop - duetStatus = processing
                                            2023-12-20 15:10:17,817 - mainLoop - lastDuetStatus = unknown
                                            2023-12-20 15:10:17,817 - mainLoop - dontwait = True
                                            2023-12-20 15:10:17,818 - mainLoop - detect = none
                                            2023-12-20 15:10:17,819 - mainLoop - terminateState = -1
                                            2023-12-20 15:10:17,820 - mainLoop - ******
                                            2023-12-20 15:10:20,089 - Thread-3 - !!!!! http call: {'displayStatus': ['true']} !!!!!

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