47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
name: "Fichero Printer"
|
|
version: "0.1.40"
|
|
description: "REST API for the Fichero D11s (AiYin) thermal label printer over Bluetooth"
|
|
url: "https://git.leuschner.dev/Tobias/Fichero"
|
|
slug: "fichero_printer"
|
|
arch:
|
|
- aarch64
|
|
- amd64
|
|
init: false
|
|
startup: application
|
|
boot: auto
|
|
ingress: true
|
|
ingress_port: 8765
|
|
panel_icon: mdi:printer
|
|
panel_title: Fichero Printer
|
|
webui: "http://[HOST]:[PORT:8765]/"
|
|
full_access: true
|
|
# Host capabilities - these are direct add-on settings, not user options
|
|
host_network: true
|
|
host_dbus: true
|
|
# NET_ADMIN and NET_RAW are required for Classic Bluetooth (RFCOMM)
|
|
privileged:
|
|
- NET_ADMIN
|
|
- NET_RAW
|
|
devices:
|
|
- /dev/rfcomm0
|
|
- /dev/ttyACM0
|
|
environment:
|
|
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
|
|
# User-configurable options (visible in add-on configuration UI)
|
|
options:
|
|
port: 8765
|
|
ble_address: ""
|
|
transport: "ble"
|
|
channel: 1
|
|
log_level: "info"
|
|
# Validation schema for user options
|
|
schema:
|
|
port: int(1024,65535)
|
|
ble_address: str?
|
|
transport: list(ble|classic)
|
|
channel: int(1,30)
|
|
log_level: list(trace|debug|info|warning|error|fatal)
|
|
ports:
|
|
8765/tcp: 8765
|
|
ports_description:
|
|
8765/tcp: "Fichero Printer REST API" |