Compare commits

...

2 Commits

Author SHA1 Message Date
Ninluc ab8199344c Disable temperature alert
Build, push image, and notify Watchtower / build-image (push) Successful in 44s
Build, push image, and notify Watchtower / notify (push) Successful in 14s
2026-08-17 22:20:22 +02:00
Ninluc 5a3f1d94ef Fix datetime function 2026-08-17 22:20:12 +02:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ def telemetry():
return jsonify({"error": "Expected a JSON object/dictionary"}), 400 return jsonify({"error": "Expected a JSON object/dictionary"}), 400
# Stamp UTC timestamp for Node-RED queries # Stamp UTC timestamp for Node-RED queries
data["received_at"] = datetime.now(datetime.timezone.utc).isoformat() data["received_at"] = datetime.now(timezone.utc).isoformat()
try: try:
telemetry_collection.insert_one(data) telemetry_collection.insert_one(data)
+1 -1
View File
@@ -1,7 +1,7 @@
# Debugging and others # Debugging and others
DEBUG=True DEBUG=True
DEBUG_DANGEROUS_AREA=False DEBUG_DANGEROUS_AREA=False
DEBUG_TEMPERATURE_ALERT=True DEBUG_TEMPERATURE_ALERT=False
# LoRa # LoRa
LORA_HEARTBEAT_INTERVAL = 30 LORA_HEARTBEAT_INTERVAL = 30