/OctoPrint-FilamentManager

OctoPrint plugin to manage your filament inventory

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

OctoPrint-FilamentManager

UNDER NEW MANAGEMENT

Hi everybody,
because there was no activtiy in the last month on the origial GitHub-Repository from @malnvenshorn,
the community decided to find a new home of this OctoPrint-Plugin and here it is ;-)
See https://github.com/OctoPrint/plugins.octoprint.org/issues/471 for more details

What is my roadmap/stratagy of "hosting" this plugin?
- First: Plugin should run under the latest versions of python and OctoPrint
- Analysing/fixing issues that prevent using the plugin
- An open mind for new ideas....
- ...but if the effort to implement new features is to height, then it will probably be implemented in my SpoolManager-Plugin
 (https://github.com/OllisGit/OctoPrint-SpoolManager)
- ...also I will move more and more features from FilamentManager to SpoolManager (e.g. external Database, MultiTool, ...)

Overview

Version Released GitHub Releases (by Release)

This OctoPrint plugin makes it easy to manage your inventory of filament spools. You can add all your spools and assign them to print jobs. The Filament Manager will automatically track the amount of extruded filament so you can always see how much is left on your spools.

If you have questions or encounter issues please take a look at the Frequently Asked Questions first. There might be already an answer. In case you haven't found what you are looking for, feel free to open a ticket and I'll try to help. Or ask questions and requests for help in the community forum community forum.

Support my Efforts

This plugin, as well as my other plugins were developed in my spare time. If you like it, I would be thankful about a cup of coffee :)

More coffee, more code

Features

  • Software odometer to track amount of extruded filament
  • Warns you if the selected spool has not enugh filament left for the print job
  • Automatically pause print if filament runs out
  • Apply temperature offsets assigned to spools
  • Import & export of your spool inventory
  • Support for PostgreSQL (>=9.5) as common database for multiple OctoPrint instances

Setup

  1. Install this plugin via the bundled Plugin Manager or manually using this URL:

    https://github.com/OllisGit/OctoPrint-FilamentManager/releases/latest/download/master.zip

  2. For PostgreSQL support you need to install an additional dependency. Take a look into the wiki for more details.

    pip install psycopg2

Using PostgreSQL with Docker

You need to make sure that you setup a docker runtime on your system. After that you can "manage" a PostgreSQL with the following commands:

docker-compose up

_

docker-compose down --volumes

_

docker-compose run postgres bash

Screenshots

FilamentManager Sidebar

FilamentManager Settings Profile

FilamentManager Settings Spool

FilamentManager Settings

Developer section

API - Calls

E.g.

url = 'http://localhost/plugin/filamentmanager/selections/0'
    headers = {'X-Api-Key': config.API_KEY}
    payload = {
        "selection": {
            "tool": 0,
            "spool": {
                "id": id
            }
        },
        "updateui": True
    }