From 9c6478a804b4d503d81dd8f192ddda60d74ad874 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Tue, 16 Feb 2016 17:26:28 +0000 Subject: [PATCH] 55_GDS.pm: disable conditions after 15.03.2016 git-svn-id: https://svn.fhem.de/fhem/trunk@10862 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/55_GDS.pm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/fhem/CHANGED b/fhem/CHANGED index 9bd7bb1e5..5728f4b43 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature 55_GDS: disable conditions after 15.03.2016 - feature 74_HOMBOT: formated Value for Reading lastClean - feature 74_HOMBOT: include Detail_Fn link to Luigi Contro Center - feature 49_SSCAM: control of exposure mode day, night & auto is diff --git a/fhem/FHEM/55_GDS.pm b/fhem/FHEM/55_GDS.pm index 412dbdc53..ebec9200b 100644 --- a/fhem/FHEM/55_GDS.pm +++ b/fhem/FHEM/55_GDS.pm @@ -423,6 +423,7 @@ sub GDS_Set($@) { when("conditions"){ CommandAttr(undef, "$name gdsSetCond $parameter"); # $attr{$name}{gdsSetCond} = $parameter; #ReadingsVal($name,'c_stationName',undef); + return "conditions no longer available after 15.03.2016" if (time > 1457996400); GDS_GetUpdate($hash,'set conditions'); break; } @@ -568,6 +569,7 @@ sub GDS_Get($@) { } when("conditions"){ + return "conditions no longer available after 15.03.2016" if (time > 1457996400); getConditions($hash, "g", @a); break; }