no message

This commit is contained in:
2025-11-05 07:25:58 +01:00
parent 41b0c7afb1
commit 97e8e949fb

View File

@@ -227,7 +227,7 @@ private function GetValueAt(int $varId, int $timestamp, bool $nearestAfter = fal
if ($nearestAfter) {
// Endwert: erster Wert >= Timestamp
$values = @AC_GetLoggedValues($archiveID, $varId, $timestamp, $timestamp + 86400, 1);
$values = @AC_GetLoggedValues($archiveID, $varId, $timestamp, $timestamp + 864000, 1);
if ($values && count($values) > 0) return floatval($values[0]['Value']);
} else {
// Startwert: letzter Wert <= Timestamp