v0.1.40: Fixed config.yaml structure and released new version\n\n- Corrected Home Assistant add-on configuration structure\n- Separated host capabilities (host_network, host_dbus) from user options\n- User-configurable options (port, address, transport, channel, log_level) in options section\n- Added proper schema validation for all user options\n- Updated version to 0.1.40 with detailed CHANGELOG\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -1,39 +1,11 @@
|
||||
name: "Fichero Printer"
|
||||
version: "0.1.39"
|
||||
name: "Fichero Printer"
|
||||
description: "REST API for Fichero D11s thermal label printer with BLE and Classic Bluetooth support"
|
||||
url: "https://github.com/your-repo/fichero-printer"
|
||||
startup: "application"
|
||||
boot: "auto"
|
||||
host_network: true
|
||||
host_dbus: true
|
||||
host_pid: true
|
||||
devices:
|
||||
- /dev/rfcomm0
|
||||
- /dev/ttyACM0
|
||||
environment:
|
||||
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
|
||||
options:
|
||||
port: 8765
|
||||
address: ""
|
||||
transport: "ble"
|
||||
channel: 1
|
||||
log_level: "info"
|
||||
schema:
|
||||
port: int(1024,65535)
|
||||
address: str?
|
||||
transport: list(ble|classic)
|
||||
channel: int(1,30)
|
||||
log_level: list(trace|debug|info|warning|error|fatal)
|
||||
slug: "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
|
||||
@@ -43,30 +15,33 @@ 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 is required for Classic Bluetooth (RFCOMM) raw socket access.
|
||||
# BLE uses D-Bus (host_dbus) and does not need this.
|
||||
# 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
|
||||
port: int(1024,65535)
|
||||
ble_address: str?
|
||||
transport: list(ble|classic)
|
||||
channel: int
|
||||
|
||||
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"
|
||||
8765/tcp: "Fichero Printer REST API"
|
||||
Reference in New Issue
Block a user