9 Commits

Author SHA1 Message Date
dependabot[bot]
dbf917c179 Bump actions/stale from 9.0.0 to 10.1.0
Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 10.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 00:04:19 +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
16 changed files with 28 additions and 80 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 30 days stale issues - name: 30 days stale issues
uses: actions/stale@v9.0.0 uses: actions/stale@v10.1.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 30 days-before-issue-stale: 30

View File

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

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

@@ -8,4 +8,4 @@ labels:
org.opencontainers.image.description: "3DPrinter-OctoPrint addon for Home-Assistant." 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://github.com/fredrikbaberg/ha-3dprinter-addons"
args: args:
OCTOPRINT_VERSION: "1.9.3" OCTOPRINT_VERSION: "1.10.3"

View File

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

View File

@@ -1,12 +1,15 @@
# 3DPrinter-Remote # 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 ## Usage
On the machine connected to the printer (`remote machine`): 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. * 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`. * 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 - armhf
- aarch64 - aarch64
- i386 - i386
stage: experimental
init: false init: false
gpio: true gpio: true
usb: 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 ## 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: 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` * MJPEG URL: `http://cce6f2d5-camera-mjpg-streamer/?action=stream`
* Still image URL: `http://<addon-hostname>/?action=snapshot`. * 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? ## Ingress?

View File

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