Zeiten besser dargestellt

Werte in europäisches System umgerechnet
This commit is contained in:
rxf
2026-01-28 14:18:00 +00:00
parent 511cc31dc0
commit 0285fde580
3 changed files with 52 additions and 37 deletions

View File

@@ -34,7 +34,7 @@ class WetterDB:
cursor.execute('''
CREATE TABLE IF NOT EXISTS wetterdaten (
id INTEGER PRIMARY KEY AUTOINCREMENT,
dateTime TEXT NOT NULL,
dateTime INTEGER NOT NULL,
barometer REAL,
outTemp REAL,
outHumidity INTEGER,
@@ -86,7 +86,7 @@ def health():
return jsonify({'status': 'ok', 'service': 'ingestion'}), 200
@app.route('/api/data/upload', methods=['POST'])
# @app.route('/api/data/upload', methods=['POST'])
@app.route('/api/data/upload/', methods=['POST'])
def upload_data():
"""HTTP-POST Endpoint für Wetterdaten"""