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

    Duet Web Control wishlist notes and priorities

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    32
    116
    20.7k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      If a web client doesn't request an update for more than 8 seconds and isn't doing a file upload, it will be timed out after 8 seconds. So you shouldn't reduce the polling rate to below about once every 5 seconds, unless the automatic reconnect mechanism is working really well.

      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

      wilrikerundefined 1 Reply Last reply Reply Quote 0
      • wilrikerundefined
        wilriker @dc42
        last edited by

        @dc42 said in Duet Web Control wishlist notes and priorities:

        If a web client doesn't request an update for more than 8 seconds and isn't doing a file upload, it will be timed out after 8 seconds. So you shouldn't reduce the polling rate to below about once every 5 seconds, unless the automatic reconnect mechanism is working really well.

        OK, then this leaves me with my request to get the Connect/Disconnect button back as virtually the only option. 😕

        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
        • chrishammundefined
          chrishamm administrators
          last edited by

          @dc42 and @wilriker I think you only need to worry about session timeouts if you have a password configured. If none is set, RRF does not deny rr_* request and thus the web interface should remain functional even with status update intervals greater than 8 seconds. And if DWC encounters multiple AJAX errors (e.g. because the session timed out), v1.22 attempts to reconnect automatically with the last entered password. I suggest you try it out and if it does not work in the way you expect, I'll consider adding back the Connect/Disconnect buttons.

          Duet software engineer

          wilrikerundefined 1 Reply Last reply Reply Quote 0
          • wilrikerundefined
            wilriker @chrishamm
            last edited by

            @chrishamm I don't have a non-default password set, so no problem on this end.
            Still I would need a way to configure a separate (tab in) background update interval if no print is running. I do want my 1s-updates when tab is in foreground and I am ok with 2s-updates when tab is in background and printing. I just need this third case.

            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
            • deckingmanundefined
              deckingman @chrishamm
              last edited by

              @chrishamm said in Duet Web Control wishlist notes and priorities:

              @deckingman Sorry for the confusion, my bad. It's fixed in 1.22-b3 which is now available here: https://github.com/chrishamm/DuetWebControl/blob/dev/DuetWebControl-1.22-b3.zip

              Confirmed fixed. Thanks.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              1 Reply Last reply Reply Quote 0
              • wilrikerundefined
                wilriker
                last edited by wilriker

                @chrishamm I have to apologize. I am doing something here, that I, as a professional software developer, always complain about: I told you what I want you to implement. I'm sorry this is bad behavior.

                Instead I am now going to tell you what I need in terms of functionality:
                I need an (at least semi-)automatic way to considerably reduce non-printing background traffic (even down to zero).
                It would be acceptable for me to push a button or to configure a setting or something similar.
                It is not acceptable to me to have to change settings all the time.

                I will be happy to accept whatever you implement as long as it fulfills my above description.

                And just to be clear this is just a request not an order nor an expectation.

                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

                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator @wilriker
                  last edited by

                  @wilriker I'm curious how much bandwidth is actually being used. I suppose on a metered connection everything adds up.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  wilrikerundefined 1 Reply Last reply Reply Quote 0
                  • wilrikerundefined
                    wilriker @Phaedrux
                    last edited by

                    @phaedrux I'd have to calculate this again but AFAIR it did sum up to something between 1 and 2 GB per month just for the Ajax updates in my use-case. This does not include any further interaction with the Duet.
                    Currently I have a monthly included traffic of 10GB on the connection I need to use for this which is more than sufficient but this will drop to only 1GB in September.

                    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
                    • whosrdaddyundefined
                      whosrdaddy
                      last edited by

                      @Phaedrux : well it consumes quite a bit, open F12 on IE or Chrome and see what I mean, on a local network this is no problem, but can be problematic on mobile...

                      1 Reply Last reply Reply Quote 0
                      • chrishammundefined
                        chrishamm administrators
                        last edited by

                        So I've just released v1.22 of the web interface, see https://github.com/chrishamm/DuetWebControl/releases/tag/1.22 for the ZIP bundle and the full change log since the last stable version.

                        @wilriker This version brings back the Connct/Disconnect button too, although you need to enable it explicitly on the Settings page. I guess that is OK.

                        Duet software engineer

                        wilrikerundefined 1 Reply Last reply Reply Quote 2
                        • zerspaner_gerdundefined
                          zerspaner_gerd
                          last edited by zerspaner_gerd

                          With German language setting, you can not create new system files

                          0_1533246243596_Neue Datei DWC.JPG

                          Board: Duet WiFi 1.03 | Firmware Version: 3.1.1 | WiFi Server Version: 1.23 | Web Interface Version: 3.1.1

                          gideonundefined 1 Reply Last reply Reply Quote 0
                          • gideonundefined
                            gideon @zerspaner_gerd
                            last edited by

                            @zerspaner_gerd said in Duet Web Control wishlist notes and priorities:

                            With German language setting, you can not create new system files

                            0_1533246243596_Neue Datei DWC.JPG

                            thate is also at the dutch language settings you can not create new system files

                            1 Reply Last reply Reply Quote 0
                            • wilrikerundefined
                              wilriker @chrishamm
                              last edited by

                              @chrishamm said in Duet Web Control wishlist notes and priorities:

                              @wilriker This version brings back the Connct/Disconnect button too, although you need to enable it explicitly on the Settings page. I guess that is OK.

                              Thank you that is totally acceptable for me! 👍

                              Minor thing: in the changelog it is still listet that S2 would be added to G1 moves and that this is configurable even though this has been removed again. I know it but it might confuse users that did not follow the beta-development.

                              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
                              • DaveAundefined
                                DaveA
                                last edited by

                                Just a small nit or confusion on my part. In the G-Code Files display the file sizes are shown as KiB or MiB. I get Kilo or Mega and Byte but what's the lower case i signify?

                                wilrikerundefined resamundefined 2 Replies Last reply Reply Quote 0
                                • wilrikerundefined
                                  wilriker @DaveA
                                  last edited by

                                  @davea said in Duet Web Control wishlist notes and priorities:

                                  Just a small nit or confusion on my part. In the G-Code Files display the file sizes are shown as KiB or MiB. I get Kilo or Mega and Byte but what's the lower case i signify?

                                  These are the binary prefixes, so actually this stands for Kibi Byte and Mebi Byte. This means it is based on powers of two instead of powers of ten for KB, MB, Kilo Byte, Mega Byte.

                                  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
                                  • resamundefined
                                    resam @DaveA
                                    last edited by

                                    @davea thats the difference between factor 1024 or 1000.
                                    KiB, MiB, etc are with 1024 - which is technically the correct factor in computer science.

                                    wilrikerundefined 1 Reply Last reply Reply Quote 0
                                    • wilrikerundefined
                                      wilriker @resam
                                      last edited by wilriker

                                      @resam Funny enough that is a hornet's nest of confusion. Hardware and network are always specified in and based on decimal prefixes - with one exception: RAM. It is specified as decimal prefix but based on powers of two.

                                      Also different operating systems use different approaches of giving you size of (any kind of) disks. Some will report the size in decimal others in binary and you have to find out which one does what. I hate that.

                                      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
                                      • wilrikerundefined
                                        wilriker
                                        last edited by

                                        I was using the new DWC from my tablet tonight and after nearly every input to the GCODE console I was disconnected with the following error:

                                        JavaScript Error
                                        
                                        A JavaScript error has occurred so the web interface has closed the connection to your board. It is recommended to reload the web interface now. If this happens again, please contact the author and share this error message:
                                        
                                        Version: 1.22
                                        Message: Uncaught TypeError: rememberedGCodes.indexOf is not a function
                                        URL: http://duet-url/js/dwc.js
                                        Line: 1175:69
                                        Error object: {}
                                        

                                        Since installing the latest version I did not use the GCODE console from a desktop browser very much but I have never seen this error there.

                                        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
                                        • resamundefined
                                          resam
                                          last edited by

                                          Anyone got the webcam flip / rotation working?
                                          The rotation settings just gets reset to 0° every time I reload DWC or click "Apply Settings". The Flip option does get saved, but I don't think it does anything for me...

                                          1 Reply Last reply Reply Quote 0
                                          • chrishammundefined
                                            chrishamm administrators
                                            last edited by

                                            @wilriker It sounds like your tablet saved a bad value for rememberedGCodes. Can you please try to save the settings again on your tablet or revert to the factory defaults? That should reset this variable to the right type.

                                            Duet software engineer

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