initial commit

This commit is contained in:
Jan-Henrik 2023-02-06 22:17:01 +01:00
commit bbf9d89bd8
5 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,9 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base-python/amd64:9.0.1
FROM ${BUILD_FROM}
ADD "https://github.com/jhbruhn/ZBS_Flasher/archive/refs/heads/config_image_format.tar.gz" /src.tar.gz
RUN mkdir /src && tar xvfz /src.tar.gz -C /src --strip-components=1
RUN mv /src/CC2531_station/epaper_station_websocket/ /app
WORKDIR /app
RUN pip install -r requirements.txt

View file

@ -0,0 +1,20 @@
---
name: EPaper Station
version: 1.0.0
#image: ghcr.io/maxwinterstein/homeassistant-addon-toogoodtogo-ha-mqtt-bridge-{arch}
slug: epaper-station
description: Publish Pictures to EPaper pricetags
arch:
- amd64
- armv7
- aarch64
options:
serial:
port: ""
schema:
serial:
port: str
stage: experimental
url: https://github.com/jhbruhn/ZBS_Flasher
hassio_api: true
init: false

View file

@ -0,0 +1,5 @@
#!/usr/bin/execlineb -S0
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services

View file

@ -0,0 +1,4 @@
#!/usr/bin/with-contenv bashio
bashio::log.info "Starting epaper station..."
exec python /app/station.py

5
repository.json Normal file
View file

@ -0,0 +1,5 @@
{
"name": "Home Assistant Add-On repository (by jhbruhn)",
"url": "https://git.baubs.net/jan-henrik/homeassistant-addons/",
"maintainer": "Jan-Henrik Bruhn <ha@jhbruhn.de>"
}