Today's Deep-Dive: OctoPrint
Ep. 285

Today's Deep-Dive: OctoPrint

Episode description

Octoprint is an open-source software that transforms a standard 3D printer into a network-accessible device, managed remotely through a web interface. Typically installed on a small computer like a Raspberry Pi using the Octopi operating system, it eliminates the need for manual SD card shuffling and allows users to monitor prints from anywhere. Key features include live webcam feeds, precise print job feedback, and a G-code visualizer for diagnosing slicing errors before printing. Octoprint enables real-time control over printer settings like temperature and allows for manual adjustments or pausing and resuming prints. Its compatibility with most consumer 3D printers is enhanced by a robust plugin system, allowing for extended functionality such as bed leveling visualization, time-lapse creation, interface customization, and firmware updates. The project is primarily driven by its creator, Gina Hoyska, and supported by a dedicated community through donations and contributions. Community support is accessible via forums, Discord, and official documentation, with a plugin repository for adding new features. Advanced users can leverage event hooks to create automated responses to printer events, turning Octoprint into an automation hub. This framework has potential applications beyond 3D printing, suggesting a future where similar systems could manage various automated workshop tools.

Gain digital sovereignty now and save costs

Let’s have a look at your digital challenges together. What tools are you currently using? Are your processes optimal? How is the state of backups and security updates?

Digital Souvereignty is easily achived with Open Source software (which usually cost way less, too). Our division Safeserver offers hosting, operation and maintenance for countless Free and Open Source tools.

Try it now for 1 Euro - 30 days free!

Download transcript (.srt)
0:00

Welcome to the Deep Dive, where we dig into a whole stack of sources, pull them

0:03

apart,

0:04

and give you the concentrated knowledge you really need.

0:06

Today, we're kinda cutting the cord, you could say, and diving deep into what's

0:11

essentially

0:11

the central nervous system for modern 3D printing. Octoprint. So if you're, you

0:16

know,

0:16

tired of shuffling SD cards back and forth, or if you've ever had one of those long

0:21

prints fail

0:21

halfway through while you were out, well then this Deep Dive is definitely for you.

0:24

We're

0:25

exploring a bunch of sources that really define Octoprint. It's the software that

0:29

turns,

0:29

well, what might be a hobby machine, into something more like a professionally

0:33

monitored

0:33

network device. Our mission today, to really demystify this tool, we want to make

0:39

sure that

0:40

even if you're a total beginner, you walk away knowing exactly what it is, how it

0:43

works,

0:44

and honestly why it's probably the first upgrade you should think about. But hang

0:47

on, first up,

0:48

this Deep Dive is supported by Safe Server. They handle hosting for software just

0:52

like Octoprint,

0:53

and they support digital transformation, whether you're, say, scaling a startup or

0:57

just optimizing

0:58

your own setup at home. You can find out more about how they can help at www.safeserver.de.

1:04

Yeah, you know, when we talk about 3D printing, especially at the hobbyist level or

1:08

even small

1:09

scale stuff, the biggest challenge often isn't the printer itself, it's managing it.

1:13

You've got these

1:14

really long prints, sometimes hours and hours, and before tools like this, the only

1:19

way to be sure

1:20

everything was running okay was to physically be there watching it. Octoprint

1:24

completely changes

1:25

that. It gives you this like central control tower, it turns a printer that was

1:29

basically offline

1:30

into a reliable system you can manage from anywhere, and that's a huge leap. I mean,

1:34

even if you're just managing it from across the house. Okay, let's unpack that

1:37

starting right at

1:38

the basics. The sources call Octoprint the snappy web interface. Yeah. So what is

1:42

it exactly? Is it

1:43

an app? Does it run like on the printer itself? Good question. It's actually

1:47

software. You install

1:48

it on a separate little computer, usually something small and inexpensive, which

1:51

then plugs into your

1:52

printer and takes control. And its core identity really is that it's 100% free and

1:57

open source

1:58

software. It's released under the GNU Afro general public license, the AGPL 3.0.

2:04

Okay. Whoa, that

2:05

