Git Product home page Git Product logo

octopilcd's Introduction

OctopiLcd

Basic LCD Display Plugin for OctoPrint

Simple Python script to update a LCD display with print data from OctoPrint on a raspberry PI

I wanted to have a read out on the OctoPrint setup so when I go out to the garage where the printer is I can see things like progress of the print. This document assumes you already have a Raspberry Pi running OctoPrint

These are the things I got from Adafruit.com to set this up:

  • Half-size breadboard PID: 64
  • Premium Male/Male Jumper Wires - 40 x 6" (150mm) PID: 758
  • RGB backlight positive LCD 16x2 + extras - black on RGB PID: 398
  • Assembled Pi Cobbler Plus - Breakout Cable for Pi B+/A+/Pi 2 PID: 2029

Setup:

Here are the steps to set it up:

Step 1:

Wire up the LCD according to these instructions:

Step 2:

Open octoprint web interface.

  • Select Settings->API
  • Select enable
  • Copy the Key

Step 3:

Connect to filesystem on PI (ssh or other method)

  • Edit OctoPiLCD.py ( from shell: nano OctoPiLCD.py)
  • On line 10 paste the value from above into key = 'Your key here'
  • In nano: ^X to exit, Y to save, Enter to confirm name

Step 4:

Connect to filesystem on PI (ssh or other method)

  • Edit ~/.octoprint/config.yaml
  • If you don't have events add the following to the end of the file:
  • Otherwise just add the PrintStarted Event:
events:
  enabled: True   
  subscriptions:    
  - event: PrintStarted  
    command: python ~/OctoPiLCD/OctoPiLCD.py
    type: system
    ```

octopilcd's People

Contributors

tapnair avatar

Watchers

James Cloos avatar Vladislav Khmelevsky 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.