We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e81f1b4 commit ae5b26bCopy full SHA for ae5b26b
SmartEVSE-3/src/main.cpp
@@ -3601,7 +3601,7 @@ int16_t getBatteryCurrent(void) {
3601
homeBatteryLastUpdate = 0; // last update was more then 60s ago, set to 0
3602
homeBatteryCurrent = 0;
3603
return 0;
3604
- } else if (Mode == MODE_SOLAR) {
+ } else if (Mode == MODE_SOLAR && MainsMeter.Type == EM_API) { // Only use BatteryCurrent if Mainsmeter = API, and Solar Mode
3605
return homeBatteryCurrent;
3606
} else {
3607
return 0; // don't touch homeBatteryCurrent, just return 0
0 commit comments