sounds technical. AGPL 3.0 GitHub. Let's simplify that open source bit first. Why

2:11

should a beginner

2:12

actually care about that stuff? Well, that open source status is actually really

2:16

important. It

2:17

basically guarantees trust and longevity. It means the code, the instructions that

2:23

make it work

2:24

are public. Anyone can look at them. So you're not locked into some company's

2:28

private system

2:29

that could just, you know, vanish tomorrow if they decide to stop supporting it. It

2:33

also means

2:34

security is often better because more eyes are looking for problems. And maybe most

2:38

importantly,

2:38

it lets the community, the users themselves build on it and keep it going. That's

2:43

critical when you

2:44

have hardware, like a printer, that might last longer than the company's original

2:48

software support.

2:49

Right, right. So the software is kind of controlled by the people who actually use

2:52

it. That makes sense.

2:53

Okay, now the physical setup. You mentioned a separate computer that might sound a

2:57

bit

2:57

daunting for a beginner. The sources talk about Octopi. Can you break that down?

3:01

What is Octopi?

3:02

And what's this little computer, the Raspberry Pi, actually doing?

3:04

Yeah, that's a great point. And often where beginners kind of get hung up, think of

3:08

your

3:08

3D printer as this amazing worker, but it can't talk on the phone. The Raspberry Pi,

3:14

that's the

3:15

phone. It's a tiny, cheap, dedicated little computer like a mini server that you

3:20

plug into

3:20

your printer, usually with a USB cable, and then that Pi connects to your home Wi-Fi.

3:25

Now Octopi,

3:26

that's simply the easiest way to get it all running. It's an operating system

3:29

package,

3:30

basically, designed specifically for that Raspberry Pi. And it comes with Octoprint,

3:34

already installed and pretty much configured. So instead of this complex process of

3:39

installing

3:39

an OS, then libraries, then Octoprint, you just download the Octopi image, flash it

3:44

onto an SD

3:44

card, pop that card into the Pi, plug the Pi into the printer, and boom, your

3:48

printer is suddenly

3:48

online and you can access it from any web browser on your network. Okay, so that

3:52

jumped from a

3:53

standalone machine to something on your network. That's the key shift. So once that

3:56

little Pi

3:57

server is up and running, this is where it gets really cool, right? What can you

4:00

actually do

4:01

remotely with Octoprint, just from your browser? Pretty much everything you could

4:05

do standing

4:05

right there, but honestly, with more intelligence baked in. Let's start with the

4:10

most obvious one,

4:11

visual access. You can tap into an embedded webcam feed and watch your print

4:15

happening live.

4:17

Okay, yeah, from the next room or... Or across the country, exactly. That alone

4:21

solves that constant

4:22

need to go check on it. Huge. But just watching is only the start, you said. Right.

4:27

Beyond just

4:28

watching, you get continuous, precise feedback. Like, the current progress of the

4:32

print job

4:33

percentage done, estimated time left. And if something looks a bit off, you don't

4:37

just have

4:37

to guess why. You can use the integrated G code visualizer. Okay, G code visualizer.

4:43

That sounds

4:43

a little intimidating again. For a beginner, what is that and why is it useful? So

4:47

G code is basically

4:48

the language your printer understands. It's the step-by-step instructions for

4:52

movement, temperature,

4:53

everything. The visualizer takes that code, that instruction list, and draws it

4:58

graphically in your

4:59

browser. You don't need to read the actual code lines. You watch a little

5:02

simulation of the tool

5:03

path line by line as it's supposed to be printed. And this is a massive diagnostic

5:08

tool. Let's say

5:09

you sliced your 3D model, you upload it, and the visualizer shows the nozzle trying

5:14

to print in mid

5:15

air for a whole section or maybe skipping a layer entirely. You know immediately

5:19

you have a slicing

5:20

error before you waste hours in filament. It lets you debug the plan, not just the

5:24

result. Wow okay,

5:26

that turns potential hours of wasted plastic into like five minutes of checking the

5:30

preview. Brilliant.

5:31

