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

    BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

    Scheduled Pinned Locked Moved
    Plugins for DWC and DSF
    27
    245
    39.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.
    • Tinchusundefined
      Tinchus @fcwilt
      last edited by

      @fcwilt what if you ECHO those variables to a file, and in the next restart you just read thta file again in config.g. This is how Im doing now to store the total printing time of my printer and it works

      chimaeraghundefined 1 Reply Last reply Reply Quote 1
      • chimaeraghundefined
        chimaeragh @Tinchus
        last edited by

        @Tinchus Can you give an example (code) of how this works in both situations (save and restore values)? I am trying to achieve something like this.
        Thanks

        Duet 2 Wifi, Ooznest Workbee CNC 1510

        Tinchusundefined 1 Reply Last reply Reply Quote 0
        • Tinchusundefined
          Tinchus @chimaeragh
          last edited by

          @chimaeragh Sure. For example, when I want to save the total uptime of the machine I execute count.g:
          echo >"uptime.g" "global.ontime =",{global.ontime + state.upTime/60}

          This saves in uptime.g the value of the global.ontime, and I get that value from the object model

          Next time the machine restarts, in config.g I have a M98 P"uptime.g", so the value of the global variable is read again and keeps being incremented.

          chimaeraghundefined 1 Reply Last reply Reply Quote 2
          • chimaeraghundefined
            chimaeragh @Tinchus
            last edited by

            @Tinchus Thanks

            Duet 2 Wifi, Ooznest Workbee CNC 1510

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

              BtnCmd 01.03.0 for DWC 3.5 has been published on github here

              Changes Since 0.10.15 (DWC 3.4.6)

              • Global Settings - Removed option to toggle radio button instead of selects
              • Added New Custom Charts Panel (Wiki) - (Includes ability to save chart data to csv)
              • Added Support for Global Arrays in panels
              • Added Job Progress Bar Panel
              • OM Panel - Added Object Model Lookup feature
              • Input & Text Panels - Added function to add an material designs icons to the panels - user can define icon and colour size
              • Input Panel - New option to run GCode command post user input
              • Input Panel - New option to enable automatic acceptance of inputted values on focus change
              • OM Panel - New option to perform basic maths on OM numeric values
              • Alt WebCam Panel - Added Nozzle Alignment Overlay Feature
              • Fixed Bug in Colour Picker
              • Fixed Reset Settings function
              • Changed Startup behaviour to load all BtnCmd Tabs in background on first access, to start custom chart data capture without needing to switch to relevant tab
              • Global Settings - Added option to quickly switch to BtnCmd and return to DWC dashboard on DWC launch, to allow custom chart's to begin to capture data immediately.
              • Fixed intermittent issue where panels would occasionally jump off screen in edit mode.
              • Edit mode behaviour change - When entering/exiting edit mode, screen will remain on current tab, unless tab(s) have been deleted.
              • General non-critical javascript bug fixes

              Custom Charts:
              adafcea9-4c54-4d7d-bf19-9f45bab2e54d-image.png

              3f29e36a-c0f0-4462-8141-3553f6a30579-image.png

              Example Custom Icons:
              39905938-aa9b-4f0d-b974-f9a8566b6cbf-image.png

              Nozzle Alignment :
              b0207222-6d9b-4925-ac73-8d1fa543deac-image.png

              ede6e8d1-e51b-4561-8bd9-50b1aabeaa26-image.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

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

                updated to v01.03.01

                Fixed issue with macros from a button in custom panel

                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

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

                  Updated to 01.03.03
                  No functional changes - re-packaged for 3.5.2

                  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

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

                    Updated to 01.03.04

                    • Fixed Bug switching between create & edit mode where new items could be added to the wrong layout/custom panel

                    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

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

                      Updated to 01.03.05 for DWC 3.5.3 compatability.
                      No functional changes.

                      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

                      MintyTreborundefined 1 Reply Last reply Reply Quote 2
                      • cosmowaveundefined cosmowave referenced this topic
                      • o_lampeundefined o_lampe referenced this topic
                      • MintyTreborundefined
                        MintyTrebor @MintyTrebor
                        last edited by

                        New BtnCmd Release for DWC 3.6 v 01.03.08 here.
                        New feature to add your own JPG/PNG images to Icon/Text Panel - Instructions are on the wiki

                        8dd28439-6bd5-4e3b-a91a-f27defd9b898-image.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

                        MintyTreborundefined 1 Reply Last reply Reply Quote 3
                        • fcwiltundefined
                          fcwilt @MintyTrebor
                          last edited by

                          @MintyTrebor

                          Hi,

                          I have been using it for some time.

                          It is the greatest thing since sliced bread!

                          I'm very glad you have been keeping it up-to-date as new versions of Duet firmware come out.

                          Do you have a "tip jar"?

                          Frederick

                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                            Updated to 01.04.00 for DWC 3.6 compatability.
                            No functional changes.

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