Repository: OctoPrint

motionEye addon, but my problem is that octoprint is not accepting an URL with basic auth.

The addon does not have access to the rest of the filesystem, so there is no easy way to copy the file on startup.

Persistent data is stored in a subfolder of /data, accessible from the addon. I donā€™t have the exact path right now, but it should be straightforward to find.

1 Like

Webcam not accessible from OctoPi - Get Help - OctoPrint Community Forum considers setting up a stream with basic auth in OctoPrint, if thatā€™s what you are attempting to do.

If itā€™s camera ā€“ OctoPrint communication within the 3DPrinter addon I can have a look at it, but if itā€™s accessing an external video stream such as from the motionEye addon itā€™s not something Iā€™ll spend time on unless itā€™s clear that the issue is with the 3DPrinter addon itself.

Can we please have the file name back in the plugin. I use it to detect ABS prints. If it detects ABS in the file name my home assistant pauses the print for 10 minutes to allow the enclosure to heat up and then un pauses once the enclosure is at a certain temp.

Iā€™m not sure if this was asked in the right place, it sounds more like the integration OctoPrint - Home Assistant (home-assistant.io) than the addon(s), or possibly an OctoPrint plugin?

  • The addon runs e.g. OctoPrint.
  • The integration manages communication between Home Assistant and OctoPrint.
  • Plugins adds features to OctoPrint.

Please let me know if I misunderstood your question/request.

I didnā€™t see a response before, but is there a way to get the raspberry camera to work with this?

Please have a look at e.g. Repository: OctoPrint - #188 by fredrikbaberg, or in the GitHub repository. There should be some instructions available in this thread and in issues, while they are older they should still be correct.

I had to delay my work on an updated version, hopefully Iā€™ll be able to continue at the end of this month.

Hi Fred, great Add-on - saved me from having to buy a new Pi when they have almost doubled in cost!

Everything works great apart from getting my logitec USB webcam to function. The old that worked was address was /webcam/?action=stream.

Any tips on getting this to work?

thanks

Hi Fred, great plugin. However I have some difficulties to perform some tasks:

  • If I update the plugin from its interface from the pop-up menu it shows, Octoprint stops to work. I am unable to perform any operation, and even restarting it does not solve the issue. Moreover it also doesnā€™t show any serial port. Only option is to uninstall and reinstall
  • From time to time, the plugin stops to send commands and it reports an error saying that it lost connection to the printer, though the cable is still connected and actually pressing connect re-connects it.

Unfortunately nothing new other than what has been written in this thread before. The ā€˜/webcam/?action=streamā€™ part isnā€™t something Iā€™ve figured out properly (when using Ingress).

Anything in the logs? Iā€™ve had issues where I had to reload the page, but it havenā€™t completely frozen for me so far. Did you try to stop and then start the addon (I assume you mean addon, not plugin)?

Iā€™m aware of an issue where Home Assistant claims OctoPrint to be unavailable ( Connection drops, frequently ā€˜unavailableā€™ Ā· Issue #274 Ā· fredrikbaberg/hassio-addons (github.com)), does it seem like the same issue?

Hi, noob user here :slight_smile:
I installed your plugin and I can connect to octoprint inside my local network (http://homeassistant-ip:5000), but how to access remotely? Right now Iā€™m using duckdns to connect remotely to HA (https://mydomain.duckdns.org:8123). I set up a port forwarding rule on my router from port 5000 to port 5000 but when I try to connect to https://mydomain.duckdns.org:5000 the browser gives SSL errorā€¦

There will be an SSL error since the addon itself doesnā€™t use SSL certificate. If you are unsure, please close the port 5000 so that itā€™s not exposed to the internet.

Instead, try to use Ingress in Home Assistant. This is from an older blog post, but there is some information (Nabu Casa isnā€™t required for this to work): Introducing Hass.io Ingress - Home Assistant (home-assistant.io). In Home Assistant you should be able to go to the addon page and press the button to ā€œopen web interfaceā€ (or something similar, my instance is in Swedish so I just used the direct translation).
The disadvantage is that camera feed will most likely not work this way (any ideas how to get it to work would be greatly appreciated).

Please wait with updating to OctoPrint 1.8.3 for now, there seems to be an issue causing login through Ingress to break ( Latest version breaks the addon Ā· Issue #290 Ā· fredrikbaberg/hassio-addons (github.com)).

1 Like

Hi, my printer does not come with an enclosure, but I have built one that has an ambient temperature sensor inside. The sensor is connected with home assistant. Is there any way I can ā€œpassā€ those temperature readings to your addon and show them as ā€œenclosure temperatureā€ in Octoprint?

Not that I know of, since I assume you want to also keep the data in Home Assistant.
If you exclusively want to use the data with OctoPrint it should be possible to access GPIO from the addon (assuming you use a Raspberry Pi or similar hardware).

If anyone was able to get klipper running. How did you do it? Because I got stuck at building the firmware.

Iā€™ve moved back to Marlin now, but when I did the setup of Klipper I built the firmware on a different device to get started.

1 Like

I built the firmware and installed it but now I canā€™t find the serial port of the printer.