What about fixing things mid-print? Say I notice the corners lifting that classic

5:35

warping sign.

5:36

That's where the real-time control is fantastic. You can monitor and adjust the

5:41

temperatures,

5:42

both the nozzle, the hotend, and the print bed. You can do it on the fly. This is

5:47

absolutely

5:47

critical for dealing with things like warping or maybe layers not sticking together

5:52

well if,

5:53

say, the room temperature changes. You see it happening, you can just bump the bed

5:56

temperature

5:57

up a couple of degrees right from your phone or computer. Okay, and if the absolute

6:01

worst happens,

6:02

like a total spaghetti monster fail, or maybe I just realize I need to swap

6:06

filament colors,

6:07

what physical control do I have then? You get full manual control over the printer's

6:11

mechanics.

6:12

You can move the print head along all axes X, Y, Z. You can tell it to extrude a

6:17

bit of filament or

6:18

retract it. You can even define your own custom control buttons in the interface.

6:22

And crucially,

6:23

yes, you can start, stop, or pause the current print job whenever you need to. And

6:28

that ability,

6:29

you know, to pause, maybe tweak the temperature, clear a small blob, and then

6:33

resume the print,

6:33

that's massive for cutting down on failed prints and wasted material. It really

6:38

elevates the printer

6:39

from just a dumb appliance to a tool you can interact with intelligently wherever

6:43

you are.

6:44

Right. Okay. Let's shift gears slightly to compatibility and making it do more. Extendability.

6:50

For someone thinking about buying a pretty standard consumer 3D printer today,

6:54

is Octoprint likely to work with it? Yeah, the sources are pretty clear on this.

6:58

Out of the box,

6:58

Octoprint is compatible with most consumer 3D printers you can buy today. It's

7:02

pretty universal

7:03

because, well, most printers just talk over a standard USB serial connection. But

7:08

what really

7:08

ensures it stays compatible and keeps getting more powerful is its plugin system.

7:13

Ah, plugins. Okay,

7:14

so that sounds like the secret sauce, maybe. How it grows beyond what it originally

7:19

did.

7:19

Totally. That open source aspect we talked about means the community can build new

7:23

features,

7:24

things the original developer maybe never even thought of. And what's great for

7:27

beginners is

7:27

that the official place to find these plugins, the repository, is built right into

7:32

Octoprint.

7:33

Installing a plugin is literally, as the sources say, only a clip away. No messing

7:39

with code or

7:40

command lines usually. Okay, let's make that real. Can you give some examples from

7:43

the sources? What

7:44

are some of those must-have plugins that really change how you use it? Well, one

7:49

super common

7:50

headache, especially early on, is getting the bed perfectly level for that crucial

7:53

first layer.

7:54

There is a plugin called Bed Level Visualizer. It uses the measurements from your

7:59

printer sensor,

7:59

if it has one, and it shows you this colorful heat map of your print bed right in

8:04

the Octoprint

8:05

interface. It turns this kind of abstract problem into something you can actually

8:09

see. Oh, that

8:09

sounds incredibly useful. I've seen those amazing time lapses people share, where

8:14

the object just

8:15

seems to magically grow out of the print bed. Right, that's almost certainly Octolapse.

8:19

It's

8:19

a plugin that cleverly moves the print head out of the way before taking each

8:23

snapshot for the

8:24

time lapse. That's how you get those stunning time lapses, as the source puts it.

8:29

Very cool.

8:29

What else? Well, for customizing the look and feel, there's Themify, which lets you

8:34

change all the

8:35

colors and styling of the OctoPrint interface itself. Maybe more practical, there's

8:39

the Firmware

8:40

Updater plugin. This lets you update your printer's own internal software, its

8:45

firmware, directly from

8:46

OctoPrint. That often saves you from a really complicated manual process using

8:51

specialized

8:51

tools from the manufacturer. And it's pretty amazing that plugins even add support

8:55

for older,

8:56

or maybe less common machines, right, like those older Flashforger Dremel models

9:00

mentioned.

9:01

It keeps the whole ecosystem inclusive. Exactly. It prevents printers from becoming

