Giter Site home page Giter Site logo

enclosureplugin's Introduction

OctoPrint-Enclosure

  • Use this plugin to automatically turn on and off leds. (At the start of a timelapse for example)
  • Read the temperature of the enclosure.
  • Turn on and off leds by using a button.

Setup

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

https://github.com/wouterbruggeman/EnclosurePlugin/archive/master.zip

After downloading the plugin, execute the following steps:

  1. Login to your Raspberry pi using ssh.
  2. Enter sudo raspi-config and go to Advanced Options -> 1-Wire -> Yes. To enable 1-Wire.
  3. Reboot the device and check if the module is started with lsmod | grep w1. If the module is started, skip to 5.
  4. Mount the device with sudo modprobe w1_gpio && sudo modprobe w1_therm
  5. Configure the device name in the plugin settings in Octoprint. The name of the device can be found with ls /sys/bus/w1/devices/ and should be starting with '28'.
  6. Restart the Octoprint server and everything should be working at this point.

The following circuit has to be build: circuit

Warning

This program may contain bugs. I (Wouter Bruggeman) am not responsible for anything that happens to you, your printer or anything else. Use this program at your own risk!

Known bugs:

  • After starting octoprint with octoprint serve the user is unable to exit the program by using CTRL+C

enclosureplugin's People

Contributors

wouterbruggeman 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.