nickmitchko / Octoprint-Filament-Reloaded

GNU General Public License v3.0
9 stars 13 forks source link

OctoPrint-FilamentReloaded

Issue Tracking

I have a day job, so when filing an issue please tag me @nickmitchko in the issue so I get an email.

Overview

OctoPrint plugin that integrates with a filament sensor hooked up to a Raspberry Pi GPIO pin and allows the filament spool to be changed during a print if the filament runs out.

Future developments are planned to include multiple filament sensors and pop-ups.

Initial work based on the Octoprint-Filament plugin by MoonshineSG and [Octoprint-Reloaded] (https://github.com/kontakt/Octoprint-Filament-Reloaded/archive/master.zip) plugin by kontakt.

Required sensor

Using this plugin requires a filament sensor. The code is set to use the Raspberry Pi's internal Pull-Up resistors, so the switch should be between your detection pin and a ground pin.

This plugin is using the GPIO.BOARD numbering scheme, the pin being used needs to be selected by the physical pin number.

A DIY guide is in planned for new sensor users

Features

An API is available to check the filament sensor status via a GET method to /plugin/filamentreload/status which returns a JSON

Installation

Configuration

After installation, configure the plugin via OctoPrint Settings interface.