Skip to content

Commit

Permalink
DPL: log next inverter restart
Browse files Browse the repository at this point in the history
  • Loading branch information
schlimmchen committed Jan 21, 2025
1 parent 81bf0ea commit b17f23c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/PowerLimiter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,12 @@ void PowerLimiterClass::loop()
_oLoadCorrectedVoltage = std::nullopt;

if (_verboseLogging && usesBatteryPoweredInverter()) {
MessageOutput.printf("[DPL] up %lu s, %snext inverter restart at %d s (set to %d)\r\n",
millis()/1000,
(_nextInverterRestart.first?"":"NO "),
_nextInverterRestart.second/1000,
config.PowerLimiter.RestartHour);

MessageOutput.printf("[DPL] battery interface %sabled, SoC %.1f %% (%s), age %u s (%s)\r\n",
(config.Battery.Enabled?"en":"dis"),
Battery.getStats()->getSoC(),
Expand Down

0 comments on commit b17f23c

Please sign in to comment.