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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      The List items functionality is still off. It lists every single gcode I've entered into the console and even if I delete them they just show up again on the next reload. Any new ones I purposely enter using the add gcode button don't remain after a reload either.

      Z-Bot CoreXY Build | Thingiverse Profile

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • ShadowXundefined
        ShadowX @chrishamm
        last edited by

        @chrishamm

        Okay, that makes sense. I did have directories inside the folder to sort the different macro sets.

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

          @chrishamm Again thanks for coming up with fixes so quickly. 👍

          Now I only need my Connect/Disconnect button back. 😉
          Or - and that would also be OK for me - drastically reduce the AJAX calls when the tab is in the background and no print is ongoing. And by drastically I mean intervals of at least 1 minute. This could even be made a setting.
          Just thinking: is the longer interval for background tabs an implemented feature or is that just what my browser (Vivaldi) does and you have no control over it?

          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 installed 1.22.b3 and everything has moved. Machine status on left, temp graph on right., tool control in the middle. And I also don't have a connect button.
            Is this intentional?

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

              @phaedrux That is not surprising because you apparently did not save the settings after deleting those entries. I just checked and it does work.

              @wilriker You can already do that. Just change the AJAX update interval to 60000 and it will send exactly one update request per minute.

              @DaveA Yes, it is. I don't think there is any point in leaving the Connect/Disconnect button on the UI - if you want to disconnect, close the browser tab. Reconnecting will happen automatically anyway from now on.

              Duet software engineer

              wilrikerundefined 1 Reply Last reply Reply Quote 0
              • JoduWeiundefined
                JoduWei
                last edited by JoduWei

                make machine control modular! It would be nice, if i could remove, add widgets and edit widgets (every widget has its own file)

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

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

                  @wilriker You can already do that. Just change the AJAX update interval to 60000 and it will send exactly one update request per minute.

                  But that will reduce all AJAX updates to be 60s apart (and in background even 120s). What I would like is the following (in my case I already have AJAX update rate set to 1s interval):

                  1. Tab in foreground: selected update interval
                  2. Tab in background and print ongoing: 2x interval as selected (this is currently what I get whenever the tab is in background, i.e. 2s update interval for my settings)
                  3. Tab in background with no print: 60s update interval - or even paused but this may lead to not going to 2) above if a print is started another way/session

                  I usually keep my tabs open and in specific positions inside my tab bar (they form some kind of logical groups) and I only close tabs that I will not use for longer, so what you recommended to @DaveA would heavily disrupt my workflow.

                  I could also live with a configurable visibility of a Connect/Disconnect button that is invisible by default.

                  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
                  • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA