Duet Web Control wishlist notes and priorities
-
@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.
-
@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. -
@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.
-
@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.
-
@wilriker I'm curious how much bandwidth is actually being used. I suppose on a metered connection everything adds up.
-
@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. -
@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...
-
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.
-
With German language setting, you can not create new system files
-
@zerspaner_gerd said in Duet Web Control wishlist notes and priorities:
With German language setting, you can not create new system files
thate is also at the dutch language settings you can not create new system files
-
@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 toG1
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. -
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?
-
@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.
-
@davea thats the difference between factor 1024 or 1000.
KiB, MiB, etc are with 1024 - which is technically the correct factor in computer science. -
@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.
-
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.
-
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... -
@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.
-
I would definitely update the UI, it looks really outdated. I will be making my own theme, so yeah
-
I've just run into a big problem on DWC 1.22, unless it's me being stupid, but I can't see any of the gcode folders that I have in the gcode directory. In fact, not all the files that are in the root folder are there either. It seems to be limited to about 45 files. If I uploada files, it works OK but doesn't show up in the file list. The same thing happens if I try to d-cretae a folder - it seems to work OK but doesn't show up. Taking the SD card out of the Duet and putting it in my PC, I can see all the files and folders within the gcode folder - including the files that I just uploaded through DWC and the folder that I just created. BUT putting the SD card back in the Duet, none of the recently created files or folders show up in the list. Pressing the refresh button doesn't help either.