Giter Site home page Giter Site logo

octoprint-filament-revolutions's Introduction

Octoprint-Filament-Revolutions

OctoPrint plugin that integrates with 1 or 2 filament sensors hooked up to a Raspberry Pi GPIO pin and allows the filament spool to be changed during a print if the filament runs out or is jammed.

Initial work based on the Octoprint-Filament-Reloaded plugin by kontakt.

Required sensor

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

This plugin can use the GPIO.BOARD or GPIO.BCM numbering scheme.

Features

  • Configurable GPIO pins.
  • Debounce noisy sensors.
  • Support normally open and normally closed sensors.
  • Execution of custom GCODE when out of filament detected.
  • Optionally pause print when out of filament.

An API is available to check the filament sensors status via a GET method:

  • to /plugin/filamentrevolutions/filament for the filament sensor
  • to /plugin/filamentrevolutions/jammed for the jam sensor
  • {status: "-1"} if the sensor is not setup
  • {status: "0"} if the sensor is OFF (filament not present/filament not jammed)
  • {status: "1"} if the sensor is ON (filament present/filament jammed)

Installation

Configuration

After installation, configure the plugin via OctoPrint Settings interface.

octoprint-filament-revolutions's People

Contributors

kontakt avatar fornellas avatar romrider avatar jandebleser avatar bjstrange avatar mangavalk avatar micdenny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.