Skip to content

Commit f45aa09

Browse files
committed
Update README.md
Octoprint and bigtreetech#2278 added
1 parent 4074457 commit f45aa09

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

README.md

+33-2
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@ Important information related to BigTreeTech's TFT touchscreen 3D printer contro
4848

4949
- [Appendix](#appendix)
5050

51+
- [Integration with Octoprint](#integration-with-octoprint / octoprint-triggering-commands)
5152
- [Embedded Gcode Thumbnails](#embedded-gcode-thumbnails)
5253
- [TFT Screen Configuration and support for RRF](#tft-screen-configuration-and-support-for-rrf)
5354
- [Setup of BTT TFT35 E3 V3 with MKS SGEN L Mainboards](#setup-of-btt-tft35-e3-v3-with-mks-sgen-l-mainboards)
5455
- [Show more statistics at the end of the print](#show-more-statistics-at-the-end-of-the-print)
55-
56+
5657

5758

5859

@@ -412,6 +413,36 @@ See [BIGTREETECH-TouchScreenFirmware/releases](https://github.com/bigtreetech/BI
412413

413414
## Appendix
414415

416+
### Integration with Octoprint / Octoprint Triggering Commands
417+
418+
Octoprint can optionally trigger some actions to the TFT sending specific gcodes. The following actions and the related triggering gcodes are currently supported by the TFT fw:
419+
420+
**start:**
421+
M118 A1 P0 action:print_start
422+
**end:**
423+
M118 A1 P0 action:print_end
424+
**cancel:**
425+
M118 A1 P0 action:cancel
426+
**pause:**
427+
M118 A1 P0 action:pause
428+
**resume:**
429+
M118 A1 P0 action:resume
430+
**time remaining progress:**
431+
M118 A1 P0 action:notification Time Left hms (e.g. 02h04m06s)
432+
M117 Time Left hms
433+
**file data progress:**
434+
M118 A1 P0 action:notification Data Left / (e.g. 123/12345)
435+
M117 Data Left /
436+
437+
When the trigger "print_start" is received, the TFT switches to Printing menu.
438+
Once on Printing menu, the "pause", "resume" and "stop" buttons on the menu will be disabled.
439+
That means only Octoprint will control the print.
440+
Only on print end or cancel the TFT Printing menu is finalized (statistics available etc...) and unlocked (it can be closed).
441+
442+
**NOTE:** A new plugin on Octoprint implementing the above protocol should be the preferable way (available to everyone)
443+
444+
445+
415446
### Embedded Gcode Thumbnails
416447

417448
The TFT is able to display embedded gcode thumbnails in the file list viewer using two different flavors: Bigtreetech-style or PrusaSlicer-style.
@@ -469,7 +500,7 @@ Auto detect fw type + separate config.ini for easier setup
469500
- Print status monitoring with mid-print tuneing/pausing
470501
- Macro support
471502
- Print from onboard/external SD card
472-
- Please see [Feature request #1791](https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/1791) for more information.
503+
- Please see [RRF further tweaks #2278](https://github.com/bigtreetech/BIGTREETECH-TouchScreenFirmware/issues/2278) for more information.
473504

474505
**Menu system for macros:**
475506

0 commit comments

Comments
 (0)