diff --git a/main.py b/main.py index abe2edc..f9dcbba 100644 --- a/main.py +++ b/main.py @@ -110,9 +110,7 @@ def format_DS_data(data): "TankLevel": np.round(data.get("TankLevel", 0.0), 2), "Qinlet": np.round(data.get("Inlet_flow", 0.0), 1), "Qoutlet": np.round(data.get("Outlet_flow", 0.0), 1), - "Q_conso_filt": np.round(data.get("Qdrain_sp", 0.0), 1), - "Q_conso_filt": np.round(data.get("Qdrain_sp", 0.0), 1), - "Q_conso_filt": np.round(data.get("Qdrain_sp", 0.0), 1), + "Q_conso": np.round(data.get("Inlet_flow", 0.0), 1) - np.round(data.get("Outlet_flow", 0.0), 1), } diff --git a/templates/control.html b/templates/control.html index b1df70a..a0440a4 100644 --- a/templates/control.html +++ b/templates/control.html @@ -339,20 +339,20 @@