diff --git a/CHANGED b/CHANGED index 328bbf867..417acd349 100644 --- a/CHANGED +++ b/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: 50_MOBILEALERTSGW: attribut allowfrom added - new: 71_YAMAHA_MC: initial release - bugfix: 22_HOMEMODE: - fix illegal division by zero in HOMEMODE_Luminance - renamed attribute name HomeYahooWeatherDevice to diff --git a/FHEM/50_MOBILEALERTSGW.pm b/FHEM/50_MOBILEALERTSGW.pm index 7300f0e8a..89dabf732 100644 --- a/FHEM/50_MOBILEALERTSGW.pm +++ b/FHEM/50_MOBILEALERTSGW.pm @@ -34,7 +34,7 @@ sub MOBILEALERTSGW_Initialize($) { #$hash->{NotifyFn}= ($init_done ? "FW_Notify" : "FW_SecurityCheck"); #$hash->{AsyncOutputFn} = "MOBILEALERTSGW_AsyncOutput"; #$hash->{ActivateInformFn} = "MOBILEALERTSGW_ActivateInform"; - $hash->{AttrList} = "forward:0,1 " . $readingFnAttributes; + $hash->{AttrList} = "forward:0,1 allowfrom " . $readingFnAttributes; Log3 "MOBILEALERTSGW", 5, "MOBILEALERTSGW_Initialize finished."; } @@ -755,6 +755,9 @@ sub MOBILEALERTSGW_DecodeUDP($$$) {
  • forward
    If value 1 is set, the data will be forwarded to the MobileAlerts Server http://www.data199.com/gateway/put .
  • +
  • allowfrom
    + Sets from which hosts (gateways) IPs inputs are accepted. If not set all private IPs are allowed. +
  • @@ -826,6 +829,9 @@ sub MOBILEALERTSGW_DecodeUDP($$$) {
  • forward
    Wenn dieser Wert auf 1 gesetzt ist, werden die Daten zusätzlich zum MobileAlerts Server http://www.data199.com/gateway/put gesendet.
  • +
  • allowfrom
    + Gibt an von welchens Host-(Gateways) IPs eingaben angenommen werden. Wenn nicht gesetzt, sind alle privaten IP-Adressen erlaubt. +