v1.0.1: Added Home Assistant add-on configuration\n\n- Added config.yaml with user options\n- Port, address, transport, channel configurierbar\n- Schema validation for all options\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
26
config.yaml
Normal file
26
config.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
version: "1.0.0"
|
||||||
|
name: "Fichero Printer"
|
||||||
|
description: "Fichero D11s thermal label printer with BLE support"
|
||||||
|
url: "https://github.com/your-repo/fichero-printer"
|
||||||
|
startup: "application"
|
||||||
|
boot: "auto"
|
||||||
|
host_network: true
|
||||||
|
host_dbus: true
|
||||||
|
devices:
|
||||||
|
- /dev/rfcomm0
|
||||||
|
environment:
|
||||||
|
DBUS_SYSTEM_BUS_ADDRESS: "unix:path=/host/run/dbus/system_bus_socket"
|
||||||
|
ports:
|
||||||
|
8765/tcp: 8765
|
||||||
|
ports_description:
|
||||||
|
8765/tcp: "Fichero Printer REST API"
|
||||||
|
options:
|
||||||
|
port: 8765
|
||||||
|
address: ""
|
||||||
|
transport: "ble"
|
||||||
|
channel: 1
|
||||||
|
schema:
|
||||||
|
port: int(1024,65535)
|
||||||
|
address: str?
|
||||||
|
transport: list(ble|classic)
|
||||||
|
channel: int(1,30)
|
||||||
Reference in New Issue
Block a user