From e8adea0e3b3757f6c6d7faa2c279459e608578a4 Mon Sep 17 00:00:00 2001 From: drbacke <35328755+drbacke@users.noreply.github.com> Date: Mon, 23 Sep 2024 06:58:57 +0200 Subject: [PATCH] Update class_soc_calc.py --- modules/class_soc_calc.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/class_soc_calc.py b/modules/class_soc_calc.py index 7fea92c..98f49dd 100644 --- a/modules/class_soc_calc.py +++ b/modules/class_soc_calc.py @@ -236,12 +236,7 @@ class BatteryDataProcessor: if __name__ == '__main__': # MariaDB Verbindungsdetails - config = { - 'user': 'soc', - 'password': 'Rayoflight123!', - 'host': '192.168.1.135', - 'database': 'sensor' - } + # Parameter festlegen voltage_high_threshold = 55.4 # 100% SoC