initial commit
This commit is contained in:
commit
bbf9d89bd8
5 changed files with 43 additions and 0 deletions
9
epaper-station/Dockerfile
Normal file
9
epaper-station/Dockerfile
Normal 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
|
20
epaper-station/config.yaml
Normal file
20
epaper-station/config.yaml
Normal 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
|
|
@ -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
|
4
epaper-station/rootfs/etc/services.d/epaper-station/run
Normal file
4
epaper-station/rootfs/etc/services.d/epaper-station/run
Normal 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
5
repository.json
Normal 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>"
|
||||||
|
}
|
Loading…
Reference in a new issue