Compare commits

...

15 Commits

Author SHA1 Message Date
bf788cbfb3 Update 3dprinter-octoprint/config.yaml
Some checks failed
Build add-on(s) / Initialize builds (push) Has been cancelled
Lint / Find add-ons (push) Has been cancelled
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Has been cancelled
Lint / Lint add-on ${{ matrix.path }} (push) Has been cancelled
2025-11-18 12:19:07 +00:00
45e63b8641 Update 3dprinter-octoprint/build.yaml
Some checks are pending
Build add-on(s) / Initialize builds (push) Waiting to run
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Blocked by required conditions
Lint / Find add-ons (push) Waiting to run
Lint / Lint add-on ${{ matrix.path }} (push) Blocked by required conditions
2025-11-18 12:16:41 +00:00
f6b944d1b0 Update 3dprinter-octoprint/Dockerfile
Some checks are pending
Build add-on(s) / Initialize builds (push) Waiting to run
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Blocked by required conditions
Lint / Find add-ons (push) Waiting to run
Lint / Lint add-on ${{ matrix.path }} (push) Blocked by required conditions
Amend base image to pull from reg.i3omb.com
2025-11-18 12:14:55 +00:00
408de12f3d Update repository.yaml
Some checks are pending
Build add-on(s) / Initialize builds (push) Waiting to run
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Blocked by required conditions
Lint / Find add-ons (push) Waiting to run
Lint / Lint add-on ${{ matrix.path }} (push) Blocked by required conditions
2025-11-18 10:01:20 +00:00
ef0a2ff45e Update 3dprinter-octoprint/CHANGELOG.md
Some checks are pending
Build add-on(s) / Initialize builds (push) Waiting to run
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Blocked by required conditions
Lint / Find add-ons (push) Waiting to run
Lint / Lint add-on ${{ matrix.path }} (push) Blocked by required conditions
2025-11-18 09:55:53 +00:00
873d3dcb68 Update 3dprinter-octoprint/Dockerfile
Some checks are pending
Build add-on(s) / Initialize builds (push) Waiting to run
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Blocked by required conditions
Lint / Find add-ons (push) Waiting to run
Lint / Lint add-on ${{ matrix.path }} (push) Blocked by required conditions
Updated Debian image to bookworm and octoprint version to 1.11.4
2025-11-18 09:53:18 +00:00
dfb6855bc5 Update 3dprinter-octoprint/build.yaml
Some checks are pending
Build add-on(s) / Initialize builds (push) Waiting to run
Build add-on(s) / Build ${{ matrix.arch }} ${{ matrix.addon }} add-on (push) Blocked by required conditions
Lint / Find add-ons (push) Waiting to run
Lint / Lint add-on ${{ matrix.path }} (push) Blocked by required conditions
Updated Debian image to bookworm and octoprint version to 1.11.4
2025-11-18 09:49:47 +00:00
dependabot[bot]
b25d5a2ea2
Bump smartsquaregmbh/delete-old-packages from 0.8.0 to 0.8.1 (#108)
Bumps [smartsquaregmbh/delete-old-packages](https://github.com/smartsquaregmbh/delete-old-packages) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/smartsquaregmbh/delete-old-packages/releases)
- [Commits](https://github.com/smartsquaregmbh/delete-old-packages/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: smartsquaregmbh/delete-old-packages
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-13 12:14:31 +01:00
dependabot[bot]
b778fce29d
Bump frenck/action-addon-linter from 2.15 to 2.18 (#112)
Bumps [frenck/action-addon-linter](https://github.com/frenck/action-addon-linter) from 2.15 to 2.18.
- [Release notes](https://github.com/frenck/action-addon-linter/releases)
- [Commits](https://github.com/frenck/action-addon-linter/compare/v2.15...v2.18)

---
updated-dependencies:
- dependency-name: frenck/action-addon-linter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-13 12:13:59 +01:00
Fredrik Baberg
ebd7be4f18
Remove AppArmor, update OctoPrint version and version number (#113)
* Remove AppArmor, update OctoPrint version and version number

* Update changelog
2024-11-13 12:09:20 +01:00
dependabot[bot]
e7ca882cdb
Bump docker/login-action from 3.0.0 to 3.3.0 (#105)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.0.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v3.0.0...v3.3.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 10:41:55 +02:00
dependabot[bot]
9e0dd8081b
Bump home-assistant/builder from 2024.01.0 to 2024.08.1 (#106)
Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2024.01.0 to 2024.08.1.
- [Release notes](https://github.com/home-assistant/builder/releases)
- [Commits](https://github.com/home-assistant/builder/compare/2024.01.0...2024.08.1)

---
updated-dependencies:
- dependency-name: home-assistant/builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 10:39:19 +02:00
dependabot[bot]
5e6b881509
Bump smartsquaregmbh/delete-old-packages from 0.7.0 to 0.8.0 (#98)
Bumps [smartsquaregmbh/delete-old-packages](https://github.com/smartsquaregmbh/delete-old-packages) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/smartsquaregmbh/delete-old-packages/releases)
- [Commits](https://github.com/smartsquaregmbh/delete-old-packages/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: smartsquaregmbh/delete-old-packages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 20:02:54 +01:00
Fredrik Baberg
24dd16ee55
Update documentation, resolves #90 (#97) 2024-02-17 18:39:56 +01:00
Fredrik Baberg
4b8e9a92bc
Update remote (#96)
* Update Readme

* Move from experimental to stable
2024-02-16 08:16:15 +01:00
17 changed files with 40 additions and 94 deletions

View File

@ -100,7 +100,7 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.0.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -108,7 +108,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2024.01.0
uses: home-assistant/builder@2024.08.1
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@ -9,7 +9,7 @@ jobs:
name: Cleanup packages
steps:
- name: Delete RC version of packages
uses: smartsquaregmbh/delete-old-packages@v0.7.0
uses: smartsquaregmbh/delete-old-packages@v0.8.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
user: fredrikbaberg

View File

@ -36,6 +36,6 @@ jobs:
uses: actions/checkout@v4
- name: 🚀 Run Home Assistant Add-on Lint
uses: frenck/action-addon-linter@v2.15
uses: frenck/action-addon-linter@v2.18
with:
path: "./${{ matrix.path }}"

View File

@ -34,7 +34,7 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.0.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -42,7 +42,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2024.01.0
uses: home-assistant/builder@2024.08.1
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@ -34,7 +34,7 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.0.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -42,7 +42,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2024.01.0
uses: home-assistant/builder@2024.08.1
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@ -34,7 +34,7 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.0.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -42,7 +42,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2024.01.0
uses: home-assistant/builder@2024.08.1
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@ -34,7 +34,7 @@ jobs:
- name: Login to GitHub Container Registry
if: env.BUILD_ARGS != '--test'
uses: docker/login-action@v3.0.0
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@ -42,7 +42,7 @@ jobs:
- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2024.01.0
uses: home-assistant/builder@2024.08.1
with:
args: |
${{ env.BUILD_ARGS }} \

View File

@ -1,3 +1,11 @@
## 2025.11.0
* Update debian version to Bookworm
* Update default OctoPrint version to 1.11.4
## 2024.11.0
* Remove AppArmor to make it run on HA Supervised
* Update default OctoPrint version to 1.10.3
## 2024.01.2
* Add option to pass webcam URL to proxy.

View File

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

View File

@ -1,57 +0,0 @@
#include <tunables/global>
profile 3dprinter-octoprint flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Capabilities
file,
signal (send) set=(kill,term,int,hup,cont),
# S6-Overlay
/init ix,
/bin/** ix,
/usr/bin/** ix,
/run/{s6,s6-rc*,service}/** ix,
/package/** ix,
/command/** ix,
/etc/services.d/** rwix,
/etc/cont-init.d/** rwix,
/etc/cont-finish.d/** rwix,
/run/{,**} rwk,
/dev/tty rw,
# Bashio
/usr/lib/bashio/** ix,
/tmp/** rwk,
# Access to options.json and other files within your addon
/data/** rw,
# Start new profile for service
/usr/bin/caddy cx -> caddy,
profile caddy flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Receive signals from S6-Overlay
signal (receive) peer=*_3dprinter-octoprint,
capability dac_override,
owner /usr/bin/caddy rm,
@{HOME}/.step/ w,
@{PROC}/*/cpuset r,
@{PROC}/sys/net/** r,
/etc/** r,
owner /etc/caddy/ kwr,
owner /etc/caddy/** kwrml,
/var/log/caddy/ r,
owner /var/log/caddy/ kwr,
owner /var/log/caddy/** kwrml,
owner /data/config/caddy/ kwr,
owner /data/config/caddy/** kwrml,
}
}

View File

@ -1,11 +1,8 @@
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base-debian:bullseye
amd64: ghcr.io/home-assistant/amd64-base-debian:bullseye
armhf: ghcr.io/home-assistant/armhf-base-debian:bullseye
armv7: ghcr.io/home-assistant/armv7-base-debian:bullseye
amd64: reg.i3omb.com/ha/amd64-base-debian:bookworm
labels:
org.opencontainers.image.title: "Home Assistant Add-on: 3DPrinter-OctoPrint"
org.opencontainers.image.description: "3DPrinter-OctoPrint addon for Home-Assistant."
org.opencontainers.image.source: "https://github.com/fredrikbaberg/ha-3dprinter-addons"
org.opencontainers.image.source: "https://git.i3omb.com/gronod/ha-3dprinter-addons"
args:
OCTOPRINT_VERSION: "1.9.3"
OCTOPRINT_VERSION: "1.11.4"

View File

@ -1,13 +1,10 @@
name: "3DPrinter-OctoPrint"
version: "2024.01.2"
version: "2025.11.0"
slug: "3dprinter-octoprint"
description: "OctoPrint as an addon, no additional bells and whistles."
arch:
- armv7
- amd64
- armhf
- aarch64
url: "https://github.com/fredrikbaberg/ha-3dprinter-addons/tree/main/3dprinter-octoprint"
url: "https://git.i3omb.com/gronod/ha-3dprinter-addons/tree/main/3dprinter-octoprint"
webui: http://[HOST]:[PORT:5000]
ports:
5000/tcp: null
@ -25,7 +22,7 @@ options:
schema:
trusted_proxies: "str?"
camera_url: "str?"
image: ghcr.io/fredrikbaberg/ha-addon-3dprinter-octoprint-{arch}
image: reg.i3omb.com/ha/3dprinter-octoprint
tmpfs: true
panel_icon: mdi:printer-3d
panel_title: 3DPrinter-OctoPrint

View File

@ -1,12 +1,15 @@
# 3DPrinter-Remote
Provides remote access to 3DPrinter. Add-on runs ser2net and can be connected to by e.g. socat.
Lets you connect a 3D printer to one device and connect to it from a different one running OctoPrint.
Add-on runs ser2net and can be connected to by e.g. socat.
*Note: Performance will be very dependent on network.*
## Usage
On the machine connected to the printer (`remote machine`):
* Setup the add-on. At minimum you will need to specify `printer_path` and verify that `baud_rate` is correct.
On the machine with OctoPrint:
On the machine with OctoPrint (`host machine`):
* Go to Settings --> Serial Connection, section __Additional serial ports__. Add : `socket://<remote machine>:9999`. For example, use the IP for `remote machine`.
* Install plugin [OctoPrint-Network-Printing](https://github.com/hellerbarde/OctoPrint-Network-Printing)
* Install plugin [OctoPrint-Network-Printing](https://github.com/hellerbarde/OctoPrint-Network-Printing)

View File

@ -9,7 +9,6 @@ arch:
- armhf
- aarch64
- i386
stage: experimental
init: false
gpio: true
usb: true

View File

@ -11,10 +11,10 @@ Set input arguments through `mjpg_input` configuration option, start the add-on.
## Accessing camera from Home Assistant
The camera stream and snapshot can be accessed by e.g. [MJPEG IP Camera](https://www.home-assistant.io/integrations/mjpeg/), with URLs:
* MJPEG URL: `http://<addon-hostname>/?action=stream`
* Still image URL: `http://<addon-hostname>/?action=snapshot`.
* MJPEG URL: `http://cce6f2d5-camera-mjpg-streamer/?action=stream`
* Still image URL: `http://cce6f2d5-camera-mjpg-streamer/?action=snapshot`.
Addon hostname can be found under [addon settings](https://my.home-assistant.io/redirect/supervisor_addon/?addon=b7aa59c4_camera-mjpg-streamer&repository_url=https%3A%2F%2Fgithub.com%2Ffredrikbaberg%2Fha-3dprinter-addons).
Addon hostname can be found under [addon settings](https://my.home-assistant.io/redirect/supervisor_addon/?addon=cce6f2d5_camera-mjpg-streamer&repository_url=https%3A%2F%2Fgithub.com%2Ffredrikbaberg%2Fha-3dprinter-addons).
## Ingress?

View File

@ -13,7 +13,6 @@ arch:
- armhf
- aarch64
- i386
# stage: experimental
init: false
video: true
usb: true

View File

@ -1,3 +1,3 @@
name: 3DPrinter addons for Home-Asssistant by fredrikbaberg
url: https://github.com/fredrikbaberg/ha-3dprinter-addons
maintainer: Fredrik Baberg <fredrik.baberg@gmail.com>
name: 3DPrinter addons for Home-Asssistant by gronod
url: https://git.i3omb.com/gronod/ha-3dprinter-addon
maintainer: Gordon Bolton <gordon@i3omb.com>