2015/02/16

OctoGlow - a PiGlow plugin for OctoPrint

Originally I worked out how to use a PiGlow to display OctoPrint progress.  Based on OctoPrint's suggestion I took a look at the tutorial on writing a plugin and revisited the code.  If you are interested in writing a plugin, I definitely recommend checking out the tutorial; I was able to have the hello world example up and running in no time.

A big advantage of running as a plugin is that I can spawn a thread to update the LEDs independently of the event callbacks.  This enables me to enhance the display of status and progress by animating the LEDs.  I put together a short video demonstrating how this looks:



I am still testing the code and working out if I want to handle additional status changes.  However, you can check out the source code on GitHub and install the plugin if you are interested in using a PiGlow with OctoPrint.

2015/02/02

How To Display OctoPrint Progress on a PiGlow

I've been using OctoPrint/OctoPi and a Raspberry Pi to drive my PrintrBot 1405 and it's been working well.  There are times when being able to glance over and see the progress of the print without using a web browser would be nice, so I added a Pimoroni PiGlow.

PrintrBot with PiGlow