This commit is contained in:
Fredrik Baberg
2024-01-17 11:02:01 +01:00
committed by GitHub
parent 7467bc81f5
commit 5d8162f7a4
19 changed files with 54 additions and 32 deletions

View File

@@ -1,3 +1,9 @@
## 2024.01.1
* Maintenance release:
* Update base image.
* Update default OctoPrint version to 1.9.3.
## 2023.03.1
* Add check that OctoPrint can install at buildtime.
* Add missing dependency for armhf (libffi-dev)

View File

@@ -6,7 +6,7 @@ Set a network port in addon settings to be able to access the WebUI.
## Trusted proxies
By setting trusted proxies you should be able to use HTTPS *if you have placed a reverse proxy in front of Home Assistant*. For more information, see [Caddy documentation](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy).
*If you have placed a reverse proxy in front of Home Assistant*, by setting trusted proxies you should be able to use HTTPS. For more information, see [Caddy documentation](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy).
# OctoPrint integration
@@ -19,22 +19,10 @@ Go to OctoPrint WebUI, you should see a request for authentication.
# Camera
There is no camera server in the addon, it has to be setup separately.
This addon does not include a camera server, it has to be setup separately.
You could, for instance, use the addon [camera-mjpg-streamer](https://github.com/fredrikbaberg/3dprinter-addons/tree/main/camera-mjpg-streamer) available in the same repository. If so, you can set the snapshot URL to:
> `http://cce6f2d5-camera-mjpg-streamer/?action=snapshot`.
You could, for instance, use the addon [camera-mjpg-streamer](https://github.com/fredrikbaberg/ha-3dprinter-addons/tree/main/camera-mjpg-streamer) available in the same repository. Note that this method **only allows for snapshot**, it does **NOT** work for camera stream as this requires the browser/app used to directly access the stream.
Note that this method **only allows for snapshot**, it does **NOT** work for camera stream as this requires the browser/app used to directly access the stream.
# Ingress?
This add-on drops support for Ingress. The main reason for this is issues with finding a working configuration.
* An update to OctoPrint increased the security (which is good!). Unfortunately it also broke the configuration used in this addon, most likely due to this addon not behaving properly.
* There has been issues with accessing camera stream by Ingress since I added support for it, which I have not been able to solve.
I have tried to find a solution to this, without success. Therefore I decided to disable the option, as it just leads to frustration.
If someone is able to find a working configuration, please let me know.
# Remote access
If you need remote access, have a look at [remote access plugins for OctoPrint](https://plugins.octoprint.org/topics/remote_access/). Remember to **NEVER** directly portforward your OctoPrint instance to the internet!

View File

@@ -1,6 +1,6 @@
ARG BUILD_FROM="ghcr.io/home-assistant/amd64-base-debian:bullseye"
FROM ${BUILD_FROM}
ARG OCTOPRINT_VERSION="1.8.6"
ARG OCTOPRINT_VERSION="1.9.3"
# Setup path for persistent install of Python packages
ENV PYTHONPATH=/data/python/octoprint

View File

@@ -2,8 +2,6 @@
Provides OctoPrint as an addon to Home Assistant.
Note: Ingress is **NOT** supported.
## Instructions
Set a network port in addon settings.

View File

@@ -8,4 +8,4 @@ labels:
org.opencontainers.image.description: "3DPrinter-OctoPrint addon for Home-Assistant."
org.opencontainers.image.source: "https://github.com/fredrikbaberg/ha-3dprinter-addons"
args:
OCTOPRINT_VERSION: "1.8.7"
OCTOPRINT_VERSION: "1.9.3"

View File

@@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint"
version: "2023.03.1"
version: "2024.01.1"
slug: "3dprinter-octoprint"
description: "OctoPrint as an addon, no additional bells and whistles."
arch: