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

Duet Web Control 1.17 RC

Scheduled Pinned Locked Moved
Firmware installation
19
47
6.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.
  • undefined
    deckingman
    last edited by 18 Jul 2017, 18:35

    @fcwilt:

    ….............
    "Wobbly" - that's awful - I think - what's a "wobbly"?
    ............................

    Frederick

    Yes, sorry. You need to be a native English speaker to know what that means. It's usually applied to people. I don't know if you are married but if you are and you do something that really upsets your wife, she'd likely start shouting and waving her arms about - that's throwing a wobbly.

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

    1 Reply Last reply Reply Quote 0
    • undefined
      chrishamm administrators
      last edited by 18 Jul 2017, 21:05

      @deckingman:

      @chrishamm:

      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.

      Duet software engineer

      1 Reply Last reply Reply Quote 0
      • undefined
        deckingman
        last edited by 18 Jul 2017, 21:17

        @chrishamm:

        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.

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

        1 Reply Last reply Reply Quote 0
        • undefined
          DjDemonD
          last edited by 19 Jul 2017, 08:02

          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?

          Simon. Precision Piezo Z-Probe Technology
          www.precisionpiezo.co.uk
          PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

          1 Reply Last reply Reply Quote 0
          • undefined
            chrishamm administrators
            last edited by 19 Jul 2017, 13:00

            DJDemonD if you're referring to the Duet WiFi: Yes, see my earlier post:

            @chrishamm:

            @Guyaros:

            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.

            Duet software engineer

            1 Reply Last reply Reply Quote 0
            • undefined
              DjDemonD
              last edited by 19 Jul 2017, 13:30

              Thanks. Renamed to DWC.zip and it uploaded straightaway, hit refresh and its all good.

              Simon. Precision Piezo Z-Probe Technology
              www.precisionpiezo.co.uk
              PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

              1 Reply Last reply Reply Quote 0
              • undefined
                joestefano
                last edited by 23 Jul 2017, 19:38

                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 Reply Last reply Reply Quote 0
                • undefined
                  deckingman
                  last edited by 23 Jul 2017, 19:50

                  @joestefano:

                  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.

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

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    nikker
                    last edited by 23 Jul 2017, 21:20

                    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

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      kazolar
                      last edited by 27 Jul 2017, 16:39

                      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?

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        chrishamm administrators
                        last edited by 27 Jul 2017, 19:52

                        @kazolar:

                        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.

                        Duet software engineer

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          deckingman
                          last edited by 27 Jul 2017, 20:00

                          @chrishamm.

                          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

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

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            deckingman
                            last edited by 27 Jul 2017, 21:01

                            Another little thing. DWC disconnects after what seems to be a period of inactivity - reason timeout. Is it supposed to?

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

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              joestefano
                              last edited by 29 Jul 2017, 17:54

                              @joestefano:

                              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?

                              1 Reply Last reply Reply Quote 0
                              • fcwiltundefined
                                fcwilt
                                last edited by 30 Jul 2017, 01:02

                                @joestefano:

                                @joestefano:

                                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

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                1 Reply Last reply Reply Quote 0
                                • Zesty_Lykleundefined
                                  Zesty_Lykle
                                  last edited by 30 Jul 2017, 06:41

                                  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.

                                  Lykle
                                  Design, make and enjoy life

                                  Co Creator of the Zesty Nimble

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    joestefano
                                    last edited by 1 Aug 2017, 23:45

                                    @fcwilt:

                                    @joestefano:

                                    @joestefano:

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      duetino
                                      last edited by 20 Sept 2017, 13:14

                                      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

                                      do it to it -> rinse and repeat

                                      1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators
                                        last edited by 20 Sept 2017, 13:44

                                        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.

                                        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

                                        1 Reply Last reply Reply Quote 0
                                        • tomasfundefined
                                          tomasf
                                          last edited by 20 Sept 2017, 14:09

                                          @duetino:

                                          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.

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