Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with charge rate being reset when it shouldn't be in low power mode #652

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -9101,7 +9101,7 @@ def execute_plan(self):
inverter.adjust_force_discharge(False)
resetReserve = True

if self.set_discharge_freeze:
if self.set_discharge_freeze and not isCharging:
# In discharge freeze mode we disable charging during discharge slots, so turn it back on otherwise
inverter.adjust_charge_rate(inverter.battery_rate_max_charge * 60 * 1000)
elif self.set_discharge_window:
Expand Down
Loading