Dateien nach "/" hochladen
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
|||||||
|
FROM python:3.12-slim
|
||||||
|
|
||||||
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||||
|
PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
fonts-dejavu-core \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY requirements.txt /app/requirements.txt
|
||||||
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||||
|
|
||||||
|
COPY run.sh /app/run.sh
|
||||||
|
COPY server.py /app/server.py
|
||||||
|
|
||||||
|
RUN chmod +x /app/run.sh
|
||||||
|
|
||||||
|
CMD ["/app/run.sh"]
|
||||||
+103
@@ -0,0 +1,103 @@
|
|||||||
|
name: X3 Dashboard Custom
|
||||||
|
version: "0.3.0"
|
||||||
|
slug: x3_dashboard_custom
|
||||||
|
description: Custom XTeink X3 dashboard for kitchen with solar/battery/calendar
|
||||||
|
url: https://github.com/CraigBell/xteink-x3-home-assistant-dashboard
|
||||||
|
arch:
|
||||||
|
- aarch64
|
||||||
|
- amd64
|
||||||
|
- armv7
|
||||||
|
startup: application
|
||||||
|
boot: auto
|
||||||
|
init: false
|
||||||
|
homeassistant_api: true
|
||||||
|
ports:
|
||||||
|
8787/tcp: 8787
|
||||||
|
ports_description:
|
||||||
|
8787/tcp: X3 dashboard HTTP feed
|
||||||
|
webui: "http://[HOST]:[PORT:8787]/"
|
||||||
|
watchdog: "http://[HOST]:[PORT:8787]/x3/status.json"
|
||||||
|
options:
|
||||||
|
title: "Küche Dashboard"
|
||||||
|
subtitle: "Home Assistant Status"
|
||||||
|
refresh_seconds: 300
|
||||||
|
calendar_blacklist: "Gemeinsame Mittagspause,Gemeinsamer Mensa,Block ZDI Jour Fixe,Terminblock ZDI,Regelmäßiger Austausch SC Würzburg"
|
||||||
|
message_history_hours: 168
|
||||||
|
message_history_limit: 50
|
||||||
|
messages_per_page: 5
|
||||||
|
entity_ids:
|
||||||
|
room_temp: "sensor.thermo_zigbee_temperature"
|
||||||
|
outside_temp: "sensor.shelly_ecowitt_ws90_temperature"
|
||||||
|
solar_daily: "sensor.solar_wechselrichter_solar_tagesenergie"
|
||||||
|
battery_soc: "sensor.pylontech_battery_id_512_charge"
|
||||||
|
power_consumption: "sensor.tibber_pulse_kirchstrasse_6_kumulierter_verbrauch"
|
||||||
|
local_calendar_sensor: "sensor.x3_local_calendar"
|
||||||
|
calendar_1: "calendar.personlich"
|
||||||
|
calendar_2: "calendar.tilman_personlich"
|
||||||
|
wellbeing_days: ""
|
||||||
|
steps_primary: ""
|
||||||
|
steps_total: ""
|
||||||
|
room_lux: ""
|
||||||
|
room_presence: ""
|
||||||
|
desk_presence: ""
|
||||||
|
window_open: ""
|
||||||
|
projector: ""
|
||||||
|
phone_battery: ""
|
||||||
|
phone_battery_state: ""
|
||||||
|
network_present: ""
|
||||||
|
network_rssi: ""
|
||||||
|
network_last_seen: ""
|
||||||
|
network_direct_clients: ""
|
||||||
|
network_direct_repeaters: ""
|
||||||
|
network_node_one_online: ""
|
||||||
|
network_node_two_online: ""
|
||||||
|
latest_bridge: ""
|
||||||
|
latest_external: ""
|
||||||
|
latest_message: ""
|
||||||
|
message_entity_ids:
|
||||||
|
dashboard_pubsub: ""
|
||||||
|
bridge: ""
|
||||||
|
external: ""
|
||||||
|
secure_external: ""
|
||||||
|
schema:
|
||||||
|
title: str
|
||||||
|
subtitle: str
|
||||||
|
refresh_seconds: int(30,86400)
|
||||||
|
calendar_blacklist: str
|
||||||
|
message_history_hours: int(1,720)
|
||||||
|
message_history_limit: int(1,500)
|
||||||
|
messages_per_page: int(1,10)
|
||||||
|
entity_ids:
|
||||||
|
room_temp: str?
|
||||||
|
outside_temp: str?
|
||||||
|
solar_daily: str?
|
||||||
|
battery_soc: str?
|
||||||
|
power_consumption: str?
|
||||||
|
local_calendar_sensor: str?
|
||||||
|
calendar_1: str?
|
||||||
|
calendar_2: str?
|
||||||
|
wellbeing_days: str?
|
||||||
|
steps_primary: str?
|
||||||
|
steps_total: str?
|
||||||
|
room_lux: str?
|
||||||
|
room_presence: str?
|
||||||
|
desk_presence: str?
|
||||||
|
window_open: str?
|
||||||
|
projector: str?
|
||||||
|
phone_battery: str?
|
||||||
|
phone_battery_state: str?
|
||||||
|
network_present: str?
|
||||||
|
network_rssi: str?
|
||||||
|
network_last_seen: str?
|
||||||
|
network_direct_clients: str?
|
||||||
|
network_direct_repeaters: str?
|
||||||
|
network_node_one_online: str?
|
||||||
|
network_node_two_online: str?
|
||||||
|
latest_bridge: str?
|
||||||
|
latest_external: str?
|
||||||
|
latest_message: str?
|
||||||
|
message_entity_ids:
|
||||||
|
dashboard_pubsub: str?
|
||||||
|
bridge: str?
|
||||||
|
external: ""
|
||||||
|
secure_external: str?
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
name: X3 Dashboard Custom
|
||||||
|
url: https://gitea.sonith.de/tilman_hampl/x3-dashboard
|
||||||
|
maintainer: Tilman Hampl
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Pillow>=10.0
|
||||||
Reference in New Issue
Block a user