Duet via Octoprint/Octofarm....again ;-)



  • The Duet Wifi and the Duet Web Control (DWC) work very well together. Many may question why would you consider using another interface.

    My inquiry is driven by that I need to leverage control over a bank of printers (10+). Other than having multiple tabs open on a browser there is not an efficient method of monitoring all of these printers.

    I'd like to control a Duet Wifi via direct USB through a Raspberry PI/Octoprint setup, and use Octofarm dashboard to manage the printers.

    Are there any known issues using Octoprint to control the Duet hardware through the USB port? What about using the new Duet 3 with this setup?

    Any experience or guidance would be appreciated.



  • afaik you need to enable Merlin compatability mode to get the responses octoprint requires.

    the main issue is that you loose the added features of printing from the sd card which include power loss recovery.

    there might be some issue with increased risk of data starvation when streaming g-code over usb as its much slower than the sd card. but avoiding lots of small segments should make that a non-issue.

    the duet3 will be the same as the duet2 in this regard


  • administrators

    @bearer said in Duet via Octoprint/Octofarm....again 😉:

    the main issue is that you loose the added features of printing from the sd card which include power loss recovery.

    You also lose fast response to pause commands, fast response to filament monitors, ability to see the live state of lots of printer parameters, and perhaps some other things that I can't think of right now.

    The difficulties that Octoprint has include:

    • It has to send all commands over a single channel, and usually wait for a response before it can send another command;
    • It doesn't have immediate access to the state variables of the printer.

    It would be possible for Octoprint to get around these limitations by using use DSF instead of relying on a single USB channel; but of course that wouldn't work with anything except a Duet.



  • @tmreith said in Duet via Octoprint/Octofarm....again 😉:

    My inquiry is driven by that I need to leverage control over a bank of printers (10+).

    for monitoring maybe you could look to https://github.com/gtjoseph/DueUI/wiki to roll your own multi-duet status page but i think it would require some heavy lifting.

    there are other things like go and python libraries to interface to duets as well

    there are also hardware projects that will monitor multiple duets on here, and I'm sure the future will bring many more as DSF is adopted more widely.

    but sacrificing the more complete list of features dc42 provided is by far the easiest method for now i think.


  • Moderator

    There's also this option, which may or not fit your needs.

    https://github.com/DanalEstes/MultiDuetWebMonitor



  • Great! thanks for the prompt feedback and suggestions.

    I like the idea of the MultiDuetWebMonitor. I'll give it a go!


Log in to reply