Logic of check_peak

This commit is contained in:
Paul Warren 2024-10-16 21:46:24 +11:00
parent a2a6b9c4e9
commit 3f6ab9067d

View file

@ -31,3 +31,9 @@ print("DisCharge: %.2f" % avg_discharge)
print(" SOC: %.2f" % soc)
# 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 15:00 and battery SoC will be < 25% at 16:00: charge at full beans for 1 hour