Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. MintyTrebor
    3. Best
    • Profile
    • Following 0
    • Followers 7
    • Topics 11
    • Posts 318
    • Best 140
    • Controversial 0
    • Groups 0

    Best posts made by MintyTrebor

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

      BtnCmd allows you to create new dashboard layouts from standard DWC panels, plus adds new features and panels not available in standard DWC.

      You can add as many layouts as you like by adding tabs. Within each tab you can add panels & custom action buttons - each button can do one of four things:

      • run a Macro.g file from the SD card

      • issue a gcode command

      • send an MQTT message - (useful for integrating with existing IOT / home automation systems)

      • Send http post/get requests - (useful for integrating with existing IOT / home automation systems)

      You can also:

      • design your own custom panels

      • show object model variable values in real time

      • update Global Variables in the UI.

      • Create Custom Charts

      I have attempted 😥 to make a short overview video here.

      You can download the plugin here, please read the release notes for specific instructions.

      There is also a wiki.

      I hope its of use!

      PS. Big Thanks to the community on the RRF For STM/LPC TeamGloomy discord server and @jay_s_uk for help with testing and ideas.

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • ReleaseMgr DWC Plugin v1.3.5 (29-05-25)

      ReleaseMgr is a DWC plugin to help with the RRF firmware updating experience.

      It enables you to view RRF related firmware & software release details inside DWC, and scans your current hardware and config.g details, highlighting information in the published RRF release notes that may impact your current configuration.

      After choosing a release, the plugin will fetch the accompanying release information, and provide links for the Release Files to download to your local machine.

      The plugin currently supports RRF, DWC, DSF (SBC), and Team Gloomy releases.

      ReleaseMgr uses the GitHub api, and requires an internet connection to be able to fetch release details.

      I am working with the Duet team to improve the matching dataset used by the plugin, so while we work out the kinks, hardware matching may not be at an acceptable accuracy level. Please highlight any matching errors in this post, so we can update the matching dataset, and amend release notes accordingly.

      Please read the Wiki for more information.

      The latest plugin files are available here

      Important Notes:

      • The plugin does not alter the standard way of updating. All files are downloaded to your local environment, and must be uploaded through DWC using the existing interface.

      • The plugin is not intelligent and its ability to match is based on how the release notes are formatted, and its ability to find matches based on your current configuration. Matches are not contextual, and the information highlighted may only be a small part of a larger change. YOU are responsible for evaluating the impact of these changes in the context of the full release details.

      Change log :
      V1.3.5 - For DWC 3.6

      V1.3.3 - For DWC 3.5.3

      V1.3.2 - For DWC 3.5.2

      V1.3.0 - For DWC 3.5.1
      -Updated to support the new Team Gloomy release approach
      -Updated UI

      V1.2.0 - For DWC 3.5.1
      -Updated to support DWC 3.5.1 and updated Duet release numbering approach

      V1.1.20 - For DWC 3.5.0-rc.1
      -Updated to support 3.5.0-rc.1

      V1.1.19 - For DWC 3.5.0-beta.4
      -Updated to support new Object Model Keys for SBC

      V1.1.18 - For DWC 3.5+

      • Updated to include support for new github version numbering syntax for RRF in 3.5.0-Beta.3
      • removed release versions older than 3.5 as they are redundant
      • Fixed issue with toggle button groups

      V1.1.17 - For DWC 3.5+

      • Updated to include support for new github version numbering syntax for DWC & DSF coming in 3.5.0-Beta.2
      • Added link to RRF update instructions
      • Switch plugin version number syntax to be semver 2 compliant

      v0.01.16 - NOTE for DWC 3.5+

      • Re-coded to support 3.5
      • Bug Fixes

      v0.01.15:

      • Added an auto check for firmware updates feature
      • Team Gloomy users can now access the RRF files panel if they choose to dismiss the warning.

      v0.01.14:
      Fixed issue with RC release notes displaying the correct info for DWC & DSF

      v0.01.13:
      Repackaged for 3.4 full release, minor bug fixes and layout changes.

      v0.01.12:
      Bugfixes & Improved release button layout

      v0.01.11:
      Now ignores commented out gcodes in config.g.
      Supports matching sub gcodes.
      Where possible gcodes in the RRF release notes will now hyperlink to the relevant page @ docs.duet3d.com
      Added Release Information and files for Team Gloomy ESP Wifi Firmware releases.

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • MQTT4DSF - An SBC Python service for MQTT integration with DSF

      Following a conversation over on the DSF LPC discord group about using MQTT with DUET, I've had a go at creating a python service for SBC's running DSF, which enables MQTT integration with DSF.

      MQTT4DSF (https://github.com/MintyTrebor/MQTT4DSF) has 4 main functions:

      1. Subscribe to user defined DSF events and send mqtt msgs to a broker of choice on receipt of event (user configurable)
      2. Poll DSF on a timed frequency and send mqtt msgs based on a value delta (user configurable)
      3. Send user defined MQTT msgs when specially formatted M117 msgs are received from DSF events.
      4. Act as MQTT to GCode proxy - passing GCode commands to DSF and executing them on the machine, by subscribing to a custom MQTT topic.

      Short video of features in use - https://www.youtube.com/watch?v=2XwTgxythTE

      It runs on the DSF SBC (tested on rpi), using the DSF python API library, and the Duet Rest API. Its user configurable through a json file accessible through DWC.

      MQTT4DSF.jpg

      It's had limited testing but I hope it might be of use to someone here.

      posted in Third-party software
      MintyTreborundefined
      MintyTrebor
    • Node-Red Mobile Sized Status Dashboard for Duet

      I've been running a simple node-red mobile/small screen sized 3d printer status dashboard form some time, which I recently updated to work with the Duet API after upgrading my printers.

      Its not very sophisticated - I am posting here in case it is of use to anyone else.

      https://github.com/MintyTrebor/Duet-Node-Red-Dashboard

      printerdash2.jpg

      The repo has two flows :

      The "universal" flow just requires the duet IP and webcam IP, it will ping the network, and when the printer is turned on check the Duet API version, and start updating the dashboard. Once the printer stops responding to ping it will stop updating the dashboard. The flow has been designed to be easy to follow. It could be significantly more optimised, should it be required. I would recommend reducing the polling frequency once you have it working (currently set for every 5 seconds), it does not need to be real time!

      The "example" flow is abstracted from my home automation dashboard, which includes MQTT calls and other automation stuff. It is provided as a reference example. This flow only updates the dashboard when the 3d printer is turned on via MQTT wifi socket.

      Background:
      I wanted to be able to view both my 3d printers at a glance, control my enclosure temperature, and integrate the power control of my printers through my existing node-red home automation dashboard . Both of my printers are in my garage with external access only, hence I came up with this. It does not replace DWC. But I found status monitoring in DWC is not ideal for mobile/small screen and multiple printers.

      How I use the dashboard:
      printerdash.jpg

      Hope someone finds this useful!

      posted in Third-party software
      MintyTreborundefined
      MintyTrebor
    • NodeDSF : Interface nodes for Node-Red (V1.1.11 - 06-10-23).

      A set of custom nodes for Node-Red which interface with DSF (on SBC) or a duet control board over http and enable you to create your own event driven actions.

      The project is here : https://github.com/MintyTrebor/NodeDSF.

      I have written a short wiki on GitHub. Help text is available in the node-red console.

      V1.1.11 Update - Updated to RRF 3.5 comptability

      Note: Nodes can be directly installed through the Node-Red Palette Manager - just search for dsfnode and install.

      posted in Third-party software
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      Released v01.01.02 for DWC 3.5+

      Changes:

      • Custom Charts (Wiki)
      • Support for Global variable Arrays
      • OM Lookup for OM Panel

      611fa576-b4f8-4ee1-aeda-1ccf06de5368-image.png

      8b64b12e-7ac0-4184-a8a5-e92067f29f88-image.png

      With Custom Charts you can:

      • Add chart data lines from the Object Model, set scales, colour, & legends
      • Define X & Y axis options
      • Set Chart Update Frequency
      • Set Chart Name
      • Hover over chart data line data-points for popup info
      • Save the Chart Data to CSV file
      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      Released 01.02.07 for DWC 3.5.0-rc.1

      Added custom icons to Input and Text Panels
      40304d20-6791-47fa-9912-75b662a9d265-image.png

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: Free space display?

      @droftarts OM = volumes[0].freeSpace

      posted in Duet Web Control wishlist
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      I have published 0.8.21 for DWC 3.3 & 3.4:

      Changes:

      • You can now choose to show/hide the DWC top panel when in the BtnCmd screen (Enable in Plugin Global Settings)

      • Added more standard DWC panels, including:

        • Movement
        • Baby Stepping
        • Tools
        • Job Control
        • Extrusion Control
        • Extrusion Factors

      btncmd 8.21 sshot.png

      btncmd 8.21 sshot2.png

      btncmd 8.21 sshot3.png

      Release Here:
      https://github.com/MintyTrebor/BtnCmd/releases/tag/Alpha_0.8.21

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • Change DWC blocking access on connection lost events.

      It might be helpful if DWC did not effectively block the whole web interface when it looses connection to DSF/RRF. This denies access to DWC features that may still be usable (especially plugins & webcams).

      Proposal:
      Grey-out/disable features that should not be accessible if dsf/rrf is restarting/stopped/powered off (instead of full screen "connection lost" or "reconnecting"), and display a connection status notice in the top application bar, and include a global flag for plugins that allows them to specify if they should be enabled/disabled during a disconnection event. - DWC would then function more like a web app with limited offline capabilities.

      Example Scenario: A Smart Power Socket which is used to power the duet board on/off. If BtnCmd was accessible/functional in DWC when the board is powered off, then it still would be capable of sending the "turn on" command to the smart power socket, as its functions are all browser based client side.

      Raised as feature request: https://github.com/Duet3D/DuetWebControl/issues/427

      MintyTrebor created this issue in Duet3D/DuetWebControl

      closed [FeatureRequest]: #427

      posted in Duet Web Control wishlist
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      @diamondback Published Beta 0.9.03

      Changes:
      Added Text/Label Panel - User defined text string with options for text orientation, text colour, and background colour.
      Enabled ability to hide panel border for Machine Model Value, and Text/Label panels.

      Screenshot 2021-10-19 140753.png

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: ReleaseMgr DWC Plugin v1.3.5 (29-05-25)

      Released v0.01.16 for DWC 3.5+

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      Released v 01.02.02 for DWC 3.5

      Changes:
      Input Panel - option to run GCode command post user input
      OM Panel - option to perform basic maths on OM numeric values
      Fixed Bug in Colour Picker
      Fixed Reset Settings function

      Minor update - 01.02.02 - Update Bug fix to Input Panel

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      Released v 01.02.04 for DWC 3.5

      Changes:

      • Added precision to custom charts - Existing charts will need to be edited and saved, before the full precision options become available (this is in order to upgrade their config data).
      • Added toggle to show current value in legend for custom charts.
      • Changed behaviour to load all BtnCmd Tabs in background on first access, to start custom chart data capture without needing to switch to relevant tab
      • 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.
      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      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

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: DWC Custom Configuration

      Chipping in as we seem to have a number of plugin devs on this thread, and to possibly help the OP query.

      @Dr_Ju_Ju The DWC top section can be hidden (as mentioned in an earlier post) if you happen to running on mobile. A button appears to show hide the section. I have looked at the code and it only requires the DWC dev @chrishamm to change 2 lines of code to enable that button for all screen sizes. I see no functional reason why this change cannot be requested to be included in the next release if @chrishamm agrees. Hopefully this would help alleviate some of your frustration.

      Screenshot 2021-09-29 074956.png

      From a plugin dev perspective I personally would like the change to go one step further and make the show/hide button function addressable through the JS Dom (it may already be, I just haven't tried yet). This way plugin dev's can use/offer the option to show hide the top section in their UI if required. This seems like a low impact way of making this feature more useful, without compromising existing functionality.

      Going forward if this change were to be made, I would expand BtnCmd to include more DWC info/control panels (I only offer a small selection currently) enabling a user to effectively pick and choose the panels they want on screen, which would go some way to meeting the demand for more customisation options.

      I can see this being helpful for other plugins where more screen real estate would be desirable - heightmap - gcode viewer etc....

      Thoughts?

      Given the amount of interest this post has generated I would be interested to hear @chrishamm thoughts on these proposals / discussion.

      Update: For the plugin devs

      window.document.getElementById("global-container").hidden = true;
      

      does already work to show/hide top section - (I had to have a go😊 )

      posted in Duet Web Control
      MintyTreborundefined
      MintyTrebor
    • RE: Colour DWC Header by printer

      @CNCModeller I noticed your post whilst I was in the middle of an update for BtnCmd, so I quickly added an option in the plugin's global settings to allow you to change the top bar color - hope this helps until an official solution arises.

      172f92b3-7fb4-460e-9d21-03ddb0944452-image.png

      Screenshot 2022-11-06 194356 (Small).png

      posted in Duet Web Control wishlist
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      @cosmowave I'll have a look and push an update if I can include it.

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor
    • RE: Can't show the camera in Print Status screen

      @amimafe You can't in standard DWC.

      However - you can put together your own status page, including webcam panels using the BtnCmd DWC plugin - eg:
      f1a0c23c-d4a7-4c58-a7ff-c75178ef5da6-image.png

      posted in Duet Web Control
      MintyTreborundefined
      MintyTrebor
    • RE: BtnCmd-DWC Plugin - Customise DWC - v01.04.00 29-05-25

      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

      posted in Plugins for DWC and DSF
      MintyTreborundefined
      MintyTrebor