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

    Duet Wifi & Octoprint

    Scheduled Pinned Locked Moved
    General Discussion
    3
    5
    785
    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.
    • tkamskerundefined
      tkamsker
      last edited by

      Hi i like duet wifi web control but for my application an Octoprint plugin has to do some stuff.
      So i would like to send the file down to the SD like Bildschirmfoto 2019-10-13 um 12.59.55.png
      i even have cura connecting to octoprint and direct print to duet with 4 tools

      But if someone can help or knows how to do that it would help my application a lot

      in later phase i think of doing some Ajax direct on the duet but not now
      thx thomas

      1 Reply Last reply Reply Quote 0
      • EasyTargetundefined
        EasyTarget
        last edited by

        I assume you want to upload files via the OctoPrint upload dialog into the SD card on the Duet? Instead of into OctoPrints local storage.

        I've never got it working; gave up a year ago. Maybe plugins etc have improved to the point where you can do it now. It's not just the Upload part that is an issue; it's also the remote print triggering and progress following. This works well for Marlin but I've never seen it working with RRF/Duet.

        It's never worried me, If I'm OctoPrinting I stream from the Pi, and when I want to Directly print on the Duet (eg important stuff where I want power recovery etc) I use Duet WebControl, which works well too.

        Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
        PrintPy2024 to the rescue!
        MicroPython based; with simple wiring and and no custom PCB.

        1 Reply Last reply Reply Quote 0
        • tkamskerundefined
          tkamsker
          last edited by

          Hi
          thank you that is exactly with my observation so i will then need to do 2 types of software
          . I get octorpint to work with duet wifi if you proficient with G and M codes (as i am) it is possible.
          but sometimes you have to reconnect and so on
          thank you verry much for you fast answer thx thomas

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

            recently the plugins on octoprint became much more powerful and there are new hooks for file handling so if there is a way to easily upload file to the duet (and I believe there is) then you should be able to easily write a plugin that would "intercept" upload trough G-Code upload interface (what happens when you upload to printer via octoprint) and upload directly to duet. I'm not a python dev so no clue how to do it exactly but here's the documentation for python literate: https://docs.octoprint.org/en/master/plugins/hooks.html#octoprint-printer-sdcardupload

            there's an example, you just need to replace the time.sleep(10) with a real code that uploads the file to duet 😄

            there is also another way, without making the plugin .. check out this
            https://github.com/foosel/OctoPrint/wiki/Setup-OctoPrint-with-Smoothie
            here you see how a script is run to copy the files to a mounted sd card, just like the script is doing mount; cp .. ; the same scrip can do curl -F ... to upload to duet

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

              @smece said in Duet Wifi & Octoprint:

              https://docs.octoprint.org/en/master/plugins/hooks.html#octoprint-printer-sdcardupload

              Thank you for the smoothie hint i will look into it because i also need the M24 possibility ;)-

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