Skip to content

Octoprint

image

Gallery

Run to find the printer and/or camera and edit the compose file uncommenting the devices section.

python -m serial.tools.miniterm

Find camera ID

ls -l /dev/v4l/by-id/

version: '2.4'

services:
  octoprint:
    image: octoprint/octoprint
    restart: unless-stopped
    ports:
      - 80:80
    devices:
    # use `python -m serial.tools.miniterm` to see what the name is of the printer, this requires pyserial
     - /dev/ttyACM0:/dev/ttyACM0
     - /dev/video0:/dev/video0
    volumes:
     - ./octoprint:/octoprint
    # uncomment the lines below to ensure camera streaming is enabled when
    # you add a video device
    environment:
     - ENABLE_MJPG_STREAMER=true

  ####
  # uncomment if you wish to edit the configuration files of octoprint
  # refer to docs on configuration editing for more information
  ####

  #config-editor:
  #  image: linuxserver/code-server
  #  ports:
  #    - 8443:8443
  #  depends_on:
  #    - octoprint
  #  restart: unless-stopped
  #  environment:
  #    - PUID=0
  #    - GUID=0
  #    - TZ=America/Chicago
  #  volumes:
  #    - octoprint:/octoprint

volumes:
  octoprint:

Default Stream URL

/webcam/?action=stream

Default Snapshot URL

http://localhost:8080/?action=snapshot

Path of ffmpeg

/usr/bin/ffmpeg

Other Software

Cura

sudo apt install cura

or
sudo apt update;
sudo apt install snapd;
sudo snap install cura-slicer

Glow

sudo snap install glow

OpenScad

sudo apt-get install openscad


Plugins

  • Auto Bed Level Expert (Depricated)
  • Bed Level Visualizer


Bed Level Visualizer

In Settings

G28                  ; Home all axes
M155 S30             ; Reduce temperature spam in the terminal (optional but recommended)
@BEDLEVELVISUALIZER  ; <-- This is the crucial line that activates mesh collection
G29 T                ; Probe the bed and output the topography report
M155 S3              ; Reset temperature reporting to normal

Custom Commands

Set Z-Offset to an Absolute Value

M851Z-0.17;
M500;

Set Z-Offset +0.01

M290 Z0.01;
M500;

Set Z-Offset -0.01

M290 Z-0.01;
M500;

Load Saved Mesh

M420 S1;
M500;

Logins

Bambu Labs

kgerHe5Y4OwJjPf)4rzzkTVEBNKpJVIaRxZZpbf4On3Hrtfxvg618RBi2oFqMn26hYNJ8deVJV1qkQDfVaDOfZdSQVtpE1Ppkhw8N)p]Fda53Co2!