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.6k
    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 @radiomodell
      last edited by MintyTrebor

      @radiomodell @radiomodell said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.02 21-12-21:

      Is it possible to switch to last active BtnCmd Panel after starting a job? Standard is switching to the Status panel.

      That is standard DWC operating behaviour - even if I could change it, I'm reluctant to mess with the way DWC operates.

      Changing colour might be possible for OM Panels/Inputs, but its likely to be a significant amount of work, I'll add to the wish list.

      In your previous post you mentioned...

      @radiomodell said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.02 21-12-21:

      Configured as string input it accepts numbers also. But comas are not converted to dots as in number configuration.

      I believe this is standard behaviour (I do not do any manipulation other than to check that the entered value is a Number if you have set the OM Input Panel properties to be a number). Try using the set global with and without quotes eg:

      set global.#### = "1234.5"

      and

      set global.#### = 1234.5

      Check the object model browser and you will see that the first example is shown in quotes, and the second is not. One is a string the other is a number. A number in a string, is still a string, and will not get modified.

      BtnCmd uses the same command as above to set global variables. So it should behave the same way as if you were to enter it manually, or via a macro.

      Forgot to add I have not yet implemented the ability to allow variables to be assigned with other object model values by reference or other expressions - I do plan to add that capability later.

      Thanks for the feedback.

      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
      • MintyTreborundefined
        MintyTrebor @radiomodell
        last edited by MintyTrebor

        @radiomodell So I am thinking about the idea of a 3rd type of variable input panel - true/false (alongside String/text & Numeric)

        I am not sure there is any value in adding other types. I think it works better as a quick simple entry panel for setting control parameters etc. Anything more complex can still be entered via the standard DWC console entry function, or via a macro.

        Thoughts?

        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

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

          @mintytrebor true/false input panel would make handling easier to control conditional commands in macros.

          @mintytrebor said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.02 21-12-21:

          Check the object model browser and you will see that the first example is shown in quotes, and the second is not. One is a string the other is a number. A number in a string, is still a string, and will not get modified.

          I mentioned that (and also DWC - firing a lot of error messages). The number input works perfect for me. Thank you.

          Btw. Colour changing is no a must have. Especially if it is too much work.

          I wish you a Merry Christmas.

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

            Published Beta 0.10.03 to the repo

            Changes:
            Fixed small rendering issue with custom panels.
            Updated Global Variable Input Panel - You can now choose a type of Boolean (true/false) with a simple toggle switch.
            Fixed issue where bottom menu bar overlaid the DWC navigation menu.

            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
            • Stoutundefined
              Stout
              last edited by

              I stumbled on this plugin because I searched for a way to change the colours in DWC.

              I'm using a Duet3 min5+ with the latest DWC3.3. Fresh install on the SD card. When trying to install this plugin I get this:

              Screenshot 2022-02-10 at 14.20.25.jpg

              So it seems that I can't install the plugin in spite I have DWC 3.3 and the latest system files. I tried to install it from different browsers on a Mac.

              Any hint on how to install it?

              MintyTreborundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk
                last edited by

                @stout are you sure you have 3.3.0 installed? can you show a screenshot of the general settings page?

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                  @stout The last version of BtnCmd that was compatible with 3.3 was Beta_0.9.06.
                  Did you download that version?

                  I should also add BtnCmd does not allow you to change colours of standard DWC panels.

                  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

                  Stoutundefined 1 Reply Last reply Reply Quote 1
                  • Stoutundefined
                    Stout @jay_s_uk
                    last edited by

                    @jay_s_uk said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.03 28-12-21:

                    @stout are you sure you have 3.3.0 installed? can you show a screenshot of the general settings page?

                    I have full control of what I've got .-) I use two different systems, both with latest official releases.Both gives the same result as shown previous.
                    Screenshot 2022-02-10 at 20.31.56.png Screenshot 2022-02-10 at 20.32.17.png

                    First I used both systems with black background but it happened more than once that I shut off the wrong system during print, therefore one white and one black. But I don't really like the white backround and would like to change to blue or whatever. Don't find any CCS in /www for it. Is it a .js-file?

                    1 Reply Last reply Reply Quote 1
                    • Stoutundefined
                      Stout @MintyTrebor
                      last edited by

                      @mintytrebor

                      Yes I did. Downloaded it from GitHub today.

                      Pity, then the plug in don't change the background colour?

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

                        @stout said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.03 28-12-21:

                        Pity, then the plug in don't change the background colour? -

                        No. It only gives you colour control over the buttons and panels you create yourself. You can also add standard DWC panels, and re-size them, but not change the colour of them

                        Can you tell me the name of the zip file you uploaded to DWC please.

                        And if you want to, please try installing this version as a check.

                        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

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

                          @mintytrebor

                          I'll give the link a try. Thanks.

                          Here's a screenshot

                          Screenshot 2022-02-10 at 20.57.41.jpg

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

                            @stout That version in the picture is version 0.10.03, I mentioned earlier you need 0.9.06.

                            The filenames are BtnCmd_[DWC Ver]_[BtnCmd Ver].zip

                            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

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

                              @mintytrebor

                              You asked for the zip file I uploaded and gave you a snapshot of it!

                              I installed BtnCmd_DWC3.3_Beta.0.9.04.zip without any problem. I then checked the SD, deleted the just installed files and copied 0.10.03 manually. when I started it, I got this:

                              Screenshot 2022-02-10 at 21.54.59.png

                              So I copied over the css files from 0.9.0.4 but let the 0.10.03 on the SD-card and it's starting up again though the old version.

                              Screenshot 2022-02-10 at 21.57.24.png

                              I'll play around with it as I am going to use one more Duet 3 for a CNC with an iPad.

                              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @Stout
                                last edited by

                                @stout 0.10.03 isn't supported in 3.3.0. you either have to install the last supported version (0.9.06) or upgrade to 3.4rc1 so you can use 0.10.03

                                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                                  I have published Beta 0.10.06 for DWC 3.4RC1

                                  Changes:
                                  Fixed rendering issue input panels.
                                  Updates to how BtnCmd works with new DWC features.
                                  Added Auto Backup feature - please see wiki for more info.

                                  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

                                    Published 0.10.07

                                    Changes :

                                    • Various Bug Fixes
                                    • New Input Panel Options

                                    Input panels for global variables can now be configured as sliders, switches, selection lists, or input fields:
                                    InputPanels.png
                                    InputPanelChoose.png InputPanelSelection.png

                                    Please see this wiki page for more details

                                    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 3
                                    • moth4017undefined
                                      moth4017 @MintyTrebor
                                      last edited by

                                      @mintytrebor

                                      Hi is there away to take data via i2c or serial to display in a "text Box"? or an option to Poll data/request via serial ?

                                      <

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

                                        @moth4017 The plugin can display data from the Object Model, it does not have access to anything else.

                                        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
                                        • MintyTreborundefined
                                          MintyTrebor
                                          last edited by

                                          I have published 0.10.08.

                                          Change Log:
                                          Added Console Panel
                                          4a352b2c-6f4d-4605-9a70-e84ef53903e2-image.png

                                          Notes:
                                          This will be the last version of the plugin to include the events functionality. I am depreciating this feature as the introduction of 'tab sleeping' by many of the main browsers causes issues for this feature, plus the functionality no longer aligns with the core of BtnCmd.

                                          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 2
                                          • chimaeraghundefined chimaeragh referenced this topic
                                          • chimaeraghundefined chimaeragh referenced this topic
                                          • mrwulffundefined
                                            mrwulff
                                            last edited by mrwulff

                                            Awesome plugin!

                                            Trying to make a little organized flow and ran into a sizing bug with custom panels.

                                            I made a custom panel with a object model value and resized it. I save the custom panel but it does not save. Looking at the backup json file confirms this, and if I manually edit, it will be displayed properly.

                                            Thanks

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