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
    39.3k
    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.
    • cosmowaveundefined
      cosmowave @MintyTrebor
      last edited by

      @mintytrebor said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.13 11-07-22:

      Have an input panel to set the variable value (in your case retraction length)
      Have a button to run a macro that sets retraction length using the global variable

      Yes... Thats my actual use case

      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

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

        Released Beta 0.10.14

        Changes:

        • Bug fixes and improvements to the Global Variable Input Panel, specifically addressing the alignment issues of switches, and right aligned variable values.

        https://github.com/MintyTrebor/BtnCmd/releases

        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

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

          @MintyTrebor

          Thanks for the update

          <

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

            Released Beta 0.10.15

            Changes:

            • New Panels : Jobs List, Macro List, Events List
            • Alt Web Cam Panel - New option to add a button on the webcam image to open an external page - use to open config pages for various webcam services, eg Motion.
            • Global Setting : Auto Start BtnCmd - Automatically switch to BtnCmd when DWC loads
            • Global Setting : Change DWC Top Bar Color

            Screenshot 2022-11-06 194307 (Medium).png

            Screenshot 2022-11-06 194356 (Small).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

            1 Reply Last reply Reply Quote 3
            • falco22undefined
              falco22
              last edited by

              Hello, first of all, excellent plugin! I have a question. configure the plugin as I want, but when sending to print, it automatically goes to the default status screen of the webcontrol. Is it possible to stay in the custom tabs? I hope it has been understood.

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

                @falco22 If you are referring to the Job list Panel - then it will be using standard DWC behaviour to switch views on job start.

                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

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

                  @MintyTrebor said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.15 06-11-22:

                  If you are referring to the Job list Panel - then it will be using standard DWC behaviour to switch views on job start.

                  No, I mean, when I print a file, it goes directly to the status panel in dwc, and I would like it to stay in the Btncmd panel

                  cosmowaveundefined 1 Reply Last reply Reply Quote 0
                  • cosmowaveundefined
                    cosmowave @falco22
                    last edited by

                    @falco22 I think, you don't understand correctly what @MintyTrebor means...
                    He means, that the job panel in DWC, where you start the job, is not under his control.
                    After starting a job it is standard for DWC to jump to status screen. MintyTrebor can only change the BtnCmd plugin.

                    Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                    1 Reply Last reply Reply Quote 0
                    • CrazyCreatorundefined
                      CrazyCreator
                      last edited by CrazyCreator

                      What ist the right MQTT Message and MQTT Topic for switching my shelly switch?

                      Or can i find a tutorial for creating this button in BtnCmd?

                      http://www.crazycreatorcube.com

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

                        @CrazyCreator I do not own a shelly switch so I cannot advise.
                        BtnCmd Wiki is available for reference.
                        Have you tried using a http post/get button using the commands you identified yourself in your post: https://forum.duet3d.com/post/300999?

                        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

                        Nightowlundefined stuartofmtundefined 2 Replies Last reply Reply Quote 0
                        • Nightowlundefined
                          Nightowl @MintyTrebor
                          last edited by

                          Hi @MintyTrebor

                          I looked at this earlier on in my CNC career(!) but have just started to 'play' with it to set up my own screens.

                          I've stumbled on a couple of minor issues, which are probably of my own making, but how would you like me to ask you about them? On this forum or via PM?

                          Thank you 👍

                          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                          I'm still on my learning curve, so take everything I say with caution!

                          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                          MintyTreborundefined jay_s_ukundefined 2 Replies Last reply Reply Quote 0
                          • MintyTreborundefined
                            MintyTrebor @Nightowl
                            last edited by

                            @Nightowl Here is fine

                            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

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

                              @Nightowl we also have a BtnCmd support channel on the Teamgloomy discord if you're into that type of thing https://discord.gg/uS97Qs7

                              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

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

                                OK thanks, @MintyTrebor

                                It's probably me, but when I try to design my own page, it looks like this, in design mode:

                                Screenshot 2022-12-06 at 13.57.47.png

                                ....but like this, when I Save and Exit:

                                Screenshot 2022-12-06 at 13.57.59.png

                                Weeble (does it have to be all caps?) reverts to Layout 1 and the Machine Movement window moves back to the LH upper corner.

                                PS Sorry for the delay in responding. It seems I'm not receiving notifications from this thread (but I am subscribed!)

                                Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                                I'm still on my learning curve, so take everything I say with caution!

                                RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                                MintyTreborundefined 1 Reply Last reply Reply Quote 0
                                • Nightowlundefined
                                  Nightowl @jay_s_uk
                                  last edited by

                                  Thanks, @jay_s_uk, I'll check it out.

                                  Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                                  I'm still on my learning curve, so take everything I say with caution!

                                  RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                                    @Nightowl said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.15 06-11-22:

                                    It's probably me

                                    I think it is 😉

                                    The red text indicates you are creating a custom panel, not a page/tab layout. A custom panel is a way for you to design your own panel that can be used in multiple page/tab layouts.

                                    When in edit mode there are two options
                                    Create & Edit custom panels (red)
                                    Create & Edit Layouts (Green)

                                    This is all covered in the wiki

                                    If you enter Create & Edit Layouts mode (green) you can rename the tab and place the movement panel wherever you like. You should also find if you select add custom panel there will probably be one called "WEEBLE" which will the the custom panel you have created.

                                    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

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

                                      @MintyTrebor said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.15 06-11-22:

                                      I think it is

                                      Ha! Told you! 😵

                                      I'll get on it tomorrow - I'm frazzled at the moment (with other stuff!)

                                      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                                      I'm still on my learning curve, so take everything I say with caution!

                                      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                                        @CrazyCreator

                                        @MintyTrebor said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.15 06-11-22:

                                        @CrazyCreator I do not own a shelly switch so I cannot advise.
                                        BtnCmd Wiki is available for reference.
                                        Have you tried using a http post/get button using the commands you identified yourself in your post: https://forum.duet3d.com/post/300999?

                                        I own multiple shelly switches, I recommend them. I use one to remotely turn on / off my printer.
                                        Use http get i.e. just "request" the url's you already identified. Post is not needed.

                                        CrazyCreatorundefined 1 Reply Last reply Reply Quote 0
                                        • CrazyCreatorundefined
                                          CrazyCreator @stuartofmt
                                          last edited by CrazyCreator

                                          @stuartofmt said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.15 06-11-22:

                                          I own multiple shelly switches, I recommend them. I use one to remotely turn on / off my printer.
                                          Use http get i.e. just "request" the url's you already identified. Post is not needed.

                                          What is your configuration on BtnCmd Settings?

                                          Bildschirm­foto 2022-12-10 um 14.52.17.png

                                          And this is the config for the button

                                          Bildschirm­foto 2022-12-10 um 14.57.04.png

                                          With this config i can switch the status of my shelly. 😉 but i see a error in DWC

                                          Bildschirm­foto 2022-12-10 um 15.07.17.png

                                          and how can i use this in my gcode for power off the printer after print?

                                          http://www.crazycreatorcube.com

                                          stuartofmtundefined MintyTreborundefined 2 Replies Last reply Reply Quote 0
                                          • stuartofmtundefined
                                            stuartofmt @CrazyCreator
                                            last edited by

                                            @CrazyCreator said in BtnCmd-DWC Plugin-Custom Layouts & Buttons - v0.10.15 06-11-22:

                                            @stuartofmt said in [BtnCmd-DWC Plugin-Custom Layouts &

                                            Use http get i.e. just "request" the url's you already identified. Post is not needed.

                                            What is your configuration on BtnCmd Settings?

                                            and how can i use this in my gcode for power off the printer after print?

                                            My post was simply to remove any ambiguity about Get v Post. I do not have BtnCmd setup at the moment as I am in the process of rebuilding.

                                            @MintyTrebor can likely resolve the question on the error code.

                                            I switch off my printer using a different method that pre-dates BtnCmd. I'm unsure if there is a conditional http get based on an object model value. I recall there is one for http Post.
                                            Its possible you could use http Post on Shelley. You could research that here:
                                            https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/HTTP/

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