Adjust timing on check_peadk

This commit is contained in:
Paul Warren 2024-10-26 15:02:54 +11:00
parent e2626a5675
commit da2d489c28

View file

@ -55,8 +55,8 @@ estimate_check = (h_estpct < 18.0)
if (time_check and estimate_check): if (time_check and estimate_check):
print("Full BEEEEEAAAAANS!") print("Full BEEEEEAAAAANS!")
# Set settings timer to 2 hours # Set settings timer to 55 minutes
err = gen24_registers.InOutWRte_RvrtTms.set(fronius1, 6600) err = gen24_registers.InOutWRte_RvrtTms.set(fronius1, 3300)
# This should be 'limit discharge' mode # This should be 'limit discharge' mode
print("Setting control mode to limit discharge") print("Setting control mode to limit discharge")
err = gen24_registers.StorCtl_Mod.set(fronius1, 2) err = gen24_registers.StorCtl_Mod.set(fronius1, 2)