diff --git a/epaper-station/config.yaml b/epaper-station/config.yaml index dc919be..0edd121 100644 --- a/epaper-station/config.yaml +++ b/epaper-station/config.yaml @@ -1,6 +1,6 @@ --- name: EPaper Station -version: 1.0.0.3 +version: 1.0.0.4 #image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch} slug: epaper-station description: Publish Pictures to EPaper pricetags diff --git a/epaper-station/rootfs/etc/services.d/epaper-station/run b/epaper-station/rootfs/etc/services.d/epaper-station/run index 347ca85..54a9b52 100644 --- a/epaper-station/rootfs/etc/services.d/epaper-station/run +++ b/epaper-station/rootfs/etc/services.d/epaper-station/run @@ -2,10 +2,10 @@ bashio::log.info "Reading config..." CONFIG_PATH=/data/options.json -EPS_CHANNEL="$(bashio::config 'channel')" -EPS_PORT="$(bashio::config 'serial_port')" -EPS_IMAGE_WORKDIR="/tmp" -EPS_DATABASE_DIR="/data/database/" +export EPS_CHANNEL="$(bashio::config 'channel')" +export EPS_PORT="$(bashio::config 'serial_port')" +export EPS_IMAGE_WORKDIR="/tmp" +export EPS_DATABASE_DIR="/data/database/" mkdir -p $EPS_DATABASE_DIR bashio::log.info "Starting epaper station..."