Coder Social home page Coder Social logo

jlegrand62 / filament_watch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rllynch/filament_watch

0.0 1.0 0.0 177 KB

Pause or stop OctoPrint if the 3D printer filament jams or runs out

License: MIT License

Makefile 0.37% Shell 2.33% Python 84.43% CSS 0.36% HTML 2.22% JavaScript 8.02% C++ 2.27%

filament_watch's Introduction

filament_watch

Personal fork of the filament_watch project from: https://github.com/rllynch/filament_watch

Install:

Clone the git repo:

git clone https://github.com/jlegrand62/filament_watch.git

Run the script creating the virtualenv and installing filament_watch:

cd filament_watch
bash pi_setup.sh

Usage:

Using the nano editor as sudo:

sudo nano /etc/rc.local

add the following lines to /etc/rc.local before exit 0:

## Start filament_watch:
bash /home/pi/filament_watch/run_filament_watch.sh &

This will start filament_watch as root at boot.

Don't forget to change the API key with the right one!

Debug:

To see what is returned as JSON, look under this address in a browser:

http://HOSTNAME/api/printer?apikey=APIKEY

with the right HOSTNAME (ip) & APIKEY of course.

Or enable the added (ugly) status report by uncommenting line 182 in filament_watch.py:

octoprint.print_status()

filament_watch's People

Contributors

jlegrand62 avatar rllynch avatar

Watchers

 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.