From 16f8bdbce8e2d4f4885a76b51114a3947961188c Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 19 Oct 2020 19:32:14 +0200 Subject: [PATCH] change readings age condition --- controls_backupToStorage.txt | 2 +- lib/FHEM/backupToStorage.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controls_backupToStorage.txt b/controls_backupToStorage.txt index e6b6110..9904d3d 100644 --- a/controls_backupToStorage.txt +++ b/controls_backupToStorage.txt @@ -1,2 +1,2 @@ UPD 2020-10-19_09:19:38 6100 FHEM/98_backupToStorage.pm -UPD 2020-10-19_15:27:39 15810 lib/FHEM/backupToStorage.pm +UPD 2020-10-19_19:31:51 15811 lib/FHEM/backupToStorage.pm diff --git a/lib/FHEM/backupToStorage.pm b/lib/FHEM/backupToStorage.pm index 95ce482..9ab52b0 100644 --- a/lib/FHEM/backupToStorage.pm +++ b/lib/FHEM/backupToStorage.pm @@ -323,7 +323,7 @@ sub PushToStorage { Log3( $name, 4, "backupToStorage ($name) - push to storage function" ); return - if ( ReadingsAge($name,'fhemBackupFile',1) > 5 ); + if ( ReadingsAge($name,'fhemBackupFile',1) > 60 ); Log3( $name, 4, "backupToStorage ($name) - after readings age return" );