• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    MintyTrebor @tristanryerparke
    last edited by MintyTrebor 25 Apr 2021, 18:28

    @tristanryerparke I'm using a stand alone config on a duet2. That may account for the variance??

    In principle DWC is the same for both versions - however there maybe some differences in the way the machine model is retrieved in the backend.

    In the plugin I am not retrieving the model, I am using the one that is already resident in DWC, so I will have to do some digging to see what I can find out. Its unlikely to be a speedy process though.

    Update: I've just spotted this post https://forum.duet3d.com/post/227873, which seems related to this issue. Looks like its an SBC 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

    1 Reply Last reply Reply Quote 0
    • undefined
      tristanryerparke
      last edited by tristanryerparke 5 Mar 2021, 05:37 3 May 2021, 05:30

      @MintyTrebor With the 3.3rc1 update globals are now displaying correctly in btncmd!
      Would it be possible to have a color option for the Object Model panel?
      Or a color switch based upon value like the z-probe status in DWC?
      Also, what about a secondary organization structure in which buttons and panels could be grouped? Kind of like this on the DWC dashboard:
      Screen Shot 2021-05-03 at 1.28.27 AM.png
      Just some suggestions, I'm really loving this plugin so far.
      Much simpler than my previous node-red dashboard setup.
      Thanks,
      T

      undefined 1 Reply Last reply 3 May 2021, 11:24 Reply Quote 1
      • undefined
        MintyTrebor @tristanryerparke
        last edited by 3 May 2021, 11:24

        @tristanryerparke Good news that the global variables are working for you now! I will have a look at setting the panel colour in the next release. Conditional colours & grouping I will have to look into.

        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
        • undefined
          madeinta1wan
          last edited by 3 May 2021, 15:56

          HI @MintyTrebor ,

          Have you ever come across an error like this:

          Installation failed!

          InvalidOperationException in InstallPlugin: Cannot perform command because the plugin service is not started

          Screenshot 2021-05-03 164950.png

          I was running 3.2.2 (this is all in SBC mode) and tried to install Alpha 0.8.17 which wouldn't work and so I upgraded DWC to 3.3.0-rc1 and then this error occurred.

          Just tried Alpha 0.8.16 in case and got the same error.

          Thanks-

          Nate

          undefined 1 Reply Last reply 3 May 2021, 15:59 Reply Quote 0
          • undefined
            MintyTrebor @madeinta1wan
            last edited by 3 May 2021, 15:59

            @madeinta1wan see : https://forum.duet3d.com/post/219064
            You need to install/enable the plugin service.

            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

            undefined 1 Reply Last reply 3 May 2021, 16:38 Reply Quote 1
            • undefined
              madeinta1wan @MintyTrebor
              last edited by 3 May 2021, 16:38

              @mintytrebor 👍 👍 👍

              Thanks

              1 Reply Last reply Reply Quote 0
              • undefined
                MartinNYHC
                last edited by MartinNYHC 5 Jul 2021, 16:19 7 May 2021, 16:17

                Very nice and useful. Thanks for your work!

                With Firefox when adding a new button the select "Type" does not expand. With up/down buttons it is possible to change the field value.

                Screenshot 2021-05-07 at 18.15.27.png

                And in addition may I place a feature request? 😉 Would be nice to have a button type to execute a command line script/command.

                undefined 1 Reply Last reply 7 May 2021, 16:23 Reply Quote 0
                • undefined
                  MintyTrebor @MartinNYHC
                  last edited by 7 May 2021, 16:23

                  @martinnyhc That looks like you have this issue here https://forum.duet3d.com/topic/22403/weird-dwc-z-index-dialogue-issue/6
                  Its a localised issue, the solution is in the the thread I linked. You can either do the proper fix or go into BtnCmd global settings and disable selects, which will turn every drop down into radio buttons as a work around.

                  With your feature request can I assume you are running a DSF/SBC configuration?

                  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
                  • undefined
                    MartinNYHC
                    last edited by 7 May 2021, 16:28

                    Changed global setting and that's fine.

                    And yes.....SBC always because I like it 😉

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      MartinNYHC
                      last edited by 7 May 2021, 16:31

                      Oh yes....I could use a custom GCODE and use the execoncommand plugin but for example I would like to change something in the current GCODE file. So at least I need to pass a variable for the filename.

                      undefined 1 Reply Last reply 7 May 2021, 16:48 Reply Quote 0
                      • undefined
                        MintyTrebor @MartinNYHC
                        last edited by MintyTrebor 5 Jul 2021, 16:49 7 May 2021, 16:48

                        @martinnyhc I'm not planning to do anything with SBC only plugin features until the plugin framework has been finalised, and does not require manual user steps to enable/get working. But I will add your request to the wish list. In the meantime you can always use another solution for running linux commands, triggered with a mqtt/http button in BtnCmd. Home Assistant & Node-Red spring to mind.

                        By way of a general update I will be publishing the following new functions on the next release (aiming for this weekend if testing goes ok).

                        Colour options & vertical/horizontal layout option for Model Value Panels
                        Screenshot 2021-05-07 174226.png

                        Create Custom Panels - Design a new panel layout then use within a normal layout. Useful for grouping layouts etc.
                        Screenshot 2021-05-07 174024.png

                        Screenshot 2021-05-07 174053.png

                        Screenshot 2021-05-07 173918.png

                        Also made a few small UI changes and the normal round of bug fixes etc.

                        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
                        • undefined
                          MartinNYHC
                          last edited by MartinNYHC 5 Sept 2021, 08:12 7 May 2021, 16:51

                          Yeah, already thought about MQTT. Thanks!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            stuartofmt
                            last edited by stuartofmt 19 May 2021, 01:10

                            DuetMonitor may be useful to some users of BtnCmd - so herewith a shameless plug ..

                            One of its capabilities is to send an email - independent of its monitoring function. The monitoring function can be disabled - at which point its an email sending program.

                            https://forum.duet3d.com/topic/23282/duetmonitor

                            cosmowaveundefined 1 Reply Last reply 1 Jun 2021, 21:16 Reply Quote 1
                            • cosmowaveundefined
                              cosmowave @stuartofmt
                              last edited by 1 Jun 2021, 21:16

                              I use a Duet2 Ethernet wit RRF 3.3rc3
                              When i try to install the plugin, it uploads the files. But then nothing happens!?
                              There is no new plugin the "built-in plugin" tab.

                              Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                              jay_s_ukundefined undefined 2 Replies Last reply 1 Jun 2021, 21:49 Reply Quote 0
                              • jay_s_ukundefined
                                jay_s_uk @cosmowave
                                last edited by 1 Jun 2021, 21:49

                                @cosmowave that's the wrong place. Look under machine specific for the other plugins tab

                                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

                                cosmowaveundefined 1 Reply Last reply 2 Jun 2021, 05:33 Reply Quote 1
                                • cosmowaveundefined
                                  cosmowave @jay_s_uk
                                  last edited by 2 Jun 2021, 05:33

                                  @jay_s_uk
                                  I have looked there. But there is also no plugin!

                                  Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    MintyTrebor @cosmowave
                                    last edited by 2 Jun 2021, 05:59

                                    @cosmowave Did you see the plugin installation wizard?

                                    I have not installed 3.3rc3 yet, so I will have to do some tests once upgraded.

                                    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

                                    cosmowaveundefined 1 Reply Last reply 2 Jun 2021, 06:02 Reply Quote 0
                                    • cosmowaveundefined
                                      cosmowave @MintyTrebor
                                      last edited by 2 Jun 2021, 06:02

                                      @mintytrebor
                                      No, there was no wizard.
                                      There was only the upload to the system files. Then nothing happens...

                                      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                      undefined 2 Replies Last reply 2 Jun 2021, 06:05 Reply Quote 0
                                      • undefined
                                        MintyTrebor @cosmowave
                                        last edited by 2 Jun 2021, 06:05

                                        @cosmowave The plugin installation wizard is a standard DWC feature, and not part of my plugin. It should of at least popped up and gave you an error message at the very minimum. This suggests something else is going wrong.

                                        I will test on 3.3rc3.

                                        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
                                        • undefined
                                          MintyTrebor @cosmowave
                                          last edited by 2 Jun 2021, 06:21

                                          @cosmowave have just uninstalled my plugin - upgraded my Duet2 Ethernet from 3.3rc1 to rc3 (both firmware and DWC), rebooted, downloaded a new copy of BtnCmd_DWC3.3RC1_Alpha.0.8.18.zip from github releases, and installed it using upload system files.

                                          The plugin installation wizard popped up and the plugin installed fine.

                                          I think you have a local issue with your installation (you need to get the plugin installation wizard to popup when you upload the plugin).

                                          I would suggest downloading fresh copies & re-installing:
                                          https://github.com/Duet3D/RepRapFirmware/releases/download/3.3RC3/Duet2CombinedFirmware.bin
                                          AND
                                          https://github.com/Duet3D/RepRapFirmware/releases/download/3.3RC3/DuetWebControl-SD.zip

                                          Plus download a new copy of the plugin before trying to install.
                                          https://github.com/MintyTrebor/BtnCmd/releases/download/Alpha_0.8.18/BtnCmd_DWC3.3RC1_Alpha.0.8.18.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

                                          cosmowaveundefined 2 Replies Last reply 2 Jun 2021, 06:36 Reply Quote 1
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA