An Octoprint monitor using the Adafruit Matrix Portal display.
I wanted a way to monitor my printer in the other room at a glance and the Adafruit Matrix Portal is a great way to do just that!
There are myriad guides for getting Octoprint going, I run mine on a RaspberryPI 3, and the DisplayLayerProgress plugin is easy to find an enable once you have your octoprint instance going.
To get a local copy up and running follow these simple steps.
- A running instance of OctoPi connected to your printer
- The DisplayLayerProgress plugin installed and enabled
- Connect your MatrixPortal to your computer, you may need to perform additional steps to get it ready for use (see Adafruit's wonderful guides).
- Copy code.py to your
CIRCUITPYTHON
drive - Set up your secrets.py
Aside from the usual things that your MatrixPortal will need in the secrets file (ssid, password, timezone), you will also need two additional settings.
-
octopi_host
- This is the IP address of your OctoPi (http://octopi.local will not work).
-
octopi_api_key
- This is a key you need to get, it is in your OctoPi's settings under API, Global API Key.
There are a few different configurations you can make:
The ETA defaults to being shown as the expected time of completion in 12h format. If you set USE_TWELVE_HOUR_FORMAT
to false it will display using 24h format. If you set SHOW_ETA_AS_TIME
to false it will instead show you how many Days/Hours/Minutes are left until the print is expected to be done. Note that these are estimates and will change as the print goes on.
There are 3 variables that let you change the display colors: TOP_ROW_COLOR
, MID_ROW_COLOR
and BOT_ROW_COLOR
. Also included are helper color variables for standard web colors.
See the open issues for a list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE
for more information.
Josh Donner - @wintaru - joshua.j.donner@gmail.com
Project Link: https://github.com/Wintaru/OctoMatrixPortal