Duet Web Control 1.17 RC
-
Thanks for your report, I've just fixed this problem in v1.17+1 - see https://github.com/chrishamm/DuetWebControl/blob/master/DuetWebControl-1.17%2B1.zip.
The web interface had a problem with filament directories that did not have a valid "last modified" attribute, but it should be fixed now.Using the new Filaments feature you can automate your filament load+unload process and set the required temperatures, fan values etc. in the load+unload macros. They can be edited by right-clicking on the items of the Filaments page.
Hi Chris,
I'm pleased to report that it works fine now. I'd also like to say thank you for this feature which will be useful with my Diamond hot end.
This is probably too complicated but it would be kind of nice if I could assign multiple filaments to tools that use multiple extruders. e.g. if I had Tool defined which used two extruders, then it would be nice if I could show both the filaments (colours) that were assigned to it. As I understand it, I can only assign single filaments to single extruder tools. As I said, it would be nice to have but no bg deal if it's too complicated to do.
I have another little glitch to report to you I'm afraid. When I used the system editor to edit my config.g to create a virtual heater using M305 and give it a name, after saving config.g and rebooting Duet, DWC failed to connect and I got the following JavaScript Error…..........
Meesage: TypeError: lastStatusResponse.temps.extra "square bracket,i,square bracket" is undefined (had to type that long hand otherwise it looks like a single italic)
URL: http://192.168.1.119/js/dwc.js
Line: 1079:1
Error object:{}This only happens once. That is to say, after receiving the message I hit "Connect" and everything is fine again and the virtual heater shows up in the "Extra" tab as expected.
Ian
Thanks, I found the bug and will fix it in my next release.
At the moment filaments are mapped per extruder drive, so you will be able to use filament counters etc. (of course as soon as that is implemented in the firmware) with your diamond hotend as well. However for the load+unload macros it really makes sense to run them in the context of a single extruder drive, so you will have to define individual tools per extruder drive to load+unload different materials.
-
Thanks, I found the bug and will fix it in my next release.
At the moment filaments are mapped per extruder drive, so you will be able to use filament counters etc. (of course as soon as that is implemented in the firmware) with your diamond hotend as well. However for the load+unload macros it really makes sense to run them in the context of a single extruder drive, so you will have to define individual tools per extruder drive to load+unload different materials.
Yes, that all makes perfect sense. Thanks again for what you've done so far - my interface is looking so much neater now that I don't have to use dummy tools to display the temperatures of various thermistors that I have stuck in various places around the printer.
-
Have we got an answer on whether the latest DWC can be installed via DWC or is it a case of remove memory card and install it manually?
-
DJDemonD if you're referring to the Duet WiFi: Yes, see my earlier post:
What's the best method to update to the new DWC version ?
Older DWC versions may complain about DuetWebControl*.zip being incompatible with the Duet WiFi. Hence I suggest to rename the ZIP archive to DWC.zip and to upload it once more. That should work.
Otherwise just upload the entire ZIP file on the Settings page.
-
Thanks. Renamed to DWC.zip and it uploaded straightaway, hit refresh and its all good.
-
Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.
-
Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.
+1
I'd like to know this too please.
-
Tried to grab the lastest zip and extract to /www on the flash card but when connecting to the web interface i get this 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:
Message: Uncaught ReferenceError: maxHeaters0 is not defined
URL: http://192.168.1.164/js/dwc.js
Line: 1006:115
Error object: {}Edit: Should have done some more research, updated to the latest edge wifiserver and wififirmware and all works
-
I have 4 extruders configured and I only see Fan1 in the Fans section of DWC, can other fans be added there? Technically Fan1 corresponds to Fan0 – so presumably you'd see Fan0,Fan2,Fan4,Fan6?
-
I have 4 extruders configured and I only see Fan1 in the Fans section of DWC, can other fans be added there? Technically Fan1 corresponds to Fan0 – so presumably you'd see Fan0,Fan2,Fan4,Fan6?
DWC supports 3 fans at the moment. You can toggle their visibility on the settings page.
-
Chris,
Have you seen this thread that I started ? https://www.duet3d.com/forum/thread.php?id=2094
I wasn't sure if it was firmware or DWC so I didn't post the issue in this thread. It seems now that it is DWC related.
Ian
-
Another little thing. DWC disconnects after what seems to be a period of inactivity - reason timeout. Is it supposed to?
-
Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.
Anyone know how to do this? Is there any documentation? Is it a firmware/config thing?
-
Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.
Anyone know how to do this? Is there any documentation? Is it a firmware/config thing?
There is a down arrow next to each Tool. Click on that and you will see "Load Filament".
If you select that you will be shown a list of possible Filaments to choose from.
If a Filament is already loaded to the Tool when you click the down arrow you will see options to "Change Filament" or "Unload Filament".
Frederick
-
You know, every time I come to this forum I am struck by 2 things.
1 The incredible amount of knowledge and sharing that goes on here.
2 The enormous amount of support offered by Tony, Chris and DC.As for the new DWC, thank you for a great job.
Oh, and I would like to be able to control my sliders with more accuracy as well.
-
Can someone provide a step by step for creating filaments and assigning them to tools? I was able to create a PLA and ABS but cant figure out how to assign to a tool. I am using Duetwifi with the latest version of DWC and Firmware.
Anyone know how to do this? Is there any documentation? Is it a firmware/config thing?
There is a down arrow next to each Tool. Click on that and you will see "Load Filament".
If you select that you will be shown a list of possible Filaments to choose from.
If a Filament is already loaded to the Tool when you click the down arrow you will see options to "Change Filament" or "Unload Filament".
Frederick
Thank you Frederick, That worked great
-
Hi,
First things first: GREAT JOB -> NICE ; rinse and repeat (as long as you can take it ;-))!!!I had this strong tendency to create a conky plugin for my printer so that I have it always insight on my desktop (I believe linux users only might be interrested in that).
So I gave the API a try and voila I get answers to my request. Whoooheee !!! Then I thought that a M408S0 will be a great addition to my findings and -> stuck/stop/end of story.
which brings me to the ultimate question -> why do I not get a response from gcode I submit to webcontrol via curl? I only get {"buff":250}. I looked it up in the communication of the https://github.com/chrishamm/DuetWebControl/blob/dev/core/js/comm.js and voila here is the problem @ the end of the file in the function```
[[language]]
function sendGCode(gcode, fromInput) {
if (gcode == "") {
return;
}
lastSentGCode = gcode;// Although rr_gcode gives us a JSON response, it doesn't provide any useful values for DWC. // We only need to worry about an AJAX error event, which is handled by the global AJAX error callback. $.ajax(ajaxPrefix + "rr_gcode?gcode=" + encodeURIComponent(gcode), { dataType: "json" });
Why is it not possible to return whatever the firmware sends back? Interresting thing: when I submit a M408S0, I get the response on my Gcode Console in the webinterface?!?! Please could you explain why and if it would be possible to reroute it to a request? thanks and all the best from duetino
-
This is all to do with the way that gcodes are buffered by the firmware, and the fact that some gcodes (e.g. G28, G32) take too long to execute so DWC would time out if it had to wait for a response. The most common gcodes don't generate any response at all unless an error occurs. There is a separate rr_ command to get recent responses.
-
Please could you explain why and if it would be possible to reroute it to a request?
Yeah, unfortunately, the way G-code request/result is handled in RRF is kind of broken, and isn't suitable for programmatic usage. You would need to poll [c]rr_command[/c] and hope you're getting the correct response. If several clients are polling it, they will often get each other's responses. You can reproduce it pretty easily by having two browser windows connected to the same DWC instance and using the console.
One dangerous thing about the web interface is that it applies the AJAX retry count to all XHR requests. This means that DWC will resubmit G-code requests if they fail to return a response, even if the G-code was actually run on your printer. So if your retry count is 2, moving the head down 100 mm can, in unfavourable circumstances, actually move it down 300 mm.
-
Tom, that is a issue I was not aware of. Do you have suggestions on how to fix it (preferably without breaking old versions of either RRF or DWC?). I hope Christian will see this thread and add his input.