commit 488305c252c08017e1758b35ff58f721d7650e70 Author: Markus Zolliker Date: Fri May 23 08:04:13 2025 +0200 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/flaskserver.py b/flaskserver.py new file mode 100755 index 0000000..7f74c37 --- /dev/null +++ b/flaskserver.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 + +from flask import Flask, render_template, request, redirect, jsonify +import sys +import time +import threading + +app = Flask(__name__) + +webpage = sys.argv[1] + +@app.route('/') +def index(): + return render_template(f'{webpage}.html') + + +if __name__ == '__main__': + app.run(host="0.0.0.0", port=80, debug=True) diff --git a/static/UI5.svg b/static/UI5.svg new file mode 100644 index 0000000..b1a99ed --- /dev/null +++ b/static/UI5.svg @@ -0,0 +1,1352 @@ + + + + + + + + + + + image/svg+xml + + + + + + + + + + DU + + + + P1 + + + + P2 + + + + P4 + + + + P5 + + + + LN2Trap + + + + + tank + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + P3 + + MV8 + MV12 + MV10 + MV11 + MV9 + MV13 + MV14 + MV1 + MV2 + MV3a + MV3b + MVB + GV1 + GV2 + V9 + V2 + V5 + V4 + V1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + C + + + + + F + + + + + + + + + + + + + + + + x mbar + x mbar + x mbar + x mbar + x mbar + speed: + current: + + + compressed + air + x Hz + x % + + diff --git a/templates/dil5.html b/templates/dil5.html new file mode 100644 index 0000000..6f70313 --- /dev/null +++ b/templates/dil5.html @@ -0,0 +1,419 @@ + + + + + + Pump Control + + + +
+ + +
+

DIL5 Control

+

States

+
+ + + + + +
+

Status messages

+ +
+
+ + + + + + +