Skip to content

Commit

Permalink
Merge pull request #19 from Brovning/beta
Browse files Browse the repository at this point in the history
v1.6 patch 1
  • Loading branch information
Brovning committed Feb 25, 2022
2 parents da29971 + 2da2f90 commit d0a12a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -790,12 +790,13 @@ Aktiviert die Schuko-Steckdose der Wallbox $WallboxId (von 0 bis 7) der E3DC-Ins

### 8. Versionshistorie

#### v1.6, 19.02.2022
#### v1.6 patch 1, 25.02.2022
- Register für Wechselrichter hinzugefügt (ab SW-Version >=S10_2022_02)
- Maximal nutzbare Batteriekapazität konfigurierbar (Alterung kann berücksichtigt werden)
- DC-String Information einzeln aktivierbar
- kW Wert zu DC-String Information hinzugefügt
- Layout des Konfigurationsformulars überarbeitet
- Bugfix #18: Uncaught TypeError getPowerSumOfLog()

#### v1.5, 20.01.2022
- bugfix #12: Wrong Modbus datatype used for powermeter values in W
Expand Down
2 changes: 1 addition & 1 deletion libs/myFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ private function getPowerSumOfLog(int $logId, int $startTime, int $endTime, int
// Zu viele Logwerte in der TimeRange vorhanden
elseif (10000 <= count($buffer))
{
$intervallEdge = $startTime + ($endTime - $startTime) / 2;
$intervallEdge = (int)($startTime + ($endTime - $startTime) / 2);
$bufferSum = $this->getPowerSumOfLog($logId, $startTime, $intervallEdge, $mode) + $this->getPowerSumOfLog($logId, $intervallEdge, $endTime, $mode);
}
// Logwerte vorhanden
Expand Down

0 comments on commit d0a12a9

Please sign in to comment.