Skip to content

Commit

Permalink
evse.cpp: fix solar bug by setting timer when IsumImport > 0
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo35 committed Jul 8, 2024
1 parent a16f289 commit 8c77f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartEVSE-3/src/evse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ void CalcBalancedCurrent(char mod) {
//so now we have a shortage of power
if (Mode == MODE_SOLAR) {
// ----------- Check to see if we have to continue charging on solar power alone ----------
if (ActiveEVSE && StopTime && (IsumImport > 10)) {
if (ActiveEVSE && StopTime && (IsumImport > 0)) {
//TODO maybe enable solar switching for loadbl = 1
if (EnableC2 == AUTO && LoadBl == 0)
Set_Nr_of_Phases_Charging();
Expand Down

0 comments on commit 8c77f1c

Please sign in to comment.