A Home Assistant card for 3D printers using OctoPrint
Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.
If there were a Venn diagram of the 3D printing and Home Assistant community, the overlap would likely be rather large. Many DIY projects, such as those created using ESPHome, wouldn't be complete without a perfectly sized, 3D-printed enclosure. And I'm sure you will find many who run Home Assistant on a Raspberry Pi have 3D-printed the case for that too.
It's no surprise then that OctoPrint, which is an application many owners of 3D printers use, has been integrated with Home Assistant since version 0.19. What is a surprise though is that it took until now for OctoPrint to get its very own custom-made Lovelace card.
With that in mind, Daniel Greco on GitHub has taken the task of adding the missing piece of the puzzle to Home Assistant. They have and has created a beautiful Lovelace card for any 3D printer that OctoPrint monitors and controls, to be displayed in the Home Assistant dashboard. This card goes by the name threedy.
What is OctoPrint?
A bit of background for those of us that don't own a 3D printer (unfortunately, I'm included in that group): OctoPrint is a web interface for 3D printers. It is open source and supports just about every 3D printer out there. While OctoPrint can run on numerous systems, most users use a cheap Raspberry Pi for it to run on.
Most 3D printers have an integrated display from which you control and monitor everything. But that is where it ends. The 3D printer does not connect to your network out of the box. By using OctoPrint, you can control and monitor every aspect of your 3D printer and any printing jobs right from within your browser.
OctoPrint allows you to actually monitor the physical 3D printer without moving away from your desk. And not just by displaying a series of numbers. You can attach a USB webcam to the Raspberry Pi it is running on and have the video streamed to the web interface. You can even integrate the camera image in to your Lovelace dashboard.
How to install the OctoPrint card for Home Assistant
Please be aware that the OctoPrint card for Home Assistant is still in the alpha stage of development. As such, you won't be able to install this Lovelace card using HACS just yet. Despite its pleasing design and usefulness, it is also unlikely that this card will never become an officially supported card. That is because the Home Assistant developers don't accept cards tied to specific integrations, which is understandable because there are many cards that only serve one purpose.
Without any support for HACS, you will have to manually install the OctoPrint card for Home Assistant. Though this only includes adding a file to your Home Assistant's www folder and adding it to the resource section of Lovelace, you are responsible for checking the repository for updates. If you're patient, the presence of a file named hacs.json does indicate that it will be added to the community store sooner rather than later.
Interested in purchasing a 3D printer?
This card alone has made me want a 3D of my own even more. You must admit, it is a beautiful-looking card! If you're interested in purchasing a 3D printer yourself, please consider using an affiliate link below. While you don't pay anything extra for the product, I get a cut of the sale (which might make it possible for me to one day own one). Take a look at some best-selling 3D printers on Amazon:
Liam Alexander Colmanis an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container. With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.