TheSpaghettiDetective / OctoPrint-Obico

GNU Affero General Public License v3.0
137 stars 42 forks source link

Pause detection on filament runout #56

Open raymondh2 opened 4 years ago

raymondh2 commented 4 years ago

Pause spaghetti detection on filament runout.

kennethjiang commented 4 years ago

We definitely want to do something about filament runout, such as pausing the detection, as well as alerting user.

What I don't know is if there is some standard G-code or OctoPrint API so that we don't have to handle it based on different make/model/plugin being used.

raymondh2 commented 4 years ago

There isn't really standard gcode for this at all. It might be best to figure out how the most popular printers and firmware alert that the filament it out

kennethjiang commented 4 years ago

That'd be quite tricky. Maybe we should build it as "mini-plugin" framework so that other developers can plug in the ways that will work for the printers they own?

raymondh2 commented 4 years ago

Might be worth that. Have some sort of common event that plugins can call to alert of filament runout. But how do we detect when it resumes printing? Because the pause on runout on Marlin just pauses the printer not octoprint.

midnightsmith89 commented 2 years ago

M600 works with just about every printer that uses it in firmware. Creality, Prusa, Monoprice, etc