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

    BtnCmd-DWC Plugin - Customise DWC - v01.03.08 01-03-25

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    27
    244
    38.4k
    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.
    • MintyTreborundefined
      MintyTrebor @MikeS
      last edited by

      @mikes Glad you got it working. Your idea might be quite challenging to achieve in the plugin, 'status' is kind of a global parameter, so it was already available in DWC for me to use without using additional resources. I'll have to see what is needed to work with the object model in the way you describe.

      As an aside/alternative - if what you want to achieve is:
      If job % complete is between 0-25% send http request to wled set lights blue
      If job % complete is between 26-50% send http request to wled set lights red
      in general terms - then that would be easy to do with NodeDSF.

      NodeDSF - Native Node-Red integration with Duet boards.
      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
      ReleaseMgr - Duet update info inside DWC.
      Repo

      1 Reply Last reply Reply Quote 0
      • stuartofmtundefined
        stuartofmt @MintyTrebor
        last edited by

        @mintytrebor said in BtnCmd - DWC Plugin - Create custom layouts & action buttons.:

        If it does turn out to be a framework plugin issue, I may just stick with a 3.3b2+ version

        I had a bit of spare time and upgraded to 3.3b3. I installed the relevant BtnCmd and it is now working. I'll report back on what I find.
        Thanks for this - I'm sure many will find it useful.

        1 Reply Last reply Reply Quote 1
        • MintyTreborundefined
          MintyTrebor @stuartofmt
          last edited by

          @stuartofmt So just to report back. I have just setup a brand new board with 3.2.2, and I did get an decompression error - but it is the same error I mention in the release notes, the plugin still installed OK...So I am not entirely sure what went wrong with yours...I suspect this is not going to be a ongoing problem as I will switch to 3.3 after the beta and I won't be compiling for 2 versions of DWC going forward.

          NodeDSF - Native Node-Red integration with Duet boards.
          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
          ReleaseMgr - Duet update info inside DWC.
          Repo

          1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD
            last edited by

            Very cool plugin!
            Haven't had time to explore it to it's fullest extent but it will definitely be useful.

            1 Reply Last reply Reply Quote 1
            • tristanryerparkeundefined
              tristanryerparke
              last edited by tristanryerparke

              Hey @MintyTrebor is it possible to have a panel which shows any value from the Object Model? Or several values in one panel?
              Maybe with the option for a text string in front of the value, entered as such:

              "Tool2XOffset: " , {tools[2].offsets[0]}
              

              Displaying Like:

              Tool2XOffset: 26
              

              Thanks,
              T

              MintyTreborundefined 1 Reply Last reply Reply Quote 0
              • MintyTreborundefined
                MintyTrebor @tristanryerparke
                last edited by

                @tristanryerparke I have just pushed Alpha 0.8.16 for DWC 3.3b3 which includes a panel to display Machine Object Model Values.
                MMValue.png

                Use the Object Model Browser Plugin to get the model path required to create the BtnCmd panel. (highlighted in blue)
                OMBSelect.png

                This feature should be treated as experimental, as I have not had much time to look at the resource impact of adding this feature. This is also the first release for 3.3b3, so there may be other unforeseen bugs.

                NodeDSF - Native Node-Red integration with Duet boards.
                BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                ReleaseMgr - Duet update info inside DWC.
                Repo

                Stephen6309undefined 1 Reply Last reply Reply Quote 1
                • Stephen6309undefined
                  Stephen6309 @MintyTrebor
                  last edited by

                  @mintytrebor Why is it installed in the Jobs directory?

                  MintyTreborundefined 1 Reply Last reply Reply Quote 0
                  • MintyTreborundefined
                    MintyTrebor @Stephen6309
                    last edited by

                    @stephen6309 If you are referring to the plugin files, you will have to ask the DWC maintainer, I have no control over where the plugin files go.

                    NodeDSF - Native Node-Red integration with Duet boards.
                    BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                    ReleaseMgr - Duet update info inside DWC.
                    Repo

                    1 Reply Last reply Reply Quote 0
                    • Stephen6309undefined
                      Stephen6309 @MintyTrebor
                      last edited by Stephen6309

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • Stephen6309undefined
                        Stephen6309
                        last edited by Stephen6309

                        @chrishamm Why are the install files put in Jobs? I now have to scroll to find my print files.

                        Edit: It took a delete and reinstall to fix it.

                        MintyTreborundefined 1 Reply Last reply Reply Quote 0
                        • MintyTreborundefined
                          MintyTrebor @Stephen6309
                          last edited by

                          @stephen6309 I've just checked my Duet2 Ethernet 3.3b3. I see no plugin files in jobs.... What version are you running?

                          NodeDSF - Native Node-Red integration with Duet boards.
                          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                          ReleaseMgr - Duet update info inside DWC.
                          Repo

                          Stephen6309undefined 1 Reply Last reply Reply Quote 0
                          • Stephen6309undefined
                            Stephen6309 @MintyTrebor
                            last edited by Stephen6309

                            @mintytrebor 6HC with a Pi4 and 1LC.
                            FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.3beta3 ELECTRONICS: Duet 3 MB6HC v1.01 or later FIRMWARE_DATE: 2021-04-22 16:28:03

                            Duet TOOL1LC firmware version 3.3beta3 (2021-04-21 20:42:51)

                            DWC is 3.3.0-b3

                            Installed via System's upload system files.

                            1 Reply Last reply Reply Quote 0
                            • Stephen6309undefined
                              Stephen6309
                              last edited by

                              Update: I had uninstalled and deleted those new files in Jobs. I've now reinstalled, and nothing show up in Jobs. Dang computers...

                              MintyTreborundefined 1 Reply Last reply Reply Quote 1
                              • MintyTreborundefined
                                MintyTrebor @Stephen6309
                                last edited by

                                @stephen6309 Sounds like a glitch on the install. Glad you got it resolved!

                                NodeDSF - Native Node-Red integration with Duet boards.
                                BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                ReleaseMgr - Duet update info inside DWC.
                                Repo

                                Stephen6309undefined 1 Reply Last reply Reply Quote 0
                                • Stephen6309undefined
                                  Stephen6309 @MintyTrebor
                                  last edited by

                                  @mintytrebor Can't select a panel from the drop down that appears underneath the add panel dialog, the drop down just disappears. The help hint for enable MQTT is under the BtnCmd Setting dialog, so you can't read it.

                                  Chrome Version 90.0.4430.85 (Official Build) (64-bit)

                                  Microsoft Edge does the same thing.

                                  Windows 10 20H2 64-bit.

                                  MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                  • MintyTreborundefined
                                    MintyTrebor @Stephen6309
                                    last edited by

                                    @stephen6309 Thanks for the feedback. Is it similar to this issue https://forum.duet3d.com/topic/22403/weird-dwc-z-index-dialogue-issue ?

                                    NodeDSF - Native Node-Red integration with Duet boards.
                                    BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                    ReleaseMgr - Duet update info inside DWC.
                                    Repo

                                    Stephen6309undefined 1 Reply Last reply Reply Quote 0
                                    • Stephen6309undefined
                                      Stephen6309 @MintyTrebor
                                      last edited by Stephen6309

                                      @mintytrebor Select add panel, click on down arrow, drop down appears, can't use mouse to select, but the up/down keys work.

                                      Reuploaded DuetWebControl-SD.zip, no change.

                                      MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                      • MintyTreborundefined
                                        MintyTrebor @Stephen6309
                                        last edited by

                                        @stephen6309 Does it look like this or different?

                                        Screenshot 2021-04-24 181259.png

                                        NodeDSF - Native Node-Red integration with Duet boards.
                                        BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                        ReleaseMgr - Duet update info inside DWC.
                                        Repo

                                        Stephen6309undefined 1 Reply Last reply Reply Quote 0
                                        • Stephen6309undefined
                                          Stephen6309 @MintyTrebor
                                          last edited by

                                          @mintytrebor No, that dropdown is underneath the Edit Panel. Can't see DWC Webcam and Alt Webcam.

                                          MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                          • MintyTreborundefined
                                            MintyTrebor @Stephen6309
                                            last edited by

                                            @stephen6309 Thanks for info. If you/when you have an opportunity I would appreciate it if you could check if the issue is the same on the edit button settings window.

                                            This does sound like the same issue as I linked to previously, its unfortunate the resolution didn't work for you. We were never able to track down what the cause was....

                                            NodeDSF - Native Node-Red integration with Duet boards.
                                            BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                            ReleaseMgr - Duet update info inside DWC.
                                            Repo

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