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

    Duet muti printer server anyone?

    Scheduled Pinned Locked Moved
    General Discussion
    16
    54
    7.5k
    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.
    • Danalundefined
      Danal
      last edited by

      Something like this? (Click to enlarge)

      This is a simple mockup; at the same time, it was built from bits and pieces of Christian Hammacher's Duet Web Control. Therefore, making it real is fairly possible.

      Is there interest from the community? What style and/or overall screen layout would you like to see? Tabular, like above, growing as printers are added? Some other layout? Of course, it will self-adapt to a full width browser or a mobile phone sized screen.

      What commands would you like to see, and associated with what status? (statuses? stati? You know what I mean.)

      As David mentioned, these bits of web html/css/js would NOT load from a Duet. Absolutely no changes needed to the Duets that would be multi-monitored/controlled. This would load from the Internet (or the local disk on the PC/Mac/whatever, maybe). The only requirement to control a Duet would be that it is "reachable" from the browser where this is running; if you can load the given Duet's own DWC, this would work as well. In fact, those IP addresses above, even in the mockup, are links to the actual printer's DWC page.

      The "Add Printer" button would open a dialog that gathers an IP and Password for the printer. The Multi-DWMC would figure everything else out when it connected. Edit: I accidently cut the "Add Printer" button out of the pic. At the moment, it is bottom center, below what's shown.

      I can already think of a few buttons I haven't mocked up (yet) for a couple of states: "Printing" - a button to open the cam on that printer. "Idle" - A button to open the gcode files on that printer, and print a file that's clicked. Please suggest more.

      P.S. Christian Hammacher is an incredible wizard. Now that I've REALLY looked at the DWC, I'm very impressed.

      Delta / Kossel printer fanatic

      1 Reply Last reply Reply Quote 0
      • dmkmediaundefined
        dmkmedia
        last edited by

        well i will be up for it
        also im a web designer so i could help with the design of things if u require

        https://dmkitservices.com

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by

          Cool, we have also asked Christian to have a look at this.

          Assuming the "Duet print farm control " (DPFC?) Code is not big we should aim to load it from a Duet so no internet connection is required. Any Duet could be the webserver for that and then all the other could be added.

          www.duet3d.com

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            @Danal:

            Something like this? (Click to enlarge)
            …
            What commands would you like to see, and associated with what status? (statuses? stati? You know what I mean.)

            I was thinking of showing the same printing/paused/pausing/resuming etc. status that DWC and PanelDue display, or "disconnected"; the filename if it is printing; the % complete if it is printing; a "Connect" button for a disconnected printer if we can't make connection fully automatic; and a "Go to printer" button. Possibly also a pause or Resume/Cancel button when the printer is in the appropriate state. I don't see much point in duplicating much more of the functionality in DWC.

            @Danal:

            As David mentioned, these bits of web html/css/js would NOT load from a Duet. Absolutely no changes needed to the Duets that would be multi-monitored/controlled. This would load from the Internet (or the local disk on the PC/Mac/whatever, maybe). The only requirement to control a Duet would be that it is "reachable" from the browser where this is running; if you can load the given Duet's own DWC, this would work as well. In fact, those IP addresses above, even in the mockup, are links to the actual printer's DWC page.

            I see no reason why the page shouldn't be loaded from a Duet. It should use the same bootstrap css files as DWC. But the printer configuration data (e.g. IP addresses) will need to be stored somewhere.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • Danalundefined
              Danal
              last edited by

              Great, I will take this a step or two further, and then we can checkpoint on how to proceed. Eventually, I will publish on github.

              A few notes:

              • This can/could be served from anywhere. A Duet (any one of the Duets available) for those who wish… it will probably be one html and one js that uploads to that Duet, and an alternate URL from that Duet to launch it. It could also be served from the local filesystem on a PC/Mac/Linux, Or the Internet, for those who don't want to store it locally.

              • The mockup is built on the same css file, and bits and pieces of the js from DWC. As such, the same mechanism that is used to store browser settings in DWC can (will) be used that being - local browser storage. This has some pluses/minuses, we can discuss more in the future.

              • David, thank you for the specifics on status and buttons/commands. Good list. I also agree with you about not going to far into duplicating function. I see this as an "Arms length" status page as much as anything. The Name/IP is clickable to launch full DWC at any time.

              More to come…

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • Danalundefined
                Danal
                last edited by

                A "Working Draft" is now ready for review. To load it:

                1. Click this URL: http://danalspub.com/MultiDWMC/

                2. After it loads, use the "Add Printer" button to enter the IP address (and password, if applicable) of at least one Duet that can be reached by regular Duet Web. You can add as many as you wish. You can delete the example, if you wish. Entries will be preserved across reloads.

                3. Wait a few moments (about 10 seconds each for first connect, and first status update).

                Comments welcome. Post right here in this thread.

                P.S. This will eventually be able to be loaded from a Duet. For right now, loadable only from the internet.

                Delta / Kossel printer fanatic

                1 Reply Last reply Reply Quote 0
                • Danalundefined
                  Danal
                  last edited by

                  If you re-visit after a few hours or days, be sure and refresh cache.

                  Example: In Chrome, do a Ctrl+Shift-r

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • cbusilloundefined
                    cbusillo
                    last edited by

                    Can it be changed to use hostnames instead of IP?

                    1 Reply Last reply Reply Quote 0
                    • Danalundefined
                      Danal
                      last edited by

                      @cbusillo:

                      Can it be changed to use hostnames instead of IP?

                      Assuming that "normal" DWC would work with the same host-name, sure. I'll take the check for IP out.

                      Edit: Done. Be sure and Ctrl-Shift-r to see the change.

                      Delta / Kossel printer fanatic

                      1 Reply Last reply Reply Quote 0
                      • cbusilloundefined
                        cbusillo
                        last edited by

                        It works!

                        1 Reply Last reply Reply Quote 0
                        • pogo1213undefined
                          pogo1213
                          last edited by

                          Hey, it looks great! Im having an issue connecting, I added the IP for one and waited but it fails. I dont have a password on this board so I left the password blank. Could that be the issue? I have Deleted and retried a few times just to be sure. Thanks for the help.

                          1 Reply Last reply Reply Quote 0
                          • Danalundefined
                            Danal
                            last edited by

                            @pogo1213:

                            Hey, it looks great! Im having an issue connecting, I added the IP for one and waited but it fails. I dont have a password on this board so I left the password blank. Could that be the issue? I have Deleted and retried a few times just to be sure. Thanks for the help.

                            Blank password, meaning "just click done, or just hit enter" is fine. I use that. I've tested it (a little) with a password as well.

                            Things to check:

                            1. Does DWC connect from that same browser/computer, etc. using the same IP (or name)

                            And, for curiosity: What OS and Browser? And what firmware on your Duet?

                            Thanks,

                            Danal

                            Delta / Kossel printer fanatic

                            1 Reply Last reply Reply Quote 0
                            • pogo1213undefined
                              pogo1213
                              last edited by

                              1.18 duet firmware
                              Chrome browser
                              Also DWC opens in the browser

                              I just clicked done with the blank password field.

                              1 Reply Last reply Reply Quote 0
                              • Danalundefined
                                Danal
                                last edited by

                                @pogo1213:

                                1.18 duet firmware
                                Chrome browser
                                Also DWC opens in the browser

                                I just clicked done with the blank password field.

                                Very interesting. Close to what I'm using. Hmmm… I may have to put a debugging console log in temporarily... but... I've just changed the central dispatcher/connector to make it more reliable, so, if you don't mind, try again.

                                You should see "V1.02" in the block of notes, if things have successfully refreshed. (Ctrl+Shift+R).

                                Delta / Kossel printer fanatic

                                1 Reply Last reply Reply Quote 0
                                • Danalundefined
                                  Danal
                                  last edited by

                                  V1.02 Now available.

                                  Release Notes, 1.02:

                                  • Speedup initial connect on page load.
                                  • Cleanup wording around IP or HostName in several places
                                  • Added "Disconnect and Close" button.
                                  • Made individual line "Disconnect" buttons active.
                                  • Added completion percentage to status while printing

                                  Release Notes, 1.01:

                                  • Allow hostnames (in addition to IP addresses)
                                  • Fixed table sometimes not (re-)built properly after add or delete

                                  Delta / Kossel printer fanatic

                                  1 Reply Last reply Reply Quote 0
                                  • Danalundefined
                                    Danal
                                    last edited by

                                    Delta / Kossel printer fanatic

                                    1 Reply Last reply Reply Quote 0
                                    • dc42undefined
                                      dc42 administrators
                                      last edited by

                                      Nice!

                                      Duet WiFi hardware designer and firmware engineer
                                      Please do not ask me for Duet support via PM or email, use the forum
                                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                                      1 Reply Last reply Reply Quote 0
                                      • Danalundefined
                                        Danal
                                        last edited by

                                        Everything in the above picture is real, updated from connections to real duets, and will perform the labeled actions when clicked, EXCEPT for the gray (white) buttons.

                                        Delta / Kossel printer fanatic

                                        1 Reply Last reply Reply Quote 0
                                        • dc42undefined
                                          dc42 administrators
                                          last edited by

                                          One little bug: under Chrome the printer names are displayed, but under Firefox it continues to show "TBD at first status update".

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          1 Reply Last reply Reply Quote 0
                                          • pogo1213undefined
                                            pogo1213
                                            last edited by

                                            @Danal:

                                            @pogo1213:

                                            1.18 duet firmware
                                            Chrome browser
                                            Also DWC opens in the browser

                                            I just clicked done with the blank password field.

                                            Very interesting. Close to what I'm using. Hmmm… I may have to put a debugging console log in temporarily... but... I've just changed the central dispatcher/connector to make it more reliable, so, if you don't mind, try again.

                                            You should see "V1.02" in the block of notes, if things have successfully refreshed. (Ctrl+Shift+R).

                                            Will do, I'll let you know how it works

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