diff --git a/fhem/FHEM/55_GDS.pm b/fhem/FHEM/55_GDS.pm index 7e62edb1d..19b4d3945 100644 --- a/fhem/FHEM/55_GDS.pm +++ b/fhem/FHEM/55_GDS.pm @@ -69,6 +69,7 @@ sub GDS_Initialize($) { $hash->{AttrFn} = "GDS_Attr"; $hash->{AttrList} = "gdsFwName gdsFwType:0,1,2,3,4,5,6,7 ". "gdsAll:0,1 gdsDebug:0,1 gdsLong:0,1 gdsPolygon:0,1 ". + "gdsSetCond ". $readingFnAttributes; $tempDir = "c:\\temp\\" if($^O eq "MSWin32"); @@ -317,7 +318,10 @@ sub GDS_Attr(@){ CommandDeleteReading(undef, "$name _dF.*") if($attrValue != 1); break; } - + when("gdsSetCond"){ + fhem("define gdsDummy at +00:00:30 set $name conditions $attrValue"); + break; + } default {$attr{$name}{$attrName} = $attrValue;} } return ""; @@ -1242,6 +1246,7 @@ sub initDropdownLists($){
  • gdsAll - defines filter for "all data" from alert message
  • gdsDebug - defines filter for debug informations
  • +
  • gdsSetCond - defines conditions area to be used after system restart
  • gdsLong - show long text fields "description" and "instruction" from alert message in readings
  • gdsPolygon - show polygon data from alert message in a reading