Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Octoprint

Miguel Risco-Castillo edited this page Jan 25, 2022 · 27 revisions

Octoprint users must install: https://plugins.octoprint.org/plugins/m73progress/ for update the progress bar and Print time when print from host. Also, the status line shows the last message received through the Marlin core or by the M117 command and it is not cleared automatically to avoid missing messages. It is recommended to install a plugin in your slicer or Octoprint (Detailed Progress, DisplayLayerProgress) to embed M117 commands to see, for example, the layer and Z height.

Important

Raspberry Pi and many other hosts (PC) energize the USB port through the +V pin, it can be dangerous for your host or for the printer connect a USB cable directly, also, that could cause interferences, produce some glitches in the screen and communication, see here https://community.octoprint.org/t/put-tape-on-the-5v-pin-why-and-how/13574. It is important that you disable the +V pins as indicated in the next picture.

USB +V disabling

This firmware has a highspeed serial connection, please change the Baudrate to AUTO or 250000 bps in host software as Octoprint.

Octoprint gcode scripts

Octoprint-config1

Before print job starts

M75 {{ event.name }}

After print job completes

M77 ; End print screen

After print job is cancelled

M77 ; End print screen
M117 Print was cancelled

; disable motors
M84

;disable all heaters
{% snippet 'disable_hotends' %}
{% snippet 'disable_bed' %}

;disable fan
M106 S0

After print job is paused

M76 ; Pause print screen
M117 Print was paused

Before print job is resumed

M75 {{ event.name }}
M117 Print was resumed

After connection to printer is established

M117 Octoprint is connected

Before connection to printer is closed

M117 Octoprint was disconnected

Error Handling

If you are getting a M112 kill error on your printer, change the error handling settings in Octoprint:

Arc Welder

Active the option "G90/G91 overrides relative extruder mode" in Octoprint if use the Arc Welder plugin.

Bed level visualizer support

You can use the plugin Bed Level Visualizer to get an image and the data of the mesh leveling for manual mesh or bltouch.

Use this code for the plugin:

M155 S30  ; set temperature reporting delay, use a value longer than the time it takes for your leveling command to complete.
@BEDLEVELVISUALIZER  ; instruct plugin to start recording responses from printer.
G28 Z     ; Do an Z home
G29 T     ; report the bed leveling mesh points.
M155 S3   ; set the temperature reporting delay back to a shorter time span.

EEPROM editor

This firmware is compatible with the Octoprint plugin Marlin EEPROM Editor

Remote firmware update

Install the plugin Firmware Updater, with this plugin you be able to transfer and flash the firmware automatically.

For Ender 3S1

Select file and press "Flash from file"

Watch the video https://youtu.be/Zv4aY6ALNLk