9:06

obsolete just

9:06

because the manufacturers stop updating their specific software. Now obviously, a

9:11

project this

9:12

big takes a lot of work. Let's talk about the people. The source's name, the

9:16

creator and main

9:17

person behind it, Gina Hoyska. And they mentioned she works on OctoPrint full-time,

9:22

basically funded

9:23

by the community. Yeah, and that reliance on community funding and contributions is

9:27

actually

9:28

really typical for major successful open source projects like this. It's a sign of

9:33

a healthy

9:33

project that the users value it enough to support it directly. And connecting that

9:38

to the bigger

9:39

picture, it shows that contributing doesn't just mean writing code. People help by

9:43

writing

9:43

documentation, reporting bugs, even just helping other users out on the forums. It's

9:48

a whole

9:48

ecosystem. So if a new user runs into trouble, or maybe they get excited and want

9:53

to contribute

9:54

somehow, where should they go? What are the main community hubs? The whole

9:57

structure is really

9:58

well set up. The main place to start for help or discussion is the community forum.

10:03

That's at

10:03

community.octoprint.org. It's like the central library of knowledge. For quicker

10:08

chats or more

10:08

real-time help, there's an official Discord server, discord.octoprint.org. All the

10:13

official

10:13

guides and how-tos are in the documentation at docs.octoprint.org. And then for

10:19

finding all those

10:19

cool extra features we talked about, that's the official plugin repository at

10:24

plugins.octoprint.org.

10:25

They've made it pretty easy to find what you need. Got it. Okay, before we wrap

10:29

this up, there was

10:30

one more slightly advanced feature mentioned that sounds really powerful. Event

10:34

hooks. Can you explain

10:36

simply what an event hook is and why it matters? Sure. Think of an event hook like

10:41

setting up an

10:42

automatic reaction. Octoprint is always watching the printer. That's the event part.

10:47

An event could be

10:48

the print finished or maybe uh-oh the temperature suddenly dropped or hey the

10:52

filament sensor says

10:54

we're out of plastic. When one of those specific events happens it can trigger a

10:58

hook. And that

10:59

hook basically tells Octoprint to run some external command or script. So for a

11:03

beginner maybe the hook

11:04

just sends you an email saying print's done. But you can get much fancier. You

11:08

could hook it up to

11:08

a smart plug for example and have the hook tell the printer to completely power

11:12

itself down after

11:13

a successful print. Saves energy, adds safety. Ah okay so it turns passive watching

11:18

into active

11:19

automated responses. Exactly. It's where Octoprint goes from just being a remote

11:24

control to being an

11:25

automation hub. Perfect. Okay so to quickly summarize for you the listener Octoprint

11:30

takes

11:30

your standard 3D printer, pairs it with a small cheap computer like a Raspberry Pi

11:35

running Octopi,

11:36

and transforms it. Suddenly it's on your network, you can manage it from anywhere,

11:40

you can watch it, control it, and extend its features endlessly with plugins. All

11:44

through

11:44

a web browser and all thanks to a really dedicated open source community. Which

11:49

really brings us to a

11:50

final thought for you to chew on. Given everything we've discussed, the remote

11:54

access, the webcam

11:55

monitoring, the access controls, and especially those powerful event hooks allowing

11:59

automated

12:00

actions, what's next? Could this whole framework built for 3D printers be adapted

12:05

to control

12:06

other kinds of small automated machines? Could we see Octoprint or something like

12:10

it turning lots

12:11

of different workshop tools into smart self-monitoring devices on a network? Where

12:15

does that lead?

12:16

Definitely something to think about. The future of distributed tech right there. A

12:20

huge thank

12:20

you again to our supporter for this deep dive, Safe Server. They enable this kind

12:25

of analysis

12:26

and support digital transformation. You can find out more about them at www.safeserver.de.

12:32

Yeah, check out the sources yourself. You might be surprised how easy it is to give

12:36

a major intelligence boost. We'll get you on the next deep dive.

12:36

a major intelligence boost. We'll get you on the next deep dive.