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

Duet Web Control 2.0.0-RC3 is ready

Scheduled Pinned Locked Moved
Duet Web Control
50
147
27.4k
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.
  • undefined
    BLV
    last edited by BLV 27 Dec 2018, 19:13

    Could you share please some screenshots of the new interface?

    1 Reply Last reply Reply Quote 0
    • undefined
      sigxcpu @dc42
      last edited by 27 Dec 2018, 20:12

      @dc42 said in Duet Web Control 2.0.0-RC2 is ready:

      For example, I've recompiled the firmware with 6 HTTP acceptors instead of 4. It reloads DWC2 most of the times, with very few exceptions (i've had DWC1 open in another brower so that ate a connection).
      Unfortunately, I am pretty sure that will kill the firmware during printing because increasing to 8 kills it in a boot loop.

      My guess is that with 8 you are running short of memory. Each HTTP responder needs around 2K of memory.

      The proper fix here should be to implement TCP connection backlogging, instead of refusing them. OK, we serve 4 simultaneout, but we can keep more intents in the backlog before accepting them.

      It already does. From https://github.com/dc42/DuetWiFiSocketServer/blob/dev/src/Listener.cpp, around line 150:

      }
      p->listeningPcb = tcp_listen_with_backlog(tempPcb, Backlog);
      if (p->listeningPcb == nullptr)
      {

      The constant Backlog is set to 8.

      Then something is broken in backlog implementation because the Nth+1 connection gets TCP RST instead of waiting. Here is how to find out N:

      bash-3.2$ ab -r -v 0 -dSq -n 10 -c 3 http://192.168.27.8:80/index.html
      ...
      Concurrency Level: 3
      Time taken for tests: 0.185 seconds
      Complete requests: 10
      Failed requests: 0
      ...
      bash-3.2$ ab -r -v 0 -dSq -n 10 -c 4 http://192.168.27.8:80/index.html
      ...
      Concurrency Level: 4
      Time taken for tests: 0.123 seconds
      Complete requests: 10
      Failed requests: 0
      bash-3.2$ ab -r -v 0 -dSq -n 10 -c 5 http://192.168.27.8:80/index.html
      ...
      Concurrency Level: 5
      Time taken for tests: 0.162 seconds
      Complete requests: 10
      Failed requests: 9
      (Connect: 0, Receive: 1, Length: 8, Exceptions: 0)
      undefined 1 Reply Last reply 28 Dec 2018, 19:53 Reply Quote 0
      • undefined
        Synapsis
        last edited by Synapsis 27 Dec 2018, 20:56

        Is there a way to change the size of the iframe for the webcam? In older versions the webcam would fill up the entire space while in the last update and the
        this new one it onlys fills part of the space.
        I'm using a Sance like the one dc42 suggested.

        1 Reply Last reply Reply Quote 0
        • undefined
          AS-3D Druck
          last edited by 27 Dec 2018, 22:14

          It works just fine 4 me.
          The Theme could be more (if dar mode turned on) like the realy Dark on V1 but it is way cooler and organized than the "old" one. 😉

          Best regards
          AS-3D Druck / Andre

          1 Reply Last reply Reply Quote 0
          • undefined
            Danal
            last edited by 27 Dec 2018, 23:28

            New web interface just shows blank screen on an iPhone 8+ running IOS 12.something. Both Safari and Chrome. Works fine on desktop Chrome on Win 10. Worked fine on phone before the upgrade.

            Two different duets. I use IP addresses only.

            When it fails on the phone, there are no error messages, and the progress bar seems to indicate something loaded... just no display, blank white screen.

            Delta / Kossel printer fanatic

            undefined 1 Reply Last reply 28 Dec 2018, 09:17 Reply Quote 1
            • undefined
              kazolar
              last edited by kazolar 28 Dec 2018, 00:51

              @Danal I am seeing the same blank page on the Pixel 3 XL. Just a blank screen. Tried Chrome and AdBlocker browser.

              Works in firefox thouhg

              1 Reply Last reply Reply Quote 0
              • undefined
                Jacotheron
                last edited by 28 Dec 2018, 09:03

                Works fine on my iPhone 6S in Safari (on both the printer and CNC). Loads very quickly, even while also connected on my computer (Firefox Developer Edition - latest aurora) mid print.

                A few other things I found that bothered me:

                • In Dark mode, the "Idle" status is not very visible - it melts into the background.
                • Both the Speed Factor and Extrusion Factor sliders appears to be dynamic. When changed, they will adjust their position (for example 100% is at the center, then you drag it to 90%, and it centers it again, though displaying the 90%; dragging it back to 100%, and it adjust itself again to be in the center). I would prefer it to remain static.
                1 Reply Last reply Reply Quote 0
                • undefined
                  3dmntbighker @Danal
                  last edited by 28 Dec 2018, 09:17

                  @danal said in Duet Web Control 2.0.0-RC2 is ready:

                  New web interface just shows blank screen on an iPhone 8+ running IOS 12.something. Both Safari and Chrome. Works fine on desktop Chrome on Win 10. Worked fine on phone before the upgrade.

                  Two different duets. I use IP addresses only.

                  When it fails on the phone, there are no error messages, and the progress bar seems to indicate something loaded... just no display, blank white screen.

                  I had to use the reprap.htm page to get it to display on my iPhone 8+. I tried Chrome, Safari and Firefox.

                  Scratch built CoreXY with Maestro
                  Heavily modified Ender 3 with Maestro
                  MPCNC work in progress with Duet WiFi

                  undefined 1 Reply Last reply 28 Dec 2018, 16:30 Reply Quote 0
                  • undefined
                    Edgars Batna
                    last edited by Edgars Batna 28 Dec 2018, 12:21

                    1. The Yes/No dialog buttons changed order. Please use the most common order: https://www.google.com/search?q=yes+no+dialog&num=100&safe=off&client=firefox-b-ab&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiq_behwcLfAhXH66QKHbIADbYQ_AUIDigB&biw=1600&bih=787

                    YES NO

                    1. Reverting to v1 does not work. Tried waiting, tried hitting F5.

                    2. Macros and GCode pages are now blocking the whole UI when clicked for around 10s.

                    3. I can't extrude from the UI - buttons are always disabled. Tried enabling cold extrusion. Sending commands directly and printing works tho.

                    config.g:
                    M305 P1 B4725 C7.060000e-8 ; Semitec 104-GT2 (used by E3D)
                    M305 P0 R4700 T100000 B3950
                    M570 H0 P30 T20

                    M563 P1 S"Extruder0" D0 H1 ; define tool (P), extruder drives (D, D0:1)
                    M207 S3 R0.0125 F20000 Z0.4 ; set retraction length (S), un-retract length (R), Z hop
                    M592 D0 A0.04 B0.0005 L0.2 ; nonlinear extrusion
                    M572 D0 S0.80 ; pressure advance (S) in seconds
                    M200 D1.75 ; set filament diameter
                    G10 P1 X0 Y0 Z0 ; Set tool axis offsets
                    G10 P1 R0 S0 ; Set initial tool active and standby temperatures to 0C

                    1. Send GCode button only sends it if clicked twice. Hitting Return works always tho.

                    2. No prompt for restart after updating config.g.

                    3. It's harder to click into text when editing files. No longer can click into the beginning of a line by clicking the blank space prior to the first character.

                    4. I get CORS request failed seemingly sporadically. The error does not go away until I reload the page. My last upload seemed to always fail at around 500KiB. I'm not sure if this is the frontend or backend. The next upload seemed to pause at 500KiB but eventually finished.

                    5. config .bak instead of config .g .bak is created when updating config . g. (Added spaces because my posts were flagged as spam).

                    undefined 1 Reply Last reply 30 Dec 2018, 05:38 Reply Quote 0
                    • undefined
                      resam
                      last edited by 28 Dec 2018, 12:28

                      @Edgars-Batna one would argue that Yes/No buttons are bad UX in general. It is more intuitive to re-use the verbs of the action you want to carry out:

                      "Are you sure you want to delete this file?" -> Delete / Cancel
                      "Start print now?" Print / Cancel

                      I'm not sure about the current state, but I think Mac and Windows used to have opposite positions for the affirmative and the cancel button placement (left or right)...

                      undefined 1 Reply Last reply 28 Dec 2018, 12:50 Reply Quote 0
                      • undefined
                        Edgars Batna @resam
                        last edited by Edgars Batna 28 Dec 2018, 12:50

                        @resam I suppose I agree. You could expand that to left-to-right reading order and having the first button as the default. Also, it's better to have the actions stacked vertically and have much larger buttons once the text is longer.

                        But otherwise it's more about the change compared to previous version. It should stay consistent per application. Changes like this between versions of same application are way worse in terms of UX. At some point people don't even read the messages anymore as they predict what comes next.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          kazolar @3dmntbighker
                          last edited by 28 Dec 2018, 16:30

                          @3dmntbighker thanks for reprap.htm idea, that worked on my pixel

                          1 Reply Last reply Reply Quote 1
                          • undefined
                            JRDM
                            last edited by JRDM 28 Dec 2018, 18:41

                            So far, I like how it's laid out. Time will tell if it's a more efficient layout.

                            I think the "light" scheme is way too flat, not enough contrast between background white and the almost-white sub-boxes. Even on a good monitor it's kind of a big field of almost white on white, on a marginal monitor it all washes out to white and there's no good edges for my eyes to catch onto. It would be helpful if the dividing lines would be a bit thicker too.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              kraegar
                              last edited by 28 Dec 2018, 18:49

                              Not exactly related to the new version, but I'd love to see the ability to move gcode files into sub directories from within the GUI.

                              Co-Creator of the RailcoreII CoreXY printer
                              https://www.thingiverse.com/thing:2407174

                              undefined 1 Reply Last reply 28 Dec 2018, 18:59 Reply Quote 0
                              • undefined
                                wilriker @kraegar
                                last edited by 28 Dec 2018, 18:59

                                @kraegar said in Duet Web Control 2.0.0-RC2 is ready:

                                Not exactly related to the new version, but I'd love to see the ability to move gcode files into sub directories from within the GUI.

                                That was possible in DWC1 already. I have not yet tried in DWC2, though.

                                Manuel
                                Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                with probably always latest firmware/DWC (incl. betas or self-compiled)
                                My Tool Collection

                                undefined 1 Reply Last reply 28 Dec 2018, 19:00 Reply Quote 0
                                • undefined
                                  kraegar @wilriker
                                  last edited by 28 Dec 2018, 19:00

                                  @wilriker How? I can make a folder, but can't figure a way to move a gcode file between folders. Unless I just upload a new copy of them.

                                  Co-Creator of the RailcoreII CoreXY printer
                                  https://www.thingiverse.com/thing:2407174

                                  undefined 1 Reply Last reply 28 Dec 2018, 19:02 Reply Quote 0
                                  • undefined
                                    wilriker @kraegar
                                    last edited by wilriker 28 Dec 2018, 19:02

                                    @kraegar Select them via the checkbox and then drag-n-drop. To get them a folder up use the bread-crumbs above the file list.

                                    P.S.: Just tested: you don't even have to select them via the checkboxes. Single files can just be drag-n-dropped directly. Use the "link" (that usually opens the wanna-print-this-dialog) as a click-location.

                                    Manuel
                                    Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                    with probably always latest firmware/DWC (incl. betas or self-compiled)
                                    My Tool Collection

                                    undefined 1 Reply Last reply 28 Dec 2018, 19:10 Reply Quote 0
                                    • undefined
                                      kraegar @wilriker
                                      last edited by 28 Dec 2018, 19:10

                                      @wilriker Hmm. What browser? Isn't working for me in either. I'm on chrome. Could be user error I guess

                                      Co-Creator of the RailcoreII CoreXY printer
                                      https://www.thingiverse.com/thing:2407174

                                      undefined 1 Reply Last reply 28 Dec 2018, 19:14 Reply Quote 0
                                      • undefined
                                        wilriker @kraegar
                                        last edited by 28 Dec 2018, 19:14

                                        @kraegar I use Vivaldi but that is basically a Chrome with a modified UI.

                                        Are we both talking about DWC1? Because that's where it works. I just tried and it seems to not be implemented in DWC2 so far.

                                        Manuel
                                        Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                                        with probably always latest firmware/DWC (incl. betas or self-compiled)
                                        My Tool Collection

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          kraegar
                                          last edited by 28 Dec 2018, 19:19

                                          Yep. Maybe it's being interefered with by a plugin or something on my side. Going to stop spamming this thread with it.

                                          Co-Creator of the RailcoreII CoreXY printer
                                          https://www.thingiverse.com/thing:2407174

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