Repository: OctoPrint

Upcoming changes

I've decided to make changes to the repository. Instead of the current repository, which contains a mix of add-ons, I've decided to start a new one focused on add-ons related to 3D-printing: fredrikbaberg/ha-3dprinter-addons: 3DPrinter-related add-ons for Home Assistant. (github.com). It currently consists of two add-ons, for OctoPrint and camera (feel free to make feature requests if there is something you'd like to be added; PRs are also welcome).

In some ways it's a step backwards, I've essentially dropped all previous features.
But I've also used it as an opportunity for improvements. Cleaning up the code, see what features are useful (requested), and introduce major changes. For instance, the new add-on for OctoPrint is based on Debian instead of Alpine, which should increase compatibility with OctoPrint plugins.

I'm not sure of the future of this (older) repository, but as I don't have plans to make any significant updates to the add-ons there it makes sense to make it read-only in the future.

What about Ingress?

I know some of you have not been able to access data if you only used Ingress for access. Updating to OctoPrint 1.8.x, without having another admin user setup, cut off access to OctoPrint WebUI through Ingress. If you hadn't setup another user account, it made it difficult to access the add-on.

I'm finally (almost) done with an update to the add-on 3DPrinter, for those of you who encountered this. It's not a solution, but hopefully it will make it possible for you to access your data again.
What it does is add the option to force a re-install of OctoPrint 1.7.3. I've only tried it on a separate install on a development machine, so backups are (as always) strongly recommended!

As I haven't been able to figure out how to solve the issue with Ingress, and I don't think I'll be able to (I've spent a lot of time, making minimal progress), the new add-on with OctoPrint doesn't have support for Ingress. If you have ideas how to make it work, PRs are always welcome.

Hi, today I installed your component but I have problems connecting the printer to the USB port. the printer display lights up but is not seen by octoprint are there any suggestions?

Sorry that I haven’t replied. Did you manage to solve this?

Otherwise here are two things to check:

  • Is the printer visible from Home Assistant? Settings - System - Hardware.
  • Power off the addon, then start it again (don’t use restart).

This addon is not starting for quite some time now.
Has anyone figured something out?

Awesome plugin, works great for me. I couldnt get the usb webcam to work, but I worked around that by installing motioneye addon, and then use its mjpeg stream in octoprint.

I do have a question; next month Im expecting a second printer. My HA server is plenty powerful enough, so ideally I would like to run just 2 instances of the addon. Is that possible somehow?

if fredrikbaberg has an issue with this let me know

:hammer_and_wrench: Update: Compatibility Fork for Modern OctoPrint

Hello,

I’m posting this to let the community know about a fork I have created that updates this add-on to run on a modern, supported software stack.

I noticed that this add-on is currently built on an older OS base, which includes a Python version that has reached End-of-Life (EOL). This reliance on an outdated Python environment severely limits the ability to support newer versions of OctoPrint.

  1. To resolve this issue and enable continued development, I have created a fork where I have:

  2. Upgraded the base image and build environment to utilize supported Home Assistant OS standards.

  3. Updated the add-on to run the latest stable version of OctoPrint.

  4. Ensured the add-on is running with a current, supported Python environment, unlocking compatibility for future OctoPrint releases.

:warning: IMPORTANT: Migrating Your OctoPrint Data

If you decide to switch to this fork, you must migrate your existing data to preserve your settings, profiles, and plugins.

Before uninstalling the original add-on, please follow these steps:

  1. Create a Backup: In the original OctoPrint Web UI, go to Settings > Backup & Restore and create a full backup of your instance.

  2. Download the Backup: Download the resulting .zip file to your PC or a safe location outside of Home Assistant.

  3. Install the Fork: Install my updated add-on.

  4. Restore the Data: Once the new add-on is running, access its OctoPrint Web UI, go to Settings > Backup & Restore, and upload the .zip file you downloaded in Step 2.

If you need the latest OctoPrint features or a modern, compatible base, you can find the updated version and installation instructions here:

:arrow_right: GitHub - ImAsra/ha-3dprinter-addons: 3DPrinter-related add-ons for Home Assistant.

I hope this provides a solution for others looking to upgrade!

Did you remove your fork of this? It’s 404 now