Skip to content
Minty Trebor edited this page Apr 3, 2021 · 29 revisions

Welcome to the BtnCmd wiki.

BtnCmd is a Duet Web Control plugin which runs in the browser. BtnCmd enables the addition of configurable buttons to the DWC interface, and allows the status of the duet board to be monitored and triggers configurable events, such as sending messages to telegram.

Please use the Wiki page index to navigate the content and learn how to install and use BtnCmd.

In BtnCmd you can create Tabs, with custom buttons in a grid layout of 1 to 4 columns. Custom buttons can be added to the tab as required, they will display in the order the buttons were added to the tab. The tab will scroll vertically when required. You may choose to display a webcam image at the side of a tab for ease of use.

Each button can be configured to trigger one of four types of actions:

  • Send a gcode command to the Duet Board
  • Run a Macro
  • Send a simple HTTP get command
  • Send a MQTT Message

BtnCmd also offers the ability to monitor the status of the Duet Board and trigger an event when the status matches the event parameters. An event can perform the following actions:

  • Send a Telegram Message (via a telegram bot) useful to get alerted to a status change via your smartphone.
  • Send a simple HTTP get command
  • Send a MQTT Message