Jump to content
UltiMaker Community of 3D Printing Experts

4.6.1 Multiple Octoprint Instances?


Recommended Posts

Posted · 4.6.1 Multiple Octoprint Instances?

Good day all, 

 

I upgraded to 4.6 the other day and again last night to 4.6.1      I have multiple printers all attached to Octoprint.   For some reason, I am only able to have one at a time in the manged printers list.  If I want to add another, I have to 

 

- Manage pritner

- Connect the Octoprint instance

- Slice the object. 

 

Before I could just select the printer from the drop down?  


Any help would be appreciated. 

  • Link to post
    Share on other sites

    Posted · 4.6.1 Multiple Octoprint Instances?

    I think I figured this out. 

     

    Instead of being able to add the printer directly with the Octoprint instance.  I had to add the printer as a local printer, select it and then connect to OctoPrint. 

     


    A little cumbersome.  But I believe I have it. 

     

     

    It would be GREAT if this were a little more intuitive..  Or I would love to know the reason behind it.   

  • Link to post
    Share on other sites

    Posted · 4.6.1 Multiple Octoprint Instances?

    I'm not quite sure I understand the problem.

     

    Could you elaborate what you mean by "I am only able to have one at a time in the manged printers list"?

     

    Do you have multiple printers "added" to Cura?

     

    Are all your OctoPrint instances listed in the "Connect to OctoPrint" dialog?

     

    What version of Cura did you upgrade from? Did you keep your configuration between versions, or did you start over?

  • Link to post
    Share on other sites

    Posted · 4.6.1 Multiple Octoprint Instances?
    53 minutes ago, ahoeben said:

    I'm not quite sure I understand the problem.

     

    Could you elaborate what you mean by "I am only able to have one at a time in the manged printers list"?

     

    Absolutely.   I associated my first Ender3 with Octoprint   It worked a champ. 

    When I went into the octoprint list all of the printers are there.   Select one, connect and return to printer management.   The selected printer now takes on the identity of the other printer. 

     

    So it turns out that if I create one and THEN connect to OctoPrint. It seems to stick.   I do not remember it taking that process previously.  But maybe I am just old and forgetful. 

     

     

    53 minutes ago, ahoeben said:

    Do you have multiple printers "added" to Cura?

     

    Are all your OctoPrint instances listed in the "Connect to OctoPrint" dialog?

     

    What version of Cura did you upgrade from? Did you keep your configuration between versions, or did you start over?

     

  • Link to post
    Share on other sites

    Posted · 4.6.1 Multiple Octoprint Instances?

    I had a similar issue and was able to find a work around with a little help from @glennemay's comment above related to setup as a local printer. 


    Version 4.7.1 

    Issue: When using multiple printers each with an Octoprint instance attached, I was unable to get Cura to properly target the OctoPrint instance related to the selected printer instance. It would always select the same connection config. Not sure but I think it was always the last one in the list. It maybe the last one selected/configured. 

     

    Issue Details and findings:
    I have 4 printers in this use case.  No matter which one I selected  when I would use the "Print with OctoPrint" button it would always go to the same OctoPrint instance. 

     


    This was working fine for months with just 2 printers (with unique OctoPrint connections) until I decided to add the 3rd and 4th printer into the config and then align a printer profile to an OctoPrint connection config.  

    I tried to get it aligned multiple times, I deleted all the OctoPrint configs ad even the printer configs. Nothing seemed to correct the behavior. I then looked at the config file and could see it was not much different than it was when it was working(looked at a back up) 

    I did a little hunting and looked at the code for the add in. Did not look too deep and did not really grok it given the time spent. Did a little more searching... 

    After reading the above details from @glennemay, his reference to "local printer" made me recall that just a few hours previous to adding the new printers,  I had disabled the USB printing feature because it kept sending serial commands on start up to an other project I had connected to the same system causing that project to glitch at receipt of the commands. 

    Putting this together, I re-enabled the USB printing feature and then reassigned each of the printers with an OctoPrint connection config and this corrected the issue. All is working as one would expect. Although, I am now back to the annoying state where my other project gets commands on Cura start up and Cura also owns the serial port while open which means I cant leave Cura open while working on that other project. 

    There must be some reference to the USB printing feature maybe because of the roots of the OctoPrint plug in. If I recall it was based on something that would allow extension of the local serial over the network. Not sure but that would make sense in why these 2 parts of the system would have some interaction issues. 

    So basically from what I found, if you want to have multiple printers all with unique OctoPrint connections in a usable way, you must have the USB Printing feature enabled.  

    Note that this seemed to only be an issue after adding a new OctoPrint connection to the settings once I disabled the USB printing feature. 

    Hoping this helps someone else work this out faster than I did. Also maybe someone can look at the interaction and some how remove the dependency. 
     

    • Like 1
    Link to post
    Share on other sites

    Posted · 4.6.1 Multiple Octoprint Instances?
    16 hours ago, SoftwaresEdge said:

    if you want to have multiple printers all with unique OctoPrint connections in a usable way, you must have the USB Printing feature enabled. 

     

    Hey, I'm the creator of the OctoPrint connection plugin. I'm happy this fixes something for you, but programmatically it makes little sense. I have yet to reproduce your and @glennemay's issue, but I'll see if I can with your additional information.

  • Link to post
    Share on other sites

    Posted · 4.6.1 Multiple Octoprint Instances?

    Appreciate your attention. 

    I will try to reproduce it on my end again on a secondary PC. I will check back and update on how that goes. I see there is an update out recently(3.5.17). Any expectation that it will affect things for this issue? I will assume no since you have not been able to reproduce but wanted to ask just incase. 
     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    • Our picks

      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    ×
    ×
    • Create New...