Add image format config option
This commit is contained in:
parent
6bae21f87c
commit
3d0e11159b
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: EPaper Station
|
name: EPaper Station
|
||||||
version: 1.0.0.6
|
version: 1.0.0.7
|
||||||
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
|
||||||
slug: epaper-station
|
slug: epaper-station
|
||||||
description: Publish Pictures to EPaper pricetags
|
description: Publish Pictures to EPaper pricetags
|
||||||
|
@ -15,10 +15,12 @@ map:
|
||||||
options:
|
options:
|
||||||
serial_port: ""
|
serial_port: ""
|
||||||
image_path: "/config/epaper-station/images"
|
image_path: "/config/epaper-station/images"
|
||||||
|
image_format: "1bppR"
|
||||||
channel: 25
|
channel: 25
|
||||||
schema:
|
schema:
|
||||||
serial_port: str
|
serial_port: str
|
||||||
image_path: str
|
image_path: str
|
||||||
|
image_format: str
|
||||||
channel: "int(11,25)"
|
channel: "int(11,25)"
|
||||||
stage: experimental
|
stage: experimental
|
||||||
url: https://github.com/jhbruhn/ZBS_Flasher
|
url: https://github.com/jhbruhn/ZBS_Flasher
|
||||||
|
|
|
@ -7,6 +7,7 @@ export EPS_PORT="$(bashio::config 'serial_port')"
|
||||||
export EPS_IMAGE_WORKDIR="/tmp"
|
export EPS_IMAGE_WORKDIR="/tmp"
|
||||||
export EPS_DATABASE_DIR="/data/database/"
|
export EPS_DATABASE_DIR="/data/database/"
|
||||||
export EPS_IMAGE_DIR="$(bashio::config 'image_path')"
|
export EPS_IMAGE_DIR="$(bashio::config 'image_path')"
|
||||||
|
export EPS_IMAGE_FORMAT="$(bashio::config 'image_format')"
|
||||||
mkdir -p $EPS_DATABASE_DIR
|
mkdir -p $EPS_DATABASE_DIR
|
||||||
mkdir -p $EPS_IMAGE_DIR
|
mkdir -p $EPS_IMAGE_DIR
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue