From 8a1676f318075bf25edfde8fd707a9a285e1e440 Mon Sep 17 00:00:00 2001 From: WorldTeacher <41587052+WorldTeacher@users.noreply.github.com> Date: Mon, 21 Oct 2024 12:50:10 +0200 Subject: [PATCH] update readme --- README.md | 28 +++- requirements.txt | Bin 0 -> 3510 bytes src/ui/graph.py | 370 +---------------------------------------------- 3 files changed, 29 insertions(+), 369 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 117bff6..1d92070 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # ZSDiagram -a small application to display graphs of Sensor data collected by Homassistant and formatted in a certain way \ No newline at end of file +ZSDiagram ist eine kleine Grafische Anwendung, welche eine JSON-Datei in einem bestimmten Format einliest und daraus ein Diagram erstellt. + +Das Diagramm kann entweder für einen, mehrere, oder alle Sensoren auf einmal erstellt werden. + +## Filtermethoden: +- Sensoren +- Zeitraum + +## Zusatz: +- Fehlende Tage einfügen + - Standardmäßig werden nur die Tage angezeigt, an denen auch Daten vorhanden sind. Dies ist problematisch, wenn mehrere Sensoren in einem Diagram angezeigt werden, da die Daten nicht immer an den gleichen Tagen vorhanden sind. + +# Installation +1. Repository klonen +2. In das Verzeichnis wechseln +3. venv erstellen + - `python -m venv venv` + - `source venv/bin/activate` + - Windows: `venv\Scripts\activate` + - `pip install --upgrade pip` + - `pip install -r requirements.txt` +4. Programm ausführen + - `python application.py` + +## Daten einlesen +1. JSON-Datei mit Drag&Drop auf das Fenster ziehen, der Pfad wird automatisch eingetragen +2. ... \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..6419526a7da72d7bca370f17a449dccadb15bfbd GIT binary patch literal 3510 zcmbW4OK%fP5QTe<#7`NNv4eA2+yx8vAQmhmKNEvvPi%)I{_(*1`gFO+B)ME6YbnG0-0*JopknTlfI>STI(;g23d}# zbv`FtZEkEtoY=jlQAs;#O&kuU76irf(mWzXLF@+RF&Ya-8^G|dt2 zvrW!m@m-E!DxIw?F4IDfeV$29od4(B@Uo~#CP3H`c=h-IAag9J4ufvSjwX$n_8G)qZS*osU;Y=Q8 zTD%88n7@@g@PHKqaVzXDGs=50WFswXfb^gs0+wHOc2>AYJZ(PhxW5W1yzH}=OVtHV zRBT+ei1ev8)icJ_kIuDSxVM*OI7Bxs#fT=?i{E5Jq>d(d!CU&h(b=71S}U5R&Z9{M zYd@?N_05r8QG0vdQp zm^$cy2UwZ^uxu)SMhs3@JUx%lpog44C$Zp4eU$7fSCp=;wP-WqQO!ri&z9KB%SxZ{ zLbSEt@bgr!$sNR|*{L4z2T!0lDUn9~f*Fs;Y$|ua%~*pPQGb$^x7mUxoWE_O%A05P zj7!zJRBZ62BGk%uA0xbtvYecGPCbp3+o=vc>k5S*biN3?iKZ~~mF!#u9f?f_MhtbS!lBVM(UOK z`ZdcuGoPbkwd#HC52`);9ab(gzh6G(`-tVRvCidAjEr5;$U9SIe$v_W9ovQ8`+Zt+ z_V8Ob)ZV?%Oc|=@;V1W+m`ThdScHt;+A9j?qa%DeCl2cL+u{dQJPYV3DhWTiGcxPA zzmNlaBJPKra98x_Pn?WdSJ4Yy?+Lsx%Wj2=_mMR{$^4BDwP3=m<(q9p&divBvW%|t zeT)rz>h&VWhd*<4C$=+Z;+}ij!A6+Qf5=`q*S`_%atyvb)@|93f~`TFXUDlVmNmLM zwg`FE3F!&SW(