From a50d3b60e1595196fc0c487e0331fe1fb66ef760 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Wed, 23 Oct 2024 07:34:12 +1100 Subject: [PATCH] Correct times --- examples/check_peak.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/check_peak.py b/examples/check_peak.py index 58293ac..9445db8 100755 --- a/examples/check_peak.py +++ b/examples/check_peak.py @@ -41,7 +41,7 @@ print("1h est WH: %.2f" % h_estim) print("1hr est %%: %.2f" % h_estpct) -time_check = (current_time.hour == 9 or current_time.hour == 15) +time_check = (current_time.hour == 5 or current_time.hour == 15) estimate_check = (h_estpct < 18.0) if (time_check and estimate_check): @@ -51,7 +51,7 @@ else: # Logic of this is: # -# If it's 05:00 and battery SoC will be < 18% at 07:00: charge at full beans for 1 hour +# If it's 05:00 and battery SoC will be < 18% at 06:00: charge at full beans for 1 hour # # if it's 15:00 and battery SoC will be < 25% at 16:00: charge at full beans for 1 hour