2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

50_MOBILEALERTSGW: attribut allowfrom added

git-svn-id: https://svn.fhem.de/fhem/trunk@18814 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
MarkusF 2019-03-07 04:10:21 +00:00
parent eab060e9af
commit ee52b6a38c
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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($$$) {
<li>forward<br>
If value 1 is set, the data will be forwarded to the MobileAlerts Server http://www.data199.com/gateway/put .
</li>
<li>allowfrom<br>
Sets from which hosts (gateways) IPs inputs are accepted. If not set all private IPs are allowed.
</li>
</ul>
</ul>
@ -826,6 +829,9 @@ sub MOBILEALERTSGW_DecodeUDP($$$) {
<li>forward<br>
Wenn dieser Wert auf 1 gesetzt ist, werden die Daten zus&auml;tzlich zum MobileAlerts Server http://www.data199.com/gateway/put gesendet.
</li>
<li>allowfrom<br>
Gibt an von welchens Host-(Gateways) IPs eingaben angenommen werden. Wenn nicht gesetzt, sind alle privaten IP-Adressen erlaubt.
</li>
</ul>
</